/[PAMELA software]/PamelaLevel2/src/PamLevel2.cpp
ViewVC logotype

Diff of /PamelaLevel2/src/PamLevel2.cpp

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

revision 1.102 by mocchiut, Fri Oct 17 16:15:06 2014 UTC revision 1.103 by mocchiut, Fri Oct 17 16:18:31 2014 UTC
# Line 5223  void PamLevel2::CreateCloneTrees(TFile * Line 5223  void PamLevel2::CreateCloneTrees(TFile *
5223      //    cout << "irun\t | RUN\t NEVENTS\t absolute time"<<endl;      //    cout << "irun\t | RUN\t NEVENTS\t absolute time"<<endl;
5224      for (Int_t i = 0; i < proc_tree->GetEntries(); i++) {      for (Int_t i = 0; i < proc_tree->GetEntries(); i++) {
5225        proc_tree->GetEntry(i);        proc_tree->GetEntry(i);
5226        //        cout << i<< "\t | "<<GetRunInfo()->ID<<"\t "<<GetRunInfo()->NEVENTS<< "\t "<<GetRunInfo()->RUNHEADER_TIME<<" <---> "<<GetRunInfo()->RUNTRAILER_TIME<<endl;        cout << i<< "\t | "<<endl;
5227        proc_tree_clone->Fill();        proc_tree_clone->Fill();
5228      }      }
5229      if ( SELLI != 2 || true ){            if ( SELLI != 2 || true ){      
5230          cout << "|| "<<endl;
5231        proc_obj->runID = 0;        proc_obj->runID = 0;
5232        TTimeStamp *dt = new TTimeStamp();        TTimeStamp *dt = new TTimeStamp();
5233        proc_obj->date = dt->AsString();        proc_obj->date = dt->AsString();
# Line 5236  void PamLevel2::CreateCloneTrees(TFile * Line 5237  void PamLevel2::CreateCloneTrees(TFile *
5237        proc_obj->localDir = gSystem->WorkingDirectory();        proc_obj->localDir = gSystem->WorkingDirectory();
5238        proc_obj->uname = gSystem->GetFromPipe("uname -a");        proc_obj->uname = gSystem->GetFromPipe("uname -a");
5239        proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());        proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());
5240          cout << "||| "<<endl;
5241        proc_tree_clone->Fill();        proc_tree_clone->Fill();
5242      }      }
5243      cout << "----------------------------------------------------" << endl;      cout << "----------------------------------------------------" << endl;

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.23