Changeset 8892 for trunk/MagicSoft/Mars/mtrigger
- Timestamp:
- 05/19/08 15:04:36 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mtrigger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.cc
r8787 r8892 96 96 // otherway you will have it. 97 97 // 98 // To select events by the trigger pattern you should use MFTriggerPattern filter.99 // This filter uses Require- and Deny- methods to select your trigger pattern.100 // Require- methods requires that your trigger bit is ON, otherway the event101 // is kicked out. Deny- methods requires that your trigger bit is OFF, otherway102 // your event is kicked out. Other bits not selected by your Require- or Deny- call103 // are ignored. Let's give an example. You want to select all events that have104 // both LT1 and LT2 trigger but which are not calibration neither Pin Diode events.105 // You should look at unprescaled bits to be sure106 // about which were the initial triggers. Then you can implement in your macro107 // something like:98 // To select events by the trigger pattern you should use MFTriggerPattern 99 // filter. This filter uses Require- and Deny- methods to select your 100 // trigger pattern. Require- methods requires that your trigger bit is ON, 101 // otherway the event is kicked out. Deny- methods requires that your 102 // trigger bit is OFF, otherway your event is kicked out. Other bits not 103 // selected by your Require- or Deny- call are ignored. Let's give an 104 // example. You want to select all events that have both LT1 and LT2 105 // trigger but which are not calibration neither Pin Diode events. You 106 // should look at unprescaled bits to be sure about which were the initial 107 // triggers. Then you can implement in your macro something like: 108 108 // 109 109 // MFTriggerPattern ftrigpatt; -
trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.h
r8787 r8892 12 12 public: 13 13 enum Pattern_t { 14 kTriggerLvl1 = BIT(0), 15 kCalibration = BIT(1), // Pulse Trigger16 kTriggerLvl2 = BIT(2), // LUT Pseudo Size selection17 kPedestal = BIT(3), 18 kPinDiode = BIT(4), 19 kSumTrigger = BIT(5) // Flag for an event taken with sum trigger14 kTriggerLvl1 = BIT(0), // 1: 15 kCalibration = BIT(1), // 2: Pulse Trigger 16 kTriggerLvl2 = BIT(2), // 4: LUT Pseudo Size selection 17 kPedestal = BIT(3), // 8: 18 kPinDiode = BIT(4), // 16: 19 kSumTrigger = BIT(5) // 32: Flag for an event taken with sum trigger 20 20 //kUnused = BIT(6) 21 21 //kUnused = BIT(7)
Note:
See TracChangeset
for help on using the changeset viewer.