- Timestamp:
- 10/17/03 20:56:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
r2340 r2393 56 56 57 57 Float_t sig[CAMERA_PIXELS][(Int_t) SLICES_MFADC] ; // the analog signal for pixels 58 Float_t noise[(Int_t) SLICES_MFADC*1001]; 58 Float_t noise[((Int_t) SLICES_MFADC)*1001]; 59 Int_t digital_noise[((Int_t) SLICES_MFADC)*1001]; 59 60 60 61 UChar_t output[CAMERA_PIXELS][FADC_SLICES]; // the analog signal for pixels that is read after a trigger occurs (high gain). 61 62 62 63 UChar_t output_lowgain[CAMERA_PIXELS][FADC_SLICES]; // analog signal, low gain. 63 64 Float_t high2low_gain; 64 65 // 65 66 // first the data for the response function … … 90 91 Float_t fwhmout=MFADC_RESPONSE_FWHM) ; 91 92 93 void SetSeed(UInt_t seed) {GenElec->SetSeed(seed);} 94 92 95 void Reset() ; 93 96 … … 132 135 void ElecNoise(Float_t value=2.0) ; 133 136 137 void SetDigitalNoise(Float_t value=2.0); 138 139 void DigitalNoise() ; 140 134 141 void Scan() ; 135 142 … … 140 147 void GetPedestals( Float_t *offset); 141 148 149 Float_t GetPedestalNoise (Int_t pix, Int_t ishigh); 150 142 151 void TriggeredFadc(Float_t time); 143 152 … … 147 156 148 157 UChar_t GetFadcLowGainSignal(Int_t pixel, Int_t slice); 158 159 void SetHigh2LowGain(Float_t h2l) {high2low_gain=h2l;} 149 160 150 161 Float_t GetAmplitude() { … … 163 174 return fwhm_resp_outer ; 164 175 } 176 177 Bool_t IsPixelUsed(UInt_t p){ 178 return used[p]; 179 } 165 180 166 181 } ;
Note:
See TracChangeset
for help on using the changeset viewer.