/[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.104 by mocchiut, Fri Oct 17 16:21:50 2014 UTC revision 1.107 by mocchiut, Fri Oct 17 16:25:38 2014 UTC
# Line 5226  void PamLevel2::CreateCloneTrees(TFile * Line 5226  void PamLevel2::CreateCloneTrees(TFile *
5226      //    cout << "irun\t | RUN\t NEVENTS\t absolute time"<<endl;      //    cout << "irun\t | RUN\t NEVENTS\t absolute time"<<endl;
5227      for (Int_t i = 0; i < proc_tree->GetEntries(); i++) {      for (Int_t i = 0; i < proc_tree->GetEntries(); i++) {
5228        proc_tree->GetEntry(i);        proc_tree->GetEntry(i);
5229        cout << i<< "\t | "<<endl;        //      cout << i<< "\t | "<<endl;
5230        proc_tree_clone->Fill();        proc_tree_clone->Fill();
5231      }      }
5232      if ( SELLI != 2 || true ){            if ( SELLI != 2 ){      
       cout << "|| "<<endl;  
5233        proc_obj->runID = 0;        proc_obj->runID = 0;
       cout << "|||d "<<endl;  
5234        TTimeStamp *dt = new TTimeStamp();        TTimeStamp *dt = new TTimeStamp();
5235        proc_obj->date = dt->AsString();        proc_obj->date = dt->AsString();
5236        delete dt;        delete dt;
       cout << "|||f "<<endl;  
5237        proc_obj->commandLine = Form("PamelaLevel2 was called");        proc_obj->commandLine = Form("PamelaLevel2 was called");
       cout << "|||g "<<endl;  
5238        proc_obj->outputFilename = "";        proc_obj->outputFilename = "";
       cout << "|||h "<<endl;  
5239        proc_obj->localDir = gSystem->WorkingDirectory();        proc_obj->localDir = gSystem->WorkingDirectory();
       cout << "|||j "<<endl;  
5240        proc_obj->uname = gSystem->GetFromPipe("uname -a");        proc_obj->uname = gSystem->GetFromPipe("uname -a");
5241        cout << "|||s "<<endl;        //      proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());
5242        proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());        proc_obj->DB = "";
       cout << "||| "<<endl;  
5243        proc_tree_clone->Fill();        proc_tree_clone->Fill();
5244      }      }
5245      cout << "----------------------------------------------------" << endl;      cout << "----------------------------------------------------" << endl;
# Line 5469  void PamLevel2::WriteCloneTrees() { Line 5462  void PamLevel2::WriteCloneTrees() {
5462      };      };
5463    }    }
5464        
5465    if ( PROC && false ){//EMEMEMEM    if ( PROC ){//EMEMEMEM
5466      proc_tree_clone->Write("ProcessingInfo",TObject::kOverwrite);      proc_tree_clone->Write("ProcessingInfo",TObject::kOverwrite);
5467    }    }
5468    cout << "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+" << endl;    cout << "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+" << endl;

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.107

  ViewVC Help
Powered by ViewVC 1.1.23