Changeset 3226 for trunk/MagicSoft/Mars
- Timestamp:
- 02/18/04 15:36:57 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3225 r3226 15 15 * manalysis/MPedestalCam.h 16 16 - Changed order of derivements - seems to be VERY important! 17 18 * mfileio/MReadReports.cc: 19 - skip trees with no entries 20 21 * mgui/MCamEvent.cc: 22 - added a comment 23 24 * mhbase/MFillH.cc: 25 - in case SetupFill returns kFALSE and kCanSkip is set 26 Skip task 27 28 * mraw/MRawFileRead.cc: 29 - don't print warning in case of none executions 17 30 18 31 -
trunk/MagicSoft/Mars/mfileio/MReadReports.cc
r3144 r3226 205 205 } 206 206 207 if (tree->GetEntries()==0) 208 { 209 *fLog << warn << "No events in tree '" << tree->GetName() << "'... skipped." << endl; 210 fTrees->RemoveFromList(tree); 211 continue; 212 } 213 207 214 TString tn(tree->GetTitle()); 208 215 if (tn.IsNull()) -
trunk/MagicSoft/Mars/mgui/MCamEvent.cc
r2440 r3226 31 31 // If GetPixelContent returns kFALSE, it must not touch 'val'. 32 32 // 33 // You can derive a class in addition to TObject from MCamEvent, too. 34 // 35 // MCamEvent MUST be after TObject: 36 // ALLOWED: class MyClass : public TObject, public MCamEvent 37 // FORBIDDEN: class MyClass : public MCamEvent, public TObject 38 // 33 39 ////////////////////////////////////////////////////////////////////////////// 34 40 #include "MCamEvent.h" -
trunk/MagicSoft/Mars/mhbase/MFillH.cc
r3144 r3226 449 449 if (!fH->SetupFill(pList)) 450 450 { 451 *fLog << err << "ERROR - Calling SetupFill for "; 452 *fLog << fH->GetDescriptor() << "... aborting." << endl; 453 return kFALSE; 451 *fLog << (TestBit(kCanSkip) ? warn : err); 452 *fLog << (TestBit(kCanSkip) ? "WARNING" : "ERROR"); 453 *fLog << " Calling SetupFill for " << fH->GetDescriptor() << "..."; 454 *fLog << (TestBit(kCanSkip) ? "skipped." : "aborting."); 455 456 return TestBit(kCanSkip) ? kSKIP : kFALSE; 454 457 } 455 458 -
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r3183 r3226 199 199 // Sanity check for the number of events 200 200 // 201 if (fRawRunHeader->GetNumEvents() == GetNumExecutions()-1)201 if (fRawRunHeader->GetNumEvents()==GetNumExecutions()-1 || GetNumExecutions()==0) 202 202 return kTRUE; 203 203 204 *fLog << warn << "Warning - number of read events (" << GetNumExecutions()-1; 204 *fLog << warn << dec; 205 *fLog << "Warning - number of read events (" << GetNumExecutions()-1; 205 206 *fLog << ") doesn't match number in run header ("; 206 207 *fLog << fRawRunHeader->GetNumEvents() << ")." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.