Changeset 752 for trunk/MagicSoft/Mars/mbase/MReadTree.cc
- Timestamp:
- 04/18/01 14:36:05 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r749 r752 53 53 ClassImp(MReadTree) 54 54 55 // -------------------------------------------------------------------------- 55 56 MReadTree::MReadTree(const char *tname, const char *fname, 56 57 const char *name, const char *title) … … 68 69 } 69 70 71 // -------------------------------------------------------------------------- 70 72 MReadTree::~MReadTree() 71 73 { … … 73 75 } 74 76 77 // -------------------------------------------------------------------------- 75 78 /*Int_t*/ void MReadTree::AddFile(const char *fname) 76 79 { … … 84 87 } 85 88 89 // -------------------------------------------------------------------------- 90 // 91 // open file and check if file is really open 92 // 86 93 Bool_t MReadTree::PreProcess (MParList *pList) 87 94 { 88 //89 // open file and check if file is really open90 //91 92 95 // 93 96 // get number of events in this tree … … 154 157 } 155 158 159 // -------------------------------------------------------------------------- 156 160 Bool_t MReadTree::Process() 157 161 { … … 172 176 } 173 177 178 // -------------------------------------------------------------------------- 179 // 180 // Close File 181 // 174 182 Bool_t MReadTree::PostProcess() 175 183 { 176 //177 // Close File178 //179 184 //fFile->Close(); 180 185 … … 182 187 } 183 188 189 // -------------------------------------------------------------------------- 190 // 191 // Get the Event with the current EventNumber fNumEntry 192 // 184 193 Bool_t MReadTree::GetEvent() 185 194 { 186 //187 // Get the Event with the current EventNumber fNumEntry188 //189 195 fChain->GetEntry(fNumEntry); 190 196 … … 192 198 } 193 199 200 // -------------------------------------------------------------------------- 201 // 202 // Decrease the number of the event which is read by Process() next 203 // by one or more 204 // 194 205 Bool_t MReadTree::DecEventNum(UInt_t dec) 195 206 { 196 //197 // Decrease the number of the event which is read by Process() next198 // by one or more199 //200 201 207 //! 202 208 //! this function makes Process() read the event one (or more) before … … 213 219 } 214 220 221 // -------------------------------------------------------------------------- 222 // 223 // Increase the number of the event which is read by Process() next 224 // by one or more 225 // 215 226 Bool_t MReadTree::IncEventNum(UInt_t inc) 216 227 { 217 //218 // Increase the number of the event which is read by Process() next219 // by one or more220 //221 222 228 //! 223 229 //! this function makes Process() read the next (or more) after … … 236 242 } 237 243 244 // -------------------------------------------------------------------------- 245 // 246 // this function makes Process() read event number nr next 247 // 238 248 Bool_t MReadTree::SetEventNum(UInt_t nr) 239 249 { 240 //241 // this function makes Process() read event number nr next242 //243 250 if (nr>=fNumEntries) 244 251 {
Note:
See TracChangeset
for help on using the changeset viewer.