CbmRoot
CbmStsParSensorCond.h
Go to the documentation of this file.
1 
9 #ifndef CBMSTSPARSENSORCOND_H
10 #define CBMSTSPARSENSORCOND_H 1
11 
12 #include <Rtypes.h> // for THashConsistencyHolder, ClassDefNV
13 #include <RtypesCore.h> // for Double_t, Bool_t, Int_t, kFALSE
14 
15 #include <cassert> // for assert
16 #include <string> // for string
17 
18 
29 
30 public:
33 
34 
42  CbmStsParSensorCond(Double_t vFD,
43  Double_t vBias,
44  Double_t temperature,
45  Double_t cCoupling,
46  Double_t cInterstrip);
47 
48 
51 
52 
55 
56 
59 
60 
64  Double_t GetCcoupling() const { return fCcoupling; }
65 
66 
70  Double_t GetCinterstrip() const { return fCinterstrip; }
71 
72 
78  Double_t GetCrossTalkCoeff() const {
79  assert(fIsInit);
80  return fCrossTalkCoeff;
81  }
82 
83 
89  Double_t GetHallMobility(Double_t eField, Int_t chargeType) const;
90 
91 
95  Double_t GetTemperature() const { return fTemperature; }
96 
97 
101  Double_t GetVbias() const { return fVbias; }
102 
103 
107  Double_t GetVfd() const { return fVfd; }
108 
109 
116  void Init();
117 
118 
121 
122 
125 
126 
134  void SetParams(Double_t vFd,
135  Double_t vBias,
136  Double_t temperature,
137  Double_t cCoupling,
138  Double_t cInterstrip);
139 
140 
142  std::string ToString() const;
143 
144 
145 private:
146  // --- Stored parameters
147  Double_t fVfd = 0.;
148  Double_t fVbias = 0.;
149  Double_t fTemperature = 273.;
150  Double_t fCcoupling = 0.;
151  Double_t fCinterstrip = 0.;
152 
153  // --- Derived parameters
154  Double_t fCrossTalkCoeff = 0.;
155  Double_t fMuLowE = 0.;
156  Double_t fBetaE = 0.;
157  Double_t fVsatE = 0.;
158  Double_t fRhallE = 0.;
159  Double_t fMuLowH = 0.;
160  Double_t fBetaH = 0.;
161  Double_t fVsatH = 0.;
162  Double_t fRhallH = 0.;
163 
164  Bool_t fIsInit = kFALSE;
165 
166 
168 };
169 
170 #endif /* CBMSTSPARSENSORCOND_H */
CbmStsParSensorCond::fCcoupling
Double_t fCcoupling
Coupling capacitance [pF].
Definition: CbmStsParSensorCond.h:150
CbmStsParSensorCond::fBetaE
Double_t fBetaE
Definition: CbmStsParSensorCond.h:156
CbmStsParSensorCond::GetHallMobility
Double_t GetHallMobility(Double_t eField, Int_t chargeType) const
Hall mobility.
Definition: CbmStsParSensorCond.cxx:90
CbmStsParSensorCond::SetParams
void SetParams(Double_t vFd, Double_t vBias, Double_t temperature, Double_t cCoupling, Double_t cInterstrip)
Set the condition parameters.
Definition: CbmStsParSensorCond.cxx:135
CbmStsParSensorCond::fCrossTalkCoeff
Double_t fCrossTalkCoeff
Definition: CbmStsParSensorCond.h:154
CbmStsParSensorCond::fVsatE
Double_t fVsatE
Definition: CbmStsParSensorCond.h:157
CbmStsParSensorCond::GetCinterstrip
Double_t GetCinterstrip() const
Inter-strip capacitance.
Definition: CbmStsParSensorCond.h:70
CbmStsParSensorCond
Parameters for operating conditions of a STS sensor.
Definition: CbmStsParSensorCond.h:28
CbmStsParSensorCond::fMuLowE
Double_t fMuLowE
Cross-talk coefficient.
Definition: CbmStsParSensorCond.h:155
CbmStsParSensorCond::fBetaH
Double_t fBetaH
Definition: CbmStsParSensorCond.h:160
CbmStsParSensorCond::fTemperature
Double_t fTemperature
Temperature [K].
Definition: CbmStsParSensorCond.h:149
CbmStsParSensorCond::CbmStsParSensorCond
CbmStsParSensorCond()
Default constructor.
CbmStsParSensorCond::fVfd
Double_t fVfd
Full depletion voltage [V].
Definition: CbmStsParSensorCond.h:147
CbmStsParSensorCond::operator=
CbmStsParSensorCond & operator=(CbmStsParSensorCond &&)=delete
Move assignment operator (disabled)
CbmStsParSensorCond::fCinterstrip
Double_t fCinterstrip
Inter-strip capacitance [pF].
Definition: CbmStsParSensorCond.h:151
CbmStsParSensorCond::fVbias
Double_t fVbias
Bias voltage [V].
Definition: CbmStsParSensorCond.h:148
CbmStsParSensorCond::ToString
std::string ToString() const
String output.
Definition: CbmStsParSensorCond.cxx:151
CbmStsParSensorCond::~CbmStsParSensorCond
~CbmStsParSensorCond()
Destructor.
Definition: CbmStsParSensorCond.cxx:52
CbmStsParSensorCond::CbmStsParSensorCond
CbmStsParSensorCond(CbmStsParSensorCond &&)=delete
Move constructor (disabled)
CbmStsParSensorCond::fRhallH
Double_t fRhallH
Definition: CbmStsParSensorCond.h:162
CbmStsParSensorCond::GetCcoupling
Double_t GetCcoupling() const
Coupling capacitance.
Definition: CbmStsParSensorCond.h:64
CbmStsParSensorCond::GetCrossTalkCoeff
Double_t GetCrossTalkCoeff() const
Cross-talk coefficient.
Definition: CbmStsParSensorCond.h:78
CbmStsParSensorCond::GetTemperature
Double_t GetTemperature() const
Temperature.
Definition: CbmStsParSensorCond.h:95
CbmStsParSensorCond::Init
void Init()
Calculate the derived parameters.
Definition: CbmStsParSensorCond.cxx:57
CbmStsParSensorCond::fVsatH
Double_t fVsatH
Definition: CbmStsParSensorCond.h:161
CbmStsParSensorCond::GetVbias
Double_t GetVbias() const
Bias voltage.
Definition: CbmStsParSensorCond.h:101
CbmStsParSensorCond::ClassDefNV
ClassDefNV(CbmStsParSensorCond, 2)
Initialisation flag.
CbmStsParSensorCond::GetVfd
Double_t GetVfd() const
Definition: CbmStsParSensorCond.h:107
CbmStsParSensorCond::fRhallE
Double_t fRhallE
Definition: CbmStsParSensorCond.h:158
CbmStsParSensorCond::operator=
CbmStsParSensorCond & operator=(const CbmStsParSensorCond &)
Copy assignment operator.
Definition: CbmStsParSensorCond.cxx:123
CbmStsParSensorCond::fMuLowH
Double_t fMuLowH
Definition: CbmStsParSensorCond.h:159
CbmStsParSensorCond::fIsInit
Bool_t fIsInit
Definition: CbmStsParSensorCond.h:164