/[PAMELA software]/DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/src/OrbitalInfoCore.cpp

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

revision 1.5 by mocchiut, Tue Sep 5 14:49:45 2006 UTC revision 1.6 by mocchiut, Thu Jan 11 14:33:44 2007 UTC
# Line 85  int OrbitalInfoCore(UInt_t run, TFile *f Line 85  int OrbitalInfoCore(UInt_t run, TFile *f
85    //    //
86    // variables needed to reprocess data    // variables needed to reprocess data
87    //    //
88      Long64_t maxsize = 10000000000LL;  
89      TTree::SetMaxTreeSize(maxsize);
90      //
91    TString OrbitalInfoversion;    TString OrbitalInfoversion;
92    ItoRunInfo *runinfo = 0;    ItoRunInfo *runinfo = 0;
93    TArrayI *runlist = 0;    TArrayI *runlist = 0;
# Line 229  int OrbitalInfoCore(UInt_t run, TFile *f Line 232  int OrbitalInfoCore(UInt_t run, TFile *f
232      //      //
233      // tree exists, we are reprocessing data. Are we reprocessing a single run or all the file?      // tree exists, we are reprocessing data. Are we reprocessing a single run or all the file?
234      //      //
235        OrbitalInfotrclone->SetAutoSave(900000000000000LL);
236      reproc = true;      reproc = true;
237      //      //
238      //      //
# Line 272  int OrbitalInfoCore(UInt_t run, TFile *f Line 276  int OrbitalInfoCore(UInt_t run, TFile *f
276    //    //
277    file->cd();    file->cd();
278    OrbitalInfotr = new TTree("OrbitalInfo-new","PAMELA OrbitalInfo data");    OrbitalInfotr = new TTree("OrbitalInfo-new","PAMELA OrbitalInfo data");
279      OrbitalInfotr->SetAutoSave(900000000000000LL);
280    OrbitalInfotr->Branch("OrbitalInfo","OrbitalInfo",&orbitalinfo);    OrbitalInfotr->Branch("OrbitalInfo","OrbitalInfo",&orbitalinfo);
281    //    //
282    if ( reproc && !reprocall ){    if ( reproc && !reprocall ){
# Line 280  int OrbitalInfoCore(UInt_t run, TFile *f Line 285  int OrbitalInfoCore(UInt_t run, TFile *f
285      //      //
286      tempfile = new TFile(tempname.str().c_str(),"READ");      tempfile = new TFile(tempname.str().c_str(),"READ");
287      OrbitalInfotrclone = (TTree*)tempfile->Get("OrbitalInfo-old");      OrbitalInfotrclone = (TTree*)tempfile->Get("OrbitalInfo-old");
288        OrbitalInfotrclone->SetAutoSave(900000000000000LL);
289      OrbitalInfotrclone->SetBranchAddress("OrbitalInfo",&orbitalinfoclone);      OrbitalInfotrclone->SetBranchAddress("OrbitalInfo",&orbitalinfoclone);
290      //            //      
291      if ( nobefrun > 0 ){      if ( nobefrun > 0 ){

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

  ViewVC Help
Powered by ViewVC 1.1.23