FairRoot/PandaRoot
PndLmdAlignPar.h
Go to the documentation of this file.
1 //
2 // C++ Interface: PndLmdAlignPar
3 //
4 #ifndef PNDLMDALIGNPAR_H
5 #define PNDLMDALIGNPAR_H
6 
7 #include <vector>
8 #include <TVector2.h>
9 #include <TString.h>
10 #include <TObjString.h>
11 
12 #include "FairParGenericSet.h"
13 #include "FairParamList.h"
14 
15 using namespace std;
17 class PndLmdAlignPar : public FairParGenericSet
18  {
19  public :
20  PndLmdAlignPar (const char* name="PndLmdAlignPar",
21  const char* title="PndLmd alignment parameter",
22  const char* context="TestDefaultContext");
23  ~PndLmdAlignPar(void){};
24  void clear(void){};
25  void putParams(FairParamList* list);
26  Bool_t getParams(FairParamList* list);
27 
28  void Print();
30  Double_t GetShiftX(int j) const {return fshift_x[j];}
31  Double_t GetShiftY(int j) const {return fshift_y[j];}
32  Double_t GetShiftZ(int j) const {return fshift_z[j];}
33  Double_t GetRotateX(int j) const {return frotate_x[j];}
34  Double_t GetRotateY(int j) const {return frotate_y[j];}
35  Double_t GetRotateZ(int j) const {return frotate_z[j];}
36  Int_t GetNsensors(){return fsensors;}
37  Int_t GetNsides(){return fsides;}
38  Int_t GetNplanes(){return fplanes;}
39  //for pixel design
40  Int_t GetNhalfs(){return fhalfs;}
41  Int_t GetNmodules(){return fmodules;}
42  private:
43  //Planes parameters
44  Int_t fsensors;//Number of sensors per module, 1 side
45  Int_t fsides;//Number of sides per module
46  Int_t fplanes;//Number of planes
47  Int_t fhalfs;
48  Int_t fmodules;//Number of modules per plane half
49  //Sensor parameters
50  vector<double> fshift_x;
51  vector<double> fshift_y;
52  vector<double> fshift_z;
53  vector<double> frotate_x;
54  vector<double> frotate_y;
55  vector<double> frotate_z;
56 
57  ClassDef(PndLmdAlignPar,6);
58  };
59 
60 #endif /* !PNDSDSSTRIPDIGIPAR_H*/
61 
MechFsc Print()
vector< double > fshift_z
Double_t GetRotateZ(int j) const
Double_t GetRotateY(int j) const
vector< double > fshift_x
Alignment Parameter Class for LMD.
Double_t
Double_t GetRotateX(int j) const
vector< double > frotate_y
Int_t GetNplanes()
TString name
vector< double > frotate_x
vector< double > frotate_z
void clear(void)
vector< double > fshift_y
Int_t GetNmodules()
Int_t GetNsensors()
Double_t GetShiftY(int j) const
Double_t GetShiftZ(int j) const
Double_t GetShiftX(int j) const