An algorithm that compares variables from Psd trigger inputs and fills flags needed for the offline trigger.  
 More...
#include <algorithms/trigger/PsdTriggerComparatorAlgo.h>
An algorithm that compares variables from Psd trigger inputs and fills flags needed for the offline trigger. 
Needed event objects:
| name | type | store | optional | description | 
| psdTriggerInputs | PsdTriggerInputs | evStore | no | Container with trigger input | 
quantities for Psd
Produced event objects:
| name | type | store | description | 
| psdTriggerFlags | PsdTriggerFlags | evStore | Container with the bitmask of the result of the comparation | 
with thresholds
Parameters:
| name | type | default | description | 
| sideEdepThr_leg | float | 1e-3 | [GeV] threshold on the energy deposited in each Psd side | 
◆ PsdTriggerComparatorAlgo()
      
        
          | Herd::PsdTriggerComparatorAlgo::PsdTriggerComparatorAlgo | ( | const std::string & | name | ) |  | 
      
 
Constructor. 
- Parameters
- 
  
    | name | The name of the algorithm object. |  
 
 
 
◆ Finalize()
  
  | 
        
          | bool Herd::PsdTriggerComparatorAlgo::Finalize | ( |  | ) |  |  | override | 
 
 
◆ Initialize()
  
  | 
        
          | bool Herd::PsdTriggerComparatorAlgo::Initialize | ( |  | ) |  |  | override | 
 
Initialization of the algorithm. Retrieve data store. 
- Returns
- true if data store are available, false otherwise. 
 
 
◆ Process()
  
  | 
        
          | bool Herd::PsdTriggerComparatorAlgo::Process | ( |  | ) |  |  | override | 
 
Compares the quantities in the trigger inputs with the thresholds and sets the flags accordingly. 
- Returns
- true if no error occurs during processing, false otherwise. 
 
 
◆ _evStore
  
  | 
        
          | StorePtr Herd::PsdTriggerComparatorAlgo::_evStore |  | private | 
 
 
◆ _psdTriggerFlags
◆ _sideEDepThr_leg
  
  | 
        
          | float Herd::PsdTriggerComparatorAlgo::_sideEDepThr_leg |  | private | 
 
 
The documentation for this class was generated from the following files: