Changeset 959 for trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc
- Timestamp:
- 10/02/01 14:46:56 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdatacheck/MDumpEvtHeader.cc
r956 r959 24 24 \* ======================================================================== */ 25 25 26 ////////////////////////////////////////////////////////////////////////////// 27 // 28 // MDumpEvtHeader 29 // 30 // Print out some event header information to the screen. This maybe useful 31 // if you are not sure what the events in the file conatins or you 32 // want to check for the contents. 33 // 34 // Input Containers: 35 // MRawEvtHeader, MRawEvtData 36 // 37 // Output Containers: 38 // -/- 39 // 40 ////////////////////////////////////////////////////////////////////////////// 41 26 42 #include "MDumpEvtHeader.h" 27 43 … … 33 49 #include "MRawEvtPixelIter.h" 34 50 35 ClassImp(MDumpEvtHeader) 51 ClassImp(MDumpEvtHeader); 36 52 53 // -------------------------------------------------------------------------- 54 // 55 // Preprocessing of class. Check for the two container which should 56 // get printed by the Process-function: MRawEvtHeader and MRawEvtData. 57 // If one of the two doesn't exist (input containers) stop processing of 58 // data. 59 // 37 60 Bool_t MDumpEvtHeader::PreProcess (MParList *pList) 38 61 { … … 54 77 } 55 78 79 // -------------------------------------------------------------------------- 80 // 81 // Print out information of the actual event (header) and print the 82 // pixel ID's of all pixels in this event. 83 // 56 84 Bool_t MDumpEvtHeader::Process() 57 85 { 58 fRawEvtHeader->Print();86 fRawEvtHeader->Print(); 59 87 60 MRawEvtPixelIter pixel(fRawEvtData);88 MRawEvtPixelIter pixel(fRawEvtData); 61 89 62 while (pixel.Next())63 *fLog << " " << pixel.GetPixelId();90 while (pixel.Next()) 91 *fLog << " " << pixel.GetPixelId(); 64 92 65 *fLog << endl;66 67 return kTRUE;68 } 93 *fLog << endl; 94 95 return kTRUE; 96 }
Note:
See TracChangeset
for help on using the changeset viewer.