Changeset 956 for trunk/MagicSoft/Mars/mdatacheck
- Timestamp:
- 09/28/01 13:36:14 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mdatacheck
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc
r749 r956 28 28 #include "MLog.h" 29 29 #include "MLogManip.h" 30 30 31 #include "MParList.h" 31 32 #include "MRawEvtHeader.h" … … 40 41 { 41 42 *fLog << dbginf << " Error: MRawEvtHeader not found... exit." << endl; 42 return kFALSE 43 return kFALSE; 43 44 } 44 45 … … 47 48 { 48 49 *fLog << dbginf << " Error: MRawEvtData not found... exit." << endl; 49 return kFALSE 50 return kFALSE; 50 51 } 51 52 … … 55 56 Bool_t MDumpEvtHeader::Process() 56 57 { 57 fRawEvtHeader->Print() ;58 fRawEvtHeader->Print(); 58 59 59 MRawEvtPixelIter pixel( fRawEvtData);60 MRawEvtPixelIter pixel(fRawEvtData); 60 61 61 while ( pixel.Next() ) 62 { 63 *fLog << " " << pixel.GetPixelId() ; 64 } 62 while (pixel.Next()) 63 *fLog << " " << pixel.GetPixelId(); 65 64 66 *fLog << endl 65 *fLog << endl; 67 66 68 67 return kTRUE; -
trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.h
r698 r956 14 14 class MParList; 15 15 16 class MDumpEvtHeader : public MTask { 17 private: 18 MRawEvtHeader *fRawEvtHeader; 16 class MDumpEvtHeader : public MTask 17 { 18 private: 19 MRawEvtHeader *fRawEvtHeader; 20 MRawEvtData *fRawEvtData; 19 21 20 MRawEvtData *fRawEvtData; 21 22 public: 23 MDumpEvtHeader () : fRawEvtHeader(NULL) { } ; 22 public: 23 MDumpEvtHeader () : fRawEvtHeader(NULL) { }; 24 24 25 25 Bool_t PreProcess(MParList *pList); 26 Bool_t Process() 26 Bool_t Process(); 27 27 28 28 ClassDef(MDumpEvtHeader, 0) // Class to dump the pixel ids of a raw evt to the screen
Note:
See TracChangeset
for help on using the changeset viewer.