Changeset 1528
- Timestamp:
- 09/17/02 11:50:21 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1526 r1528 1 1 -*-*- END -*-*- 2 3 2002/09/16: Thomas Bretz 4 5 * manalysis/MCerPhotPix.cc: 6 - shortened output 7 8 * mbase/MEvtLoop.cc: 9 - added a better progressbar support, if MReadTree or MReadMarsFile 10 exists in the Tasklist 11 12 * mbase/MTaskList.cc: 13 - fixed a bug which caused MParList::Reset not to be called anymore 14 as soon as kCONTINUE was called once. 15 16 * mfileio/MReadTree.[h,cc]: 17 - added AddFiles member function 18 19 * mmain/MProgressBar.[h,cc]: 20 - added as a simple Progress meter for eventloops 21 22 * mmain/Makefile, mmain/MainLinkDef.h: 23 - added MProgressBar 24 25 * manalysis/MHillas.cc: 26 - removed warning in case of no photons. problems with Thomas' files. 27 28 * mbase/Makefile: 29 - added mfileio 30 2 31 3 32 2002/09/16: Thomas Bretz -
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r1524 r1528 261 261 const Float_t nphot = pix.GetNumPhotons(); 262 262 263 if (nphot==0)264 *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl;263 //if (nphot==0) 264 // *fLog << warn << GetDescriptor() << ": Pixel #" << pix.GetPixId() << " has no photons." << endl; 265 265 266 266 fSize += nphot; // [counter] -
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.