HerdSoftware  0.1.1
Public Member Functions | Private Attributes | List of all members
Herd::CaloPMTTriggerComparatorAlgo Class Reference

An algorithm that compares variables from CaloPMT trigger inputs and fills flags needed for the offline trigger. More...

#include <algorithms/trigger/CaloPMTTriggerComparatorAlgo.h>

Inheritance diagram for Herd::CaloPMTTriggerComparatorAlgo:

Public Member Functions

 CaloPMTTriggerComparatorAlgo (const std::string &name)
 Constructor. More...
 
bool Initialize ()
 Initialization of the algorithm. Retrieve data store. More...
 
bool Process ()
 Compares the quantities in the trigger inputs with the thresholds and sets the flags accordingly. More...
 
bool Finalize ()
 Do nothing. More...
 

Private Attributes

CaloPMTTriggerFlags _caloPMTTriggerFlags
 
StorePtr _evStore
 
float _totEDepThr_he
 
float _trigRegEDepThr_leg
 
float _trigRegEDepThr_unb
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CaloPMTTriggerComparatorAlgo()

Herd::CaloPMTTriggerComparatorAlgo::CaloPMTTriggerComparatorAlgo ( const std::string &  name)

Constructor.

Parameters
nameThe name of the algorithm object.

Member Function Documentation

◆ Finalize()

bool Herd::CaloPMTTriggerComparatorAlgo::Finalize ( )

Do nothing.

Returns
true

◆ Initialize()

bool Herd::CaloPMTTriggerComparatorAlgo::Initialize ( )

Initialization of the algorithm. Retrieve data store.

Returns
true if data store are available, false otherwise.

◆ Process()

bool Herd::CaloPMTTriggerComparatorAlgo::Process ( )

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.

Member Data Documentation

◆ _caloPMTTriggerFlags

CaloPMTTriggerFlags Herd::CaloPMTTriggerComparatorAlgo::_caloPMTTriggerFlags
private

◆ _evStore

StorePtr Herd::CaloPMTTriggerComparatorAlgo::_evStore
private

◆ _totEDepThr_he

float Herd::CaloPMTTriggerComparatorAlgo::_totEDepThr_he
private

◆ _trigRegEDepThr_leg

float Herd::CaloPMTTriggerComparatorAlgo::_trigRegEDepThr_leg
private

◆ _trigRegEDepThr_unb

float Herd::CaloPMTTriggerComparatorAlgo::_trigRegEDepThr_unb
private

The documentation for this class was generated from the following files: