"MarlinReco"  1.32.0
ScintillatorPpdDigi.h
1 #ifndef _ScintillatorPpdDigi_h_
2 #define _ScintillatorPpdDigi_h_
3 
5 
6  public:
7 
10 
11  // expected # photoelectrons / MIP
12  void setPEperMIP(float x) {_pe_per_mip=x;}
13 
14  // calibration factor from input hit energy to MIPs
15  void setCalibMIP(float x) {_calib_mip=x;}
16 
17  // #pixels of PPD
18  void setNPix(int x) {_npix=x;}
19 
20  // random miscalibration of total #pixels (as a fraction of pixel number: 0.05 = 5% miscalibration)
21  void setRandomMisCalibNPix(float x) {_misCalibNpix=x;}
22 
23  // spread in pixel capacitance (as a fraction: 0.05 = 5% spread)
24  void setPixSpread(float x) {_pixSpread=x;}
25 
26  // electronics noise (in MIP units)
27  void setElecNoise(float x) {_elecNoise=x;}
28 
29  // electronics dynamic range (in MIP units)
30  void setElecRange(float x) {_elecMaxDynRange_MIP=x;}
31 
32  float getDigitisedEnergy( float energy );
33 
34  void printParameters();
35 
36  private:
37 
38  float _pe_per_mip{};
39  float _calib_mip{};
40  float _npix{};
41  float _misCalibNpix{};
42  float _pixSpread{};
43  float _elecNoise{};
44  float _elecMaxDynRange_MIP{};
45 
46 };
47 
48 #endif
Definition: ScintillatorPpdDigi.h:4