All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ScintillatorPpdDigi.h
Go to the documentation of this file.
1 #ifndef _ScintillatorPpdDigi_h_
2 #define _ScintillatorPpdDigi_h_
3 
4 /**
5 \addtogroup CaloDigi CaloDigi
6 @{
7 
8 */
9 
11 
12  public:
13 
16 
17  // expected # photoelectrons / MIP
18  void setPEperMIP(float x) {_pe_per_mip=x;}
19 
20  // calibration factor from input hit energy to MIPs
21  void setCalibMIP(float x) {_calib_mip=x;}
22 
23  // #pixels of PPD
24  void setNPix(int x) {_npix=x;}
25 
26  // random miscalibration of total #pixels (as a fraction of pixel number: 0.05 = 5% miscalibration)
28 
29  // spread in pixel capacitance (as a fraction: 0.05 = 5% spread)
30  void setPixSpread(float x) {_pixSpread=x;}
31 
32  // electronics noise (in MIP units)
33  void setElecNoise(float x) {_elecNoise=x;}
34 
35  // electronics dynamic range (in MIP units)
37 
38  float getDigitisedEnergy( float energy );
39 
40  void printParameters();
41 
42  private:
43 
44  float _pe_per_mip{};
45  float _calib_mip{};
46  float _npix{};
47  float _misCalibNpix{};
48  float _pixSpread{};
49  float _elecNoise{};
51 
52 };
53 
54 /** @} */
55 
56 #endif
void setElecRange(float x)
void setPixSpread(float x)
float getDigitisedEnergy(float energy)
void setElecNoise(float x)
void setRandomMisCalibNPix(float x)