Changeset 12007
- Timestamp:
- 09/07/11 14:48:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.h
r11930 r12007 117 117 enum TriggerType 118 118 { 119 kLPext = 0x001, 120 kLPint = 0x002, 121 kPedestal = 0x004, 122 kLPset = 0x078, 123 kTIM = 0x080, 124 kExt1 = 0x100, 125 kExt2 = 0x200, 119 kLPext = 0x0100, 120 kLPint = 0x0200, 121 kPedestal = 0x0400, 122 kLPset = 0x7800, 123 kTIM = 0x8000, 124 125 kExt1 = 0x0001, 126 kExt2 = 0x0002, 126 127 kAll = kLPext|kLPint|kTIM|kPedestal|kExt1|kExt2 127 128 }; … … 322 323 bool IsInSock17Mode() const { return fStatus&kSock17; } 323 324 324 int GetTriggerLogic() const { return fTriggerType>>10; }325 int GetTriggerLogic() const { return (fTriggerType>>8)0x3f; } 325 326 bool HasTriggerExt1() const { return fTriggerType&kExt1; } 326 327 bool HasTriggerExt2() const { return fTriggerType&kExt2; } … … 329 330 bool HasTriggerLPint() const { return fTriggerType&kLPint; } 330 331 bool IsTriggerPhys() const { return !(fTriggerType&kAll); } 331 int GetTriggerLPset() const { return (fTriggerType&kLPset)>> 3; }332 int GetTriggerLPset() const { return (fTriggerType&kLPset)>>11; } 332 333 333 334 uint16_t Crate() const { return fBoardId>>8; }
Note:
See TracChangeset
for help on using the changeset viewer.