5215 |
// |
// |
5216 |
// replicate processinginfo tree |
// replicate processinginfo tree |
5217 |
// |
// |
5218 |
if ( PROC ){ // EMEMEM |
if ( PROC ){ // EMEMEM |
5219 |
proc_tree_clone = new TTree("ProcessingInfo","Log of data processing"); |
proc_tree_clone = new TTree("ProcessingInfo","Log of data processing"); |
5220 |
proc_tree_clone->Branch("ProcInfo", "ProcInfo", GetPointerTo("ProcInfo")); |
proc_tree_clone->Branch("ProcInfo", "ProcInfo", GetPointerTo("ProcInfo")); |
5221 |
cout << "ProcessingInfo: branch ProcessingInfo" << endl; |
cout << "ProcessingInfo: branch ProcessingInfo" << endl; |
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"); |
|
cout << "|||s "<<endl; |
|
5241 |
// proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB()); |
// proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB()); |
5242 |
proc_obj->DB = ""; |
proc_obj->DB = ""; |
|
cout << "||| "<<endl; |
|
5243 |
proc_tree_clone->Fill(); |
proc_tree_clone->Fill(); |
5244 |
} |
} |
5245 |
cout << "----------------------------------------------------" << endl; |
cout << "----------------------------------------------------" << endl; |