/[PAMELA software]/trieste/pamVMC/src/PamRootManager.cxx
ViewVC logotype

Diff of /trieste/pamVMC/src/PamRootManager.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pamelats, Tue Mar 10 11:07:28 2009 UTC revision 1.3 by pizzolot, Tue Mar 24 14:04:05 2009 UTC
# Line 19  PamRootManager::PamRootManager(const cha Line 19  PamRootManager::PamRootManager(const cha
19    }      }  
20    
21        
22    TString fileName = TString(gSystem->Getenv("PWD"))+"/"+projectName;    //TString fileName = TString(gSystem->Getenv("PWD"))+"/"+projectName;
23      TString fileName = projectName;
24    fileName += ".root";    fileName += ".root";
25    
26      //TString treeTitle(projectName);
27    TString treeTitle(projectName);    //treeTitle += " tree";
28    treeTitle += " tree";    TString treeTitle = "pamtest tree";
29      TString treeTitle1 = "pamtest";
30    
31    TTree::SetMaxTreeSize(1000*Long64_t(2000000000));    TTree::SetMaxTreeSize(1000*Long64_t(2000000000));
32    
# Line 36  PamRootManager::PamRootManager(const cha Line 38  PamRootManager::PamRootManager(const cha
38                
39      case kWrite:        case kWrite:  
40        fFile = new TFile(fileName, "recreate");        fFile = new TFile(fileName, "recreate");
41        fTree = new TTree(projectName, treeTitle);        //fTree = new TTree(projectName, treeTitle);
42          fTree = new TTree(treeTitle1, treeTitle);
43        ;;          ;;  
44    }    }
45    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23