Changeset 13379 for trunk/Mars/mtrigger
- Timestamp:
- 04/18/12 12:08:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mtrigger/MTriggerPatternDecode.cc
r9531 r13379 96 96 Int_t MTriggerPatternDecode::Process() 97 97 { 98 if (fRunHeader->GetCameraVersion()==0xfac7) 99 { 100 UInt_t pat = 0; 101 102 if (fEvtHeader->GetTriggerID()&0x4) 103 pat |= MTriggerPattern::kTriggerLvl1; 104 105 if (fEvtHeader->GetTriggerID()&0x400) 106 pat |= MTriggerPattern::kPedestal; 107 108 if (fEvtHeader->GetTriggerID()&0x100) 109 pat |= MTriggerPattern::kCalibration; 110 111 if (fEvtHeader->GetTriggerID()&0x8000) 112 pat |= MTriggerPattern::kSumTrigger; 113 114 fPattern->fPrescaled = pat; 115 fPattern->fUnprescaled = pat; 116 117 return kTRUE; 118 } 119 98 120 if (fRunHeader->GetFormatVersion()<5) 99 121 {
Note:
See TracChangeset
for help on using the changeset viewer.