Changeset 17734
- Timestamp:
- 04/29/14 19:45:34 (11 years ago)
- Location:
- trunk/Mars/msimcamera
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msimcamera/MSimCalibrationSignal.cc
r9578 r17734 246 246 247 247 // Set trigger pattern according to the trigger type 248 const UInt_t p = fRunHeader->IsCalibrationRun() ? MTriggerPattern::kCalibration : MTriggerPattern::kPedestal; 248 const UInt_t p = fRunHeader->IsCalibrationRun() ? 0x100 : 0x400; 249 //const UInt_t p = fRunHeader->IsCalibrationRun() ? MTriggerPattern::kCalibration : MTriggerPattern::kPedestal; 249 250 fEvtHeader->SetTriggerPattern(~(p | (p<<8))); 250 251 fEvtHeader->SetCalibrationPattern(0/*BIT(16)<<16*/); // CT1 Pulser, see MCalibrationPatternDecode -
trunk/Mars/msimcamera/MSimTrigger.cc
r17682 r17734 477 477 fTrigger->SetReadyToSave(); 478 478 479 // Trigger pattern to be set480 // FIXME: Make flexible481 const UInt_t pat = (UInt_t)~(MTriggerPattern::kTriggerLvl1 | (MTriggerPattern::kTriggerLvl1<<8));482 483 479 // Flag this event as triggered by the lvl1 trigger (FIXME?) 484 fEvtHeader->SetTriggerPattern(pos<0 ? 0 : pat);480 fEvtHeader->SetTriggerPattern(pos<0 ? 0 : 4); 485 481 fEvtHeader->SetNumTrigLvl1((UInt_t)idx); 486 482 fEvtHeader->SetReadyToSave();
Note:
See TracChangeset
for help on using the changeset viewer.