FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTutorialDet4MisalignPar.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRTUTORIALDET4MISSALLIGNPAR_H
9 #define FAIRTUTORIALDET4MISSALLIGNPAR_H
10 
11 #include "FairParGenericSet.h" // for FairParGenericSet
12 
13 #include <Rtypes.h> // for ClassDef
14 #include <TArrayD.h> // for TArrayD
15 
16 class FairParamList;
17 
19 {
20  public:
22  const char* name = "FairTutorialDet4MissallignPar",
23  const char* title = "Missalignment parameter for FairTutorialDet4HitProducerIdealMissallign Parameters",
24  const char* context = "TestDefaultContext");
26  void clear(void);
27  void putParams(FairParamList*);
28  Bool_t getParams(FairParamList*);
29 
30  TArrayD GetShiftX() { return fShiftX; }
31  TArrayD GetShiftY() { return fShiftY; }
32  TArrayD GetShiftZ() { return fShiftZ; }
33  TArrayD GetRotX() { return fRotX; }
34  TArrayD GetRotY() { return fRotY; }
35  TArrayD GetRotZ() { return fRotZ; }
36  Int_t GetNrOfDetectors() { return fNrOfDetectors; }
37 
38  private:
39  TArrayD fShiftX; // Array to hold the misalignment in x-direction
40  TArrayD fShiftY; // Array to hold the misalignment in y-direction
41  TArrayD fShiftZ; // Array to hold the misalignment in z-direction
42  TArrayD fRotX; // Array to hold the rotation in x-direction
43  TArrayD fRotY; // Array to hold the rotation in y-direction
44  TArrayD fRotZ; // Array to hold the rotation in z-direction
45  Int_t fNrOfDetectors; // Total number of detectors
46 
49 
50  ClassDef(FairTutorialDet4MisalignPar, 1);
51 };
52 
53 #endif
FairTutorialDet4MisalignPar(const char *name="FairTutorialDet4MissallignPar", const char *title="Missalignment parameter for FairTutorialDet4HitProducerIdealMissallign Parameters", const char *context="TestDefaultContext")