CMS 3D CMS Logo

HcalTDCParameters.h
Go to the documentation of this file.
1 #ifndef HcalSimAlgos_HcalTDCParameters_h
2 #define HcalSimAlgos_HcalTDCParameters_h
3 
5 public:
7 
8  int nbits() const { return nbits_; }
9  int nbins() const { return nbins_; }
10  float deltaT() const { return 25. / nbins(); }
11 
12  int alreadyTransitionCode() const { return 62; }
13  int noTransitionCode() const { return 63; }
14  int unlockedCode() const { return 61; }
15 
16 private:
17  int nbits_;
18  int nbins_;
19 };
20 
21 #endif
HcalTDCParameters::nbits_
int nbits_
Definition: HcalTDCParameters.h:17
HcalTDCParameters::deltaT
float deltaT() const
Definition: HcalTDCParameters.h:10
HcalTDCParameters::alreadyTransitionCode
int alreadyTransitionCode() const
Definition: HcalTDCParameters.h:12
HcalTDCParameters
Definition: HcalTDCParameters.h:4
HcalTDCParameters::nbits
int nbits() const
Definition: HcalTDCParameters.h:8
HcalTDCParameters::HcalTDCParameters
HcalTDCParameters()
Definition: HcalTDCParameters.h:6
HcalTDCParameters::nbins_
int nbins_
Definition: HcalTDCParameters.h:18
HcalTDCParameters::unlockedCode
int unlockedCode() const
Definition: HcalTDCParameters.h:14
HcalTDCParameters::nbins
int nbins() const
Definition: HcalTDCParameters.h:9
HcalTDCParameters::noTransitionCode
int noTransitionCode() const
Definition: HcalTDCParameters.h:13