/[PAMELA software]/PamCut/MiscCuts/LTQualCut/LTQualCut.cpp
ViewVC logotype

Diff of /PamCut/MiscCuts/LTQualCut/LTQualCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by pam-fi, Wed May 27 13:30:09 2009 UTC revision 1.2 by pam-fi, Tue Nov 24 14:49:37 2009 UTC
# Line 12  Line 12 
12  int LTQualCut::Check(PamLevel2 *event) {  int LTQualCut::Check(PamLevel2 *event) {
13    // NOTE: run_id is not generally increasing with time.    // NOTE: run_id is not generally increasing with time.
14    
15    if (event->GetRunInfo()->ID != _previousRun) {  //   if (event->GetRunInfo()->ID != _previousRun) {
16      _previousRun = event->GetRunInfo()->ID;  //     _previousRun = event->GetRunInfo()->ID;
17      _LT = -1.;  //     _LT = -1.;
18      return LT_NEWRUN;  //     return LT_NEWRUN;
19    }  //   }
20    
21    _LT = 0.16 * (float) (event->GetTrigLevel2()->dltime[0]); // this gives LT in ms    _LT = 0.16 * (float) (event->GetTrigLevel2()->dltime[0]); // this gives LT in ms
22    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23