/[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.105 by mocchiut, Fri Oct 17 16:22:26 2014 UTC revision 1.106 by mocchiut, Fri Oct 17 16:23:37 2014 UTC
# Line 5215  void PamLevel2::CreateCloneTrees(TFile * Line 5215  void PamLevel2::CreateCloneTrees(TFile *
5215    //    //
5216    // replicate processinginfo tree    // replicate processinginfo tree
5217    //    //
5218    if ( PROC && false ){ // 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;  
# Line 5245  void PamLevel2::CreateCloneTrees(TFile * Line 5245  void PamLevel2::CreateCloneTrees(TFile *
5245        cout << "|||j "<<endl;        cout << "|||j "<<endl;
5246        proc_obj->uname = gSystem->GetFromPipe("uname -a");        proc_obj->uname = gSystem->GetFromPipe("uname -a");
5247        cout << "|||s "<<endl;        cout << "|||s "<<endl;
5248        proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());        //      proc_obj->DB = Form("mysql://%s/%s",dbc->GetHost(),dbc->GetDB());
5249          proc_obj->DB = "";
5250        cout << "||| "<<endl;        cout << "||| "<<endl;
5251        proc_tree_clone->Fill();        proc_tree_clone->Fill();
5252      }      }
# Line 5469  void PamLevel2::WriteCloneTrees() { Line 5470  void PamLevel2::WriteCloneTrees() {
5470      };      };
5471    }    }
5472        
5473    if ( PROC && false ){//EMEMEMEM    if ( PROC ){//EMEMEMEM
5474      proc_tree_clone->Write("ProcessingInfo",TObject::kOverwrite);      proc_tree_clone->Write("ProcessingInfo",TObject::kOverwrite);
5475    }    }
5476    cout << "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+" << endl;    cout << "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+" << endl;

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106

  ViewVC Help
Powered by ViewVC 1.1.23