Changeset 19622 for trunk/Mars/msimcamera/MSimCamera.cc
- Timestamp:
- 09/04/19 16:38:03 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msimcamera/MSimCamera.cc
r19621 r19622 246 246 *fLog << inf << "Gain is also applied to the electronic noise." << endl; 247 247 248 // To get the area of one Pulse, I only need to calculate the Integral 249 // of the Pulse Shape, which is stored in fSpline. Because the spline is 250 // normalized to a maximal amplitude of 1.0, I had to multiply it with 251 // the Default gain [ADC-Counts * s] 252 fAreaOfOnePulse = fSpline->Integral() * fDefaultGain; 253 248 254 return kTRUE; 249 255 } … … 364 370 const Double_t crossTalkProb = fCrosstalkCoeffParam->GetVal(); 365 371 366 // To get the area of one Pulse, I only need to calculate the Integral367 // of the Pulse Shape, which is stored in fSpline. Because the spline is368 // normalized to a maximal amplitude of 1.0, I had to multiply it with369 // the Default gain [ADC-Counts * s]370 const Double_t areaOfOnePulse = fSpline->Integral() * fDefaultGain;371 372 372 // The sampling rate I get from the RunHeader: 373 373 const Double_t samplingRate = fRunHeader->GetFreqSampling(); // [slices * MHz] … … 375 375 const Double_t accouplingPerSlice = currentAccidentalPhotonRate 376 376 * (1 + crossTalkProb + fACFudgeFactor) 377 * areaOfOnePulse / samplingRate;377 * fAreaOfOnePulse / samplingRate; 378 378 379 379 // The accoupling is substracted from the timeline by decreasing the
Note:
See TracChangeset
for help on using the changeset viewer.