Changeset 2986
- Timestamp:
- 01/30/04 15:02:21 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
r2393 r2986 67 67 // 68 68 Float_t fwhm_resp ; // fwhm of the phe_response function (in ns) 69 Float_t ampl_resp ; // area below curve of the phe_response function (in counts * ns)69 Float_t integ_resp ; // area below curve of the phe_response function (in counts * ns) 70 70 Float_t sing_resp[ RESPONSE_SLICES_MFADC ] ; // the shape of the phe_response function 71 71 … … 74 74 // 75 75 Float_t fwhm_resp_outer ; // fwhm of the phe_response function (in ns) 76 Float_t ampl_resp_outer ; // area below curve of the phe_response function (in counts * ns)76 Float_t integ_resp_outer ; // area below curve of the phe_response function (in counts * ns) 77 77 Float_t sing_resp_outer[ RESPONSE_SLICES_MFADC ] ; // the shape of the phe_response function 78 78 // … … 82 82 TRandom *GenElec ; 83 83 84 Float_t fadc_time_offset; // Time offset to adjust the delay between trigger 85 // and the peak position in the FADC of the signal 86 // in the trigger pixels. 87 84 88 85 89 public: 86 90 87 91 MFadc(Int_t pix=577, 88 Float_t ampl=MFADC_RESPONSE_ AMPLITUDE,92 Float_t ampl=MFADC_RESPONSE_INTEGRAL, 89 93 Float_t fwhm=MFADC_RESPONSE_FWHM, 90 Float_t amplout=MFADC_RESPONSE_AMPLITUDE, 91 Float_t fwhmout=MFADC_RESPONSE_FWHM) ; 94 Float_t amplout=MFADC_RESPONSE_INTEGRAL, 95 Float_t fwhmout=MFADC_RESPONSE_FWHM, 96 Float_t trig_delay=0.) ; 92 97 93 98 void SetSeed(UInt_t seed) {GenElec->SetSeed(seed);} … … 113 118 } 114 119 115 void Set Ampl( Float_t ampl){116 ampl_resp=ampl;120 void SetInteg( Float_t x){ 121 integ_resp=x; 117 122 } 118 123 … … 121 126 } 122 127 123 void Set AmplOuter( Float_t ampl){124 ampl_resp_outer=ampl;128 void SetIntegOuter( Float_t x){ 129 integ_resp_outer=x; 125 130 } 126 131 … … 159 164 void SetHigh2LowGain(Float_t h2l) {high2low_gain=h2l;} 160 165 161 Float_t Get Amplitude() {162 return ampl_resp ;166 Float_t GetIntegral() { 167 return integ_resp ; 163 168 } 164 169 … … 167 172 } 168 173 169 Float_t Get AmplitudeOuter() {170 return ampl_resp_outer ;174 Float_t GetIntegralOuter() { 175 return integ_resp_outer ; 171 176 } 172 177
Note:
See TracChangeset
for help on using the changeset viewer.