Changeset 1528 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 09/17/02 11:50:21 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r1525 r1528 84 84 #include "MParList.h" 85 85 #include "MTaskList.h" 86 #ifdef __MARS__ 87 #include "MReadTree.h" // for setting progress bar 88 #endif 86 89 87 90 ClassImp(MEvtLoop); … … 190 193 *fLog << " events)..." << flush; 191 194 192 if (fProgress && maxcnt>0) 193 fProgress->SetRange(0, maxcnt); 195 if (fProgress) 196 { 197 if (maxcnt>0) 198 fProgress->SetRange(0, maxcnt); 199 #ifdef __MARS__ 200 else 201 { 202 MReadTree *read = (MReadTree*)fTaskList->FindObject("MReadTree"); 203 if (!read) 204 read = (MReadTree*)fTaskList->FindObject("MReadMarsFile"); 205 if (read) 206 fProgress->SetRange(0, read->GetEntries()); 207 } 208 #endif 209 } 194 210 195 211 Int_t dummy = maxcnt<0 ? 0 : maxcnt; -
trunk/MagicSoft/Mars/mbase/MParList.cc
r1524 r1528 530 530 { 531 531 fContainer->ForEach(MParContainer, Reset)(); 532 532 } 533 533 534 534 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mbase/Makefile
r1492 r1528 20 20 # @endcode 21 21 22 INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc 22 INCLUDES = -I. -I../mraw -I../MRawFormat -I../mmc -I../mfileio 23 23 24 24 # @code
Note:
See TracChangeset
for help on using the changeset viewer.