An algorithm that compares variables from CaloPMT trigger inputs and fills flags needed for the offline trigger.
More...
#include <algorithms/trigger/CaloPMTTriggerComparatorAlgo.h>
An algorithm that compares variables from CaloPMT trigger inputs and fills flags needed for the offline trigger.
Needed event objects:
| name | type | store | optional | description |
| caloPMTTriggerInputs | CaloPMTTriggerInputs | evStore | no | Container with trigger input |
quantities for CaloPMT
Produced event objects:
| name | type | store | description |
| caloPMTTriggerFlags | CaloPMTTriggerFlags | evStore | Container with the bitmask of the result of the |
comparation with thresholds
Parameters:
| name | type | default | description |
| totEDepThr_he | float | 15 | [GeV] threshold on the total energy in Calo for HE trigger |
| trigRegEDepThr_leg | float | 0.35 | [GeV] threshold on the energy deposited in a Calo trigger region for |
| LEG trigRegEDepThr_unb | float | 0.35 | [GeV] threshold on the energy deposited in a Calo trigger region |
for UNB
◆ CaloPMTTriggerComparatorAlgo()
| Herd::CaloPMTTriggerComparatorAlgo::CaloPMTTriggerComparatorAlgo |
( |
const std::string & |
name | ) |
|
Constructor.
- Parameters
-
| name | The name of the algorithm object. |
◆ Finalize()
| bool Herd::CaloPMTTriggerComparatorAlgo::Finalize |
( |
| ) |
|
|
override |
◆ Initialize()
| bool Herd::CaloPMTTriggerComparatorAlgo::Initialize |
( |
| ) |
|
|
override |
Initialization of the algorithm. Retrieve data store.
- Returns
- true if data store are available, false otherwise.
◆ Process()
| bool Herd::CaloPMTTriggerComparatorAlgo::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.
◆ m_caloPMTTriggerFlags
◆ m_evStore
| EA::StorePtr Herd::CaloPMTTriggerComparatorAlgo::m_evStore |
|
private |
◆ m_totEDepThr_he
| float Herd::CaloPMTTriggerComparatorAlgo::m_totEDepThr_he |
|
private |
◆ m_trigRegEDepThr_leg
| float Herd::CaloPMTTriggerComparatorAlgo::m_trigRegEDepThr_leg |
|
private |
◆ m_trigRegEDepThr_unb
| float Herd::CaloPMTTriggerComparatorAlgo::m_trigRegEDepThr_unb |
|
private |
The documentation for this class was generated from the following files: