Changeset 11890
- Timestamp:
- 08/11/11 21:05:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.h
r11657 r11890 114 114 kBusyOn = 1<< 0, // Busy continously on 115 115 }; 116 117 enum TriggerType 118 { 119 kLPext = 0x001, 120 kLPint = 0x002, 121 kPedestal = 0x004, 122 kLPset = 0x078, 123 kTIM = 0x080, 124 kExt1 = 0x100, 125 kExt2 = 0x200, 126 kAll = kLPext|kLPint|kTIM|kPedestal|kExt1|kExt2 127 }; 116 128 #endif 117 129 // Einmalig: (new header changes entry in array --> send only if array changed) … … 310 322 bool IsInSock17Mode() const { return fStatus&kSock17; } 311 323 324 int GetTriggerLogic() const { return fTriggerType>>10; } 325 bool HasTriggerExt1() const { return fTriggerType&kExt1; } 326 bool HasTriggerExt2() const { return fTriggerType&kExt2; } 327 bool HasTIMsource() const { return fTriggerType&kTIM; } 328 bool HasTriggerLPext() const { return fTriggerType&kLPext; } 329 bool HasTriggerLPint() const { return fTriggerType&kLPint; } 330 bool IsTriggerPhys() const { return !(fTriggerType&kAll); } 331 int GetTriggerLPset() const { return (fTriggerType&kLPset)>>3; } 332 312 333 uint16_t Crate() const { return fBoardId>>8; } 313 334 uint16_t Board() const { return fBoardId&0xff; }
Note:
See TracChangeset
for help on using the changeset viewer.