Changeset 17148 for trunk/Mars/mraw
- Timestamp:
- 09/09/13 12:39:18 (11 years ago)
- Location:
- trunk/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars
-
Property svn:mergeinfo
set to
/branches/Mars_MC merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Mars/mraw/MRawEvtData.cc
r11870 r17148 114 114 // 115 115 MRawEvtData::MRawEvtData(const char *name, const char *title) 116 : fRunHeader(0), fNumBytesPerSample(1), f IsSigned(false)116 : fRunHeader(0), fNumBytesPerSample(1), fTriggerType(0), fIsSigned(false) 117 117 { 118 118 fName = name ? name : "MRawEvtData"; … … 359 359 360 360 fNumBytesPerSample = fRunHeader ? fRunHeader->GetNumBytesPerSample() : 1; 361 362 363 if (fRunHeader == 0) 364 { 365 fTriggerType = 0x0000; 366 } 367 else 368 { 369 switch(fRunHeader->GetRunType()) 370 { 371 case MRawRunHeader::kRTMonteCarlo|MRawRunHeader::kRTData: 372 fTriggerType = 0x0004; break; 373 case MRawRunHeader::kRTMonteCarlo|MRawRunHeader::kRTPedestal: 374 fTriggerType = 0x0400; break; 375 case MRawRunHeader::kRTMonteCarlo|MRawRunHeader::kRTCalibration: 376 fTriggerType = 0x0164; break; 377 default: 378 fTriggerType = 0x0000; break; 379 } 380 } 361 381 362 382 fHiGainPixId = new MArrayS(numconnected); -
trunk/Mars/mraw/MRawEvtData.h
r14870 r17148 12 12 //class ifstream; 13 13 #include <iosfwd> 14 #include <stdint.h> 14 15 15 16 class MRawRunHeader; … … 36 37 37 38 MArrayB *fABFlags; //-> A information about the exact trigger position 38 MArrayS *fStartCells; // 39 MArrayS *fStartCells; // {fits: unit=uint16 ; name=StartCellData } 40 41 UShort_t fTriggerType; // {fits: unit=uint16 ; name=TriggerType } 39 42 40 43 UShort_t fNumBytesPerSample; -
trunk/Mars/mraw/MRawEvtHeader.h
r14792 r17148 53 53 MTime *fTime; //! object to store the time in (ReadEvt) 54 54 55 UInt_t fDAQEvtNumber; // Number of Event [fits: name=EventNum]55 UInt_t fDAQEvtNumber; // Number of Event {fits: name=EventNum ; unit=uint32} 56 56 57 57 UInt_t fNumTrigLvl1; // Number of 1st level tiggers between 2 events
Note:
See TracChangeset
for help on using the changeset viewer.