Changeset 4261
- Timestamp:
- 06/01/04 23:35:51 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r4260 r4261 144 144 // pixel in the MArrivalTimeCam container. 145 145 // Calculate the integral of the FADC time slices and store them as a new 146 // pixel in the MExtractedSignalCam container. 146 // pixel in the MExtractedSignalCam container. 147 // The functions FindTimeAndChargeHiGain() and FindTimeAndChargeLoGain are 148 // supposed to extract the signal themselves. 147 149 // 148 150 Int_t MExtractTimeAndCharge::Process() … … 182 184 MArrivalTimePix &tix = (*fArrTime)[pixid]; 183 185 184 const Float_t pedes = ped.GetPedestal(); 185 const Float_t pedrms = ped.GetPedestalRms(); 186 187 pix.SetExtractedSignal(sumhi - pedes*fNumHiGainSamples, pedrms*fSqrtHiGainSamples, 188 sumlo - pedes*fNumLoGainSamples, pedrms*fSqrtLoGainSamples); 189 186 pix.SetExtractedSignal(sumhi, deltasumhi,sumlo, deltasumlo); 190 187 pix.SetGainSaturation(sathi, sathi, satlo); 191 188
Note:
See TracChangeset
for help on using the changeset viewer.