/[PAMELA software]/quicklook/trigger/src/TriggerScanBasic.cpp
ViewVC logotype

Diff of /quicklook/trigger/src/TriggerScanBasic.cpp

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

revision 1.8 by campana, Wed Mar 23 17:04:34 2011 UTC revision 1.9 by mocchiut, Fri Jan 17 15:10:48 2014 UTC
# Line 39  Line 39 
39  #include <EventHeader.h>  #include <EventHeader.h>
40  #include <PscuHeader.h>  #include <PscuHeader.h>
41  #include <iostream>  #include <iostream>
42    #include <cstdlib>
43    
44  using namespace std;  using namespace std;
45    
# Line 93  void TriggerScanBasic(TString base, TStr Line 94  void TriggerScanBasic(TString base, TStr
94     while(i < nevents){     while(i < nevents){
95       HeadBr->GetEntry(i);       HeadBr->GetEntry(i);
96       ph = eh->GetPscuHeader();       ph = eh->GetPscuHeader();
97       if((ph->GetOrbitalTime()) <= firstime) firstime=ph->GetOrbitalTime();       if((ULong_t)(ph->GetOrbitalTime()) <= firstime) firstime=ph->GetOrbitalTime();
98       if((ph->GetOrbitalTime()) >= lastime) lastime=ph->GetOrbitalTime();       if((ULong_t)(ph->GetOrbitalTime()) >= lastime) lastime=ph->GetOrbitalTime();
99       i++;       i++;
100       }       }
101        

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23