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  public:
19  PndLmdAlignPar(const char *name = "PndLmdAlignPar", const char *title = "PndLmd alignment parameter", const char *context = "TestDefaultContext");
20  ~PndLmdAlignPar(void){};
21  void clear(void){};
22  void putParams(FairParamList *list);
23  Bool_t getParams(FairParamList *list);
24 
25  void Print();
27  Double_t GetShiftX(int j) const { return fshift_x[j]; }
28  Double_t GetShiftY(int j) const { return fshift_y[j]; }
29  Double_t GetShiftZ(int j) const { return fshift_z[j]; }
30  Double_t GetRotateX(int j) const { return frotate_x[j]; }
31  Double_t GetRotateY(int j) const { return frotate_y[j]; }
32  Double_t GetRotateZ(int j) const { return frotate_z[j]; }
33  Int_t GetNsensors() { return fsensors; }
34  Int_t GetNsides() { return fsides; }
35  Int_t GetNplanes() { return fplanes; }
36  // for pixel design
37  Int_t GetNhalfs() { return fhalfs; }
38  Int_t GetNmodules() { return fmodules; }
39 
40  private:
41  // Planes parameters
42  Int_t fsensors; // Number of sensors per module, 1 side
43  Int_t fsides; // Number of sides per module
44  Int_t fplanes; // Number of planes
45  Int_t fhalfs;
46  Int_t fmodules; // Number of modules per plane half
47  // Sensor parameters
48  vector<double> fshift_x;
49  vector<double> fshift_y;
50  vector<double> fshift_z;
51  vector<double> frotate_x;
52  vector<double> frotate_y;
53  vector<double> frotate_z;
54 
55  ClassDef(PndLmdAlignPar, 6);
56 };
57 
58 #endif /* !PNDSDSSTRIPDIGIPAR_H*/
Double_t GetShiftZ(int j) const
Double_t GetShiftY(int j) const
STL namespace.
Double_t GetShiftX(int j) const
Double_t GetRotateX(int j) const
Alignment Parameter Class for LMD.
Int_t GetNplanes()
Double_t GetRotateZ(int j) const
Double_t GetRotateY(int j) const
void clear(void)
Int_t GetNmodules()
Int_t GetNsensors()