/[PAMELA software]/quicklook/QLflightTmtc_Header/HeaderScan.cpp
ViewVC logotype

Diff of /quicklook/QLflightTmtc_Header/HeaderScan.cpp

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

revision 1.6 by pam-rm2, Wed Aug 9 09:01:23 2006 UTC revision 1.7 by pam-rm2, Thu Aug 10 09:21:06 2006 UTC
# Line 90  void HeaderScan(TString base, TString ou Line 90  void HeaderScan(TString base, TString ou
90    
91    //------------------- Variables initilization -------------------------//    //------------------- Variables initilization -------------------------//
92    Long64_t nevents=0;    Long64_t nevents=0;
93    ULong_t lastime, firstime, primotempo, ultimotempo, primoffset=500000000, ultimoffset=100000000;    ULong_t lastime, firstime, primotempo, ultimotempo, primoffset=500000000, ultimoffset;
94    double obmin=0.;    double obmin=0.;
95    double obmax=0.;    double obmax=0.;
96    stringstream oss, oss1, oss2, oss3, noentries, stringa;    stringstream oss, oss1, oss2, oss3, noentries, stringa;
# Line 303  void HeaderScan(TString base, TString ou Line 303  void HeaderScan(TString base, TString ou
303      TBranch *Br = tr->GetBranch("Header");      TBranch *Br = tr->GetBranch("Header");
304      nevntskey = tr->GetEntries();      nevntskey = tr->GetEntries();
305      m1=0;      m1=0;
306        ev1=0;
307        pag1=0;
308      pag1= (nevntskey/10000)+1;      pag1= (nevntskey/10000)+1;
309   /////ciclo sulle pagine////////////////////   /////ciclo sulle pagine////////////////////
310    for (Int_t interval1=0; interval1<pag1; interval1++){    for (Int_t interval1=0; interval1<pag1; interval1++){
# Line 345  void HeaderScan(TString base, TString ou Line 347  void HeaderScan(TString base, TString ou
347    
348     ev1=ev1+10000;     ev1=ev1+10000;
349    }    }
350    
351    }    }
352    
353        
# Line 459  int main(int argc, char* argv[]){ Line 462  int main(int argc, char* argv[]){
462    }    }
463    HeaderScan(argv[1], outDir, format);    HeaderScan(argv[1], outDir, format);
464  }  }
465    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23