Changeset 963 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 10/16/01 10:42:09 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r949 r963 136 136 // out. 137 137 // 138 Bool_t MReadTree::PreProcess 138 Bool_t MReadTree::PreProcess(MParList *pList) 139 139 { 140 140 // … … 145 145 if (!fNumEntries) 146 146 { 147 *fLog << dbginf << "No Entries found in chain (file/s)." << endl;147 *fLog << dbginf << "No entries found in chain (file/s)." << endl; 148 148 return kFALSE; 149 149 } … … 152 152 // output logging information 153 153 // 154 *fLog << fNumEntries << " Entries found in file(s)." << endl;154 *fLog << fNumEntries << " entries found in file(s)." << endl; 155 155 156 156 // … … 160 160 TIter Next(fChain->GetListOfBranches()); 161 161 TBranch *branch=NULL; 162 162 163 Int_t num=0; 163 164 // 164 165 // loop over all tasks for processing … … 175 176 // 176 177 if (HasVeto(name)) 178 { 179 *fLog << "Branch " << name << " has veto... skipped." << endl; 177 180 continue; 181 } 178 182 179 183 // … … 204 208 // 205 209 fChain->SetBranchAddress(name, pcont); 206 } 210 *fLog << "Branch " << name << " enabled for reading." << endl; 211 212 num++; 213 } 214 215 *fLog << "MReadTree will read " << num << " branches." << endl; 207 216 208 217 return kTRUE; … … 238 247 // Get the Event with the current EventNumber fNumEntry 239 248 // 240 Bool_t MReadTree::GetEvent() 249 Bool_t MReadTree::GetEvent() 241 250 { 242 251 fChain->GetEntry(fNumEntry);
Note:
See TracChangeset
for help on using the changeset viewer.