Changeset 716 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 04/02/01 15:08:48 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.h
r654 r716 10 10 class MArrayB; 11 11 class MRawRunHeader; 12 13 // 14 // Trigger Typed (TT) 15 // 16 enum { 17 kTTEvent = 0, 18 kTTPedestal = 1, 19 kTTCalibration = 2 20 }; 12 21 13 22 class MRawEvtHeader : public MParContainer … … 27 36 28 37 // 29 // Informations only needed to read the raw file 38 // Informations only needed to read the raw file correctly 30 39 // 31 40 UShort_t fTrigType; //! Trigger Type of this event -
trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc
r609 r716 15 15 16 16 #include "MLog.h" 17 #include "MLogManip.h" 18 17 19 #include "MParList.h" 18 20 #include "MRawRunHeader.h" … … 142 144 switch (type) 143 145 { 144 case 0:146 case kTTEvent: 145 147 fTData->Fill(); 146 break; 147 case 1: 148 return kTRUE; 149 150 case kTTPedestal: 148 151 fTPedestal->Fill(); 149 break; 150 case 2: 152 return kTRUE; 153 154 case kTTCalibration: 151 155 fTCalibration->Fill(); 152 break;156 return kTRUE; 153 157 } 154 158 155 return kTRUE; 159 *fLog << dbginf << "Got wrong number for the trigger type: " << type; 160 *fLog << " - skipping" << endl; 161 162 return kCONTINUE; 156 163 } 157 164
Note:
See TracChangeset
for help on using the changeset viewer.