Changeset 961 for trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
- Timestamp:
- 10/05/01 14:39:20 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r959 r961 46 46 // Afterwards the PostProcess functions are executed. // 47 47 // // 48 // // 49 // Maybe we can add a TProgressMeter sometimes later to be able to show // 50 // the progress graphically... // 51 // // 52 // // 48 53 ////////////////////////////////////////////////////////////////////////////// 49 #include "MEvtLoop.h"50 51 54 #include <iostream.h> 52 55 … … 98 101 // 99 102 // The proprocessing part of the eventloop. Be careful, this is 100 // for developers useonly!103 // for developers or use in special jobs only! 101 104 // 102 105 Bool_t MEvtLoop::PreProcess(const char *tlist) … … 144 147 // 145 148 // The processing part of the eventloop. Be careful, this is 146 // for developers useonly!149 // for developers or use in special jobs only! 147 150 // 148 151 void MEvtLoop::Process(Int_t maxcnt) const … … 200 203 // 201 204 // The postprocessing part of the eventloop. Be careful, this is 202 // for developers useonly!205 // for developers or use in special jobs only! 203 206 // 204 207 Bool_t MEvtLoop::PostProcess() const … … 218 221 Bool_t rc = PreProcess(); 219 222 223 // 224 // If all Tasks were PreProcesses successfully start Processing. 225 // 220 226 if (rc) 221 227 Process(maxcnt); 222 228 229 // 230 // Now postprocess all tasks. Only successfully preprocessed tasks are 231 // postprocessed. If the Postprocessing of one task fail return an error. 232 // 223 233 if (!PostProcess()) 224 234 return kFALSE; 225 235 236 // 237 // If postprocessing of all preprocessed tasks was sucefully return rc. 238 // This gives an error in case the preprocessing has failed already. 239 // Otherwise the eventloop is considered: successfully. 240 // 226 241 return rc; 227 242 }
Note:
See TracChangeset
for help on using the changeset viewer.