Ignore:
Timestamp:
05/19/08 15:04:36 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtrigger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.cc

    r8787 r8892  
    9696// otherway you will have it.
    9797//
    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 event
    101 // is kicked out. Deny- methods requires that your trigger bit is OFF, otherway
    102 // your event is kicked out. Other bits not selected by your Require- or Deny- call
    103 // are ignored. Let's give an example. You want to select all events that have
    104 // both LT1 and LT2 trigger but which are not calibration neither Pin Diode events.
    105 // You should look at unprescaled bits to be sure
    106 // about which were the initial triggers. Then you can implement in your macro
    107 // 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:
    108108//
    109109//      MFTriggerPattern ftrigpatt;
  • trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.h

    r8787 r8892  
    1212public:
    1313    enum Pattern_t {
    14         kTriggerLvl1 = BIT(0),
    15         kCalibration = BIT(1), // Pulse Trigger
    16         kTriggerLvl2 = BIT(2), // LUT Pseudo Size selection
    17         kPedestal    = BIT(3),
    18         kPinDiode    = BIT(4),
    19         kSumTrigger  = BIT(5)  // Flag for an event taken with sum trigger
     14        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
    2020        //kUnused      = BIT(6)
    2121        //kUnused      = BIT(7)
Note: See TracChangeset for help on using the changeset viewer.