BmnRoot
Loading...
Searching...
No Matches
CbmStsSensorDigiPar.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsSensorDigiPar header file -----
3// ----- Created 01/07/2008 by R. Karabowicz -----
4// -------------------------------------------------------------------------
5
6
23#ifndef CBMSTSSENSORDIGIPAR_H
24#define CBMSTSSENSORDIGIPAR_H 1
25
26#include "TObject.h"
27
28
29class CbmStsSensorDigiPar : public TObject
30{
31 public:
34
35
38 CbmStsSensorDigiPar(Int_t iSensor, Int_t iType,
39 Double_t x0, Double_t y0,
40 Double_t rotation,
41 Double_t lx, Double_t ly,
42 Double_t dx, Double_t dy,
43 Double_t stereoF, Double_t stereoB);
44 CbmStsSensorDigiPar(Int_t iSensor, Int_t iType,
45 Double_t x0, Double_t y0, Double_t z0,
46 Double_t rotation,
47 Double_t lx, Double_t ly,
48 Double_t d, Double_t dx, Double_t dy,
49 Double_t stereoF, Double_t stereoB);
50
51
54
55
57 Int_t GetSensorNr() const { return fSensorNr; }
58 Int_t GetType() const { return fType; } // 1, 2 or 3
59 Double_t GetX0() const { return fX0; } // [cm]
60 Double_t GetY0() const { return fY0; } // [cm]
61 Double_t GetZ0() const { return fZ0; } // [cm]
62 Double_t GetRotation() const { return fRotation; } // [rad]
63 Double_t GetLx() const { return fLx; } // [cm]
64 Double_t GetLy() const { return fLy; } // [cm]
65 Double_t GetD() const { return fD; }
66 Double_t GetDx() const { return fDx; } // [cm]
67 Double_t GetDy() const { return fDy; } // [cm]
68 Double_t GetStereoF() const { return fStereoF; } // [rad]
69 Double_t GetStereoB() const { return fStereoB; } // [rad]
70 void SetZ0(Double_t z0) { fZ0 = z0; } // [cm]
71 void SetD (Double_t d) { fD = d; } // [cm]
72
73 private:
75 Int_t fSensorNr;
76
81 Int_t fType;
82
84 Double_t fX0;
85
87 Double_t fY0;
88
90 Double_t fZ0;
91
93 Double_t fRotation;
94
96 Double_t fLx;
97
99 Double_t fLy;
100
102 Double_t fDx;
103
105 Double_t fDy;
106
108 Double_t fStereoF;
109
111 Double_t fStereoB;
112
113 Double_t fD; // thickness of the sector [cm]
114
115 ClassDef(CbmStsSensorDigiPar,1);
116
117};
118
119
120#endif
const Float_t d
Z-ccordinate of the first GEM-station.
Definition BmnMwpcHit.cxx:7
const Float_t z0
Definition BmnMwpcHit.cxx:6
void SetZ0(Double_t z0)
Double_t GetRotation() const
virtual ~CbmStsSensorDigiPar()
CbmStsSensorDigiPar(Int_t iSensor, Int_t iType, Double_t x0, Double_t y0, Double_t z0, Double_t rotation, Double_t lx, Double_t ly, Double_t d, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB)
CbmStsSensorDigiPar(Int_t iSensor, Int_t iType, Double_t x0, Double_t y0, Double_t rotation, Double_t lx, Double_t ly, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB)
Double_t GetStereoB() const
Double_t GetStereoF() const