Changeset 19666 for trunk/Mars/msimcamera
- Timestamp:
- 09/23/19 18:20:27 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msimcamera/MSimReadout.cc
r17209 r19666 181 181 182 182 // Get the intended pulse position and convert it to slices 183 const Float_t pulpos = fPulsePos->GetVal() *fRunHeader->GetFreqSampling()/1000.;184 185 // Get trigger position and correct for intended pulse position 186 const Int_t trig = TMath::CeilNint( fTrigger->GetVal()-pulpos);183 const Float_t pulpos = fPulsePos->GetVal(); 184 185 // Get trigger position and correct for intended pulse position (convert from ns to samples) 186 const Int_t trig = TMath::CeilNint((fTrigger->GetVal()-pulpos)*fRunHeader->GetFreqSampling()/1000.); 187 187 188 188 // Check if the position is valid
Note:
See TracChangeset
for help on using the changeset viewer.