628 |
if (strcmp(pamdbpsw, "")) |
if (strcmp(pamdbpsw, "")) |
629 |
psw = pamdbpsw; |
psw = pamdbpsw; |
630 |
|
|
631 |
|
customString = ""; |
632 |
|
|
633 |
// sorted_tracks = 0;//new TRefArray(); |
// sorted_tracks = 0;//new TRefArray(); |
634 |
|
|
635 |
CAL0 = false; |
CAL0 = false; |
5236 |
TTimeStamp *dt = new TTimeStamp(); |
TTimeStamp *dt = new TTimeStamp(); |
5237 |
proc_obj->date = dt->AsString(); |
proc_obj->date = dt->AsString(); |
5238 |
delete dt; |
delete dt; |
5239 |
proc_obj->commandLine = Form("PamelaLevel2 was called"); |
proc_obj->commandLine = Form("PamelaLevel2 was called: CAL2 %i CAL1 %i CAL0 %i TRK2 %i TRK1 %i TRKh %i TRK0 %i TOF %i TOF0 %i TRG %i \n S4 %i ND %i AC %i ORB %i GP %i EXT %i NUC %i RUN %i ISGP %i SELLI %i \n Custom string = %s",CAL2,CAL1,CAL0,TRK2,TRK1,TRKh,TRK0,TOF,TOF0,TRG,S4,ND,AC,ORB,GP,EXT,NUC,RUN,ISGP,SELLI,customString.Data()); |
5240 |
proc_obj->outputFilename = ""; |
proc_obj->outputFilename = ofile->GetName(); |
5241 |
proc_obj->localDir = gSystem->WorkingDirectory(); |
proc_obj->localDir = gSystem->WorkingDirectory(); |
5242 |
proc_obj->uname = gSystem->GetFromPipe("uname -a"); |
proc_obj->uname = gSystem->GetFromPipe("uname -a"); |
5243 |
// proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB()); |
if (!dbc || (dbc && !dbc->IsConnected())) SetDBConnection(); |
5244 |
proc_obj->DB = ""; |
proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB()); |
5245 |
|
dbc->Close(); |
5246 |
proc_tree_clone->Fill(); |
proc_tree_clone->Fill(); |
5247 |
} |
} |
5248 |
cout << "----------------------------------------------------" << endl; |
cout << "----------------------------------------------------" << endl; |