Changeset 1836
- Timestamp:
- 03/19/03 12:39:27 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1835 r1836 16 16 * mhist/MHArray.[h,cc]: 17 17 - added AddHistogram 18 19 * meventdisp/MGEvtDisplay.cc, mfileio/MReadTree.[h,cc], 20 meventdisp/MReadMarsFile.cc: 21 - changed MReadTree::GetEventNum to MReadTree::GetNumEntry 18 22 19 23 -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r1668 r1836 518 518 } 519 519 520 fTxtEvtNr->SetText(Form("%d", GetReader()->Get EventNum()+1));520 fTxtEvtNr->SetText(Form("%d", GetReader()->GetNumEntry()+1)); 521 521 } 522 522 -
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r1668 r1836 137 137 { 138 138 *fLog << err << "ERROR - Cannot read new runheaders #" << idx; 139 *fLog << " after reading event #" << Get EventNum() << endl;139 *fLog << " after reading event #" << GetNumEntry() << endl; 140 140 return kFALSE; 141 141 } … … 143 143 *fLog << inf << "MReadMarsFile: Switching to #" << GetFileIndex(); 144 144 *fLog << " '" << GetFileName() << "' (before event #"; 145 *fLog << Get EventNum()-1 << ")" << endl;145 *fLog << GetNumEntry()-1 << ")" << endl; 146 146 147 147 if (rawheader) -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r1825 r1836 171 171 { 172 172 *fLog << inf << GetDescriptor() << ": Notify '" << fChain->GetName(); 173 *fLog << "' (before processing event #" << Get EventNum()-1 << ")" << endl;173 *fLog << "' (before processing event #" << GetNumEntry()-1 << ")" << endl; 174 174 175 175 //fNotify->Notify(); -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r1668 r1836 54 54 Bool_t SetEventNum(UInt_t nr); // set number of event (position in tree) 55 55 56 UInt_t Get EventNum() const { return fNumEntry; }56 UInt_t GetNumEntry() const { return fNumEntry; } 57 57 UInt_t GetEntries(); 58 58
Note:
See TracChangeset
for help on using the changeset viewer.