Changeset 13660 for fact/tools/rootmacros/PulseTemplates/rootfilehandler.C
- Timestamp:
- 05/11/12 23:16:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/rootfilehandler.C
r13626 r13660 30 30 31 31 TFile* 32 OpenRootFile(32 ChooseRootFileToWrite( 33 33 TString loc_fname, 34 34 int verbosityLevel … … 52 52 return output_rootfile; 53 53 } 54 //end of OpenRootFile54 //end of WriteInRootFile 55 55 //---------------------------------------------------------------------------- 56 56 … … 89 89 90 90 TFile* output_rootfile = NULL; 91 output_rootfile = OpenRootFile( loc_fname, verbosityLevel);91 output_rootfile = ChooseRootFileToWrite( loc_fname, verbosityLevel); 92 92 93 93 if (verbosityLevel > 2) cout << endl … … 121 121 TString 122 122 CreateSubDirName( 123 TString title123 TString title 124 124 ) 125 125 { … … 131 131 //---------------------------------------------------------------------------- 132 132 133 TFile* 134 OpenRootFile( 135 TString path, 136 TString filename, 137 int verbosityLevel 138 ) 139 { 140 if (verbosityLevel > 1) 141 { 142 cout << "...opening root-file: "; 143 } 144 145 path += filename; 146 TFile* file = TFile::Open( path ); 147 148 if (verbosityLevel > 1) 149 { 150 cout << path ; 151 cout << " ...successfull" << endl; 152 } 153 return file; 154 }
Note:
See TracChangeset
for help on using the changeset viewer.