/[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.100 by mocchiut, Fri Oct 17 15:58:09 2014 UTC revision 1.101 by mocchiut, Fri Oct 17 16:04:42 2014 UTC
# Line 1201  void *PamLevel2::GetPointerTo(const char Line 1201  void *PamLevel2::GetPointerTo(const char
1201    if (!objname.CompareTo("SoftInfo"))    if (!objname.CompareTo("SoftInfo"))
1202      return &soft_obj; // Emiliano      return &soft_obj; // Emiliano
1203    
1204    if (!objname.CompareTo("ProcessingInfo")){    if (!objname.CompareTo("ProcInfo")){
1205      if (!proc_obj)      if (!proc_obj)
1206        proc_obj = new ProcInfo();            proc_obj = new ProcInfo();    
1207      return &proc_obj; // Emiliano      return &proc_obj; // Emiliano
# Line 5209  void PamLevel2::CreateCloneTrees(TFile * Line 5209  void PamLevel2::CreateCloneTrees(TFile *
5209      run_tree_clone->Fill();      run_tree_clone->Fill();
5210    }    }
5211    if ( PROC ){    if ( PROC ){
5212      proc_tree_clone->Branch("ProcessingInfo", "ProcInfo", GetPointerTo("ProcessingInfo"));      proc_tree_clone = new TTree("ProcessingInfo","Log of data processing");
5213        proc_tree_clone->Branch("ProcInfo", "ProcInfo", GetPointerTo("ProcInfo"));
5214      cout << "ProcessingInfo: branch ProcessingInfo" << endl;        cout << "ProcessingInfo: branch ProcessingInfo" << endl;  
5215      // ------------------      // ------------------
5216      // replicate processinginfo tree      // replicate processinginfo tree

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101

  ViewVC Help
Powered by ViewVC 1.1.23