/[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.107 by mocchiut, Fri Oct 17 16:25:38 2014 UTC revision 1.108 by emocchiutti, Fri Oct 17 19:55:11 2014 UTC
# Line 628  void PamLevel2::Initialize() { Line 628  void PamLevel2::Initialize() {
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;
# Line 5234  void PamLevel2::CreateCloneTrees(TFile * Line 5236  void PamLevel2::CreateCloneTrees(TFile *
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;

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

  ViewVC Help
Powered by ViewVC 1.1.23