Changeset 1355 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 06/10/02 09:09:13 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadMarsFile.cc
r1342 r1355 63 63 // open the input stream 64 64 // 65 fRun = new MReadTree("RunHeaders", fname );65 fRun = new MReadTree("RunHeaders", fname, "ReadRunHeaders"); 66 66 67 67 // -
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r1344 r1355 193 193 Bool_t MReadTree::Notify() 194 194 { 195 *fLog << inf << "MReadTree: Notify '" << fChain->GetName() << "' ";196 *fLog << " (before processing event #" << GetEventNum()-1 << ")" << endl;195 *fLog << inf << GetDescriptor() << ": Notify '" << fChain->GetName(); 196 *fLog << "' (before processing event #" << GetEventNum()-1 << ")" << endl; 197 197 198 198 //fNotify->Notify(); … … 237 237 return; 238 238 239 *fLog << inf << "Branch choosing method enabled (only enabled branches are read)." << endl;239 *fLog << inf << GetDescriptor() << ": Branch choosing method enabled (only enabled branches are read)." << endl; 240 240 fChain->SetBranchStatus("*", kFALSE); 241 241 fBranchChoosing = kTRUE; … … 341 341 if (!tlist) 342 342 { 343 *fLog << warn << "Cannot use auto enabeling scheme for branches. 'MTaskList' not found." << endl;343 *fLog << warn << GetDescriptor() << "Cannot use auto enabeling scheme for branches. 'MTaskList' not found." << endl; 344 344 return; 345 345 } … … 537 537 } 538 538 539 *fLog << inf << "MReadTreesetup " << num << " master branches addresses." << endl;539 *fLog << inf << GetDescriptor() << " setup " << num << " master branches addresses." << endl; 540 540 541 541 // … … 674 674 if (fNumEntry-dec >= fNumEntries) 675 675 { 676 *fLog << warn << "MReadTree::DecEventNum:WARNING - Event " << fNumEntry << "-";676 *fLog << warn << GetDescriptor() << ": DecEventNum, WARNING - Event " << fNumEntry << "-"; 677 677 *fLog << dec << "=" << (Int_t)fNumEntry-dec << " out of Range." << endl; 678 678 return kFALSE; … … 692 692 if (fNumEntry+inc >= fNumEntries) 693 693 { 694 *fLog << warn << "MReadTree::IncEventNum:WARNING - Event " << fNumEntry << "+";694 *fLog << warn << GetDescriptor() << ": IncEventNum, WARNING - Event " << fNumEntry << "+"; 695 695 *fLog << inc << "=" << (Int_t)fNumEntry+inc << " out of Range." << endl; 696 696 return kFALSE; … … 712 712 if (nr >= fNumEntries) 713 713 { 714 *fLog << warn << "MReadTree::SetEventNum:WARNING - " << nr << " out of Range." << endl;714 *fLog << warn << GetDescriptor() << ": SetEventNum, WARNING - " << nr << " out of Range." << endl; 715 715 return kFALSE; 716 716 }
Note:
See TracChangeset
for help on using the changeset viewer.