HerdSoftware  0.4.0
Public Member Functions | Private Attributes | List of all members
Herd::CaloPMTTriggerComputerAlgo Class Reference

An algorithm that computes relevant information about CaloPMT needed for the offline trigger. More...

#include <algorithms/trigger/CaloPMTTriggerComputerAlgo.h>

Inheritance diagram for Herd::CaloPMTTriggerComputerAlgo:

Public Member Functions

 CaloPMTTriggerComputerAlgo (const std::string &name)
 Constructor. More...
 
bool Initialize () override
 Initialization of the algorithm. Retrieve data stores. More...
 
bool Process () override
 Computes the total energy deposited in Calo and the energy in CaloPMT trigger regions from caloHits information. More...
 
bool Finalize () override
 Do nothing. More...
 

Private Attributes

CaloPMTTriggerGeoInfo m_caloPMTTriggerGeoInfo
 
CaloPMTTriggerInputs m_caloPMTTriggerInputs
 
EA::StorePtr m_evStore
 
EA::StorePtr m_globStore
 
std::string m_caloHitsName
 

Detailed Description

An algorithm that computes relevant information about CaloPMT needed for the offline trigger.

Needed event objects:

name type store optional description
<caloHits> CaloHits evStore no Hits in Calo produced by the MC simulation

Needed global objects:

name type store optional description
caloGeoParams CaloGeoParams globStore no Geometric parameters of Calo

Produced event objects:

name type store description
caloPMTTriggerInputs CaloPMTTriggerInputs evStore Container of the quantities about CaloPMT needed for the trigger logic

Parameters:

name type default value description
caloHits std::vector<float> caloHitsMC The CALO hits to be used for computing the trigger info.

Constructor & Destructor Documentation

◆ CaloPMTTriggerComputerAlgo()

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

Constructor.

Parameters
nameThe name of the algorithm object.

Member Function Documentation

◆ Finalize()

bool Herd::CaloPMTTriggerComputerAlgo::Finalize ( )
override

Do nothing.

Returns
true

◆ Initialize()

bool Herd::CaloPMTTriggerComputerAlgo::Initialize ( )
override

Initialization of the algorithm. Retrieve data stores.

Returns
true if data stores are available, false otherwise.

◆ Process()

bool Herd::CaloPMTTriggerComputerAlgo::Process ( )
override

Computes the total energy deposited in Calo and the energy in CaloPMT trigger regions from caloHits information.

Returns
true if no error occurs during processing, false otherwise.

Member Data Documentation

◆ m_caloHitsName

std::string Herd::CaloPMTTriggerComputerAlgo::m_caloHitsName
private

◆ m_caloPMTTriggerGeoInfo

CaloPMTTriggerGeoInfo Herd::CaloPMTTriggerComputerAlgo::m_caloPMTTriggerGeoInfo
private

◆ m_caloPMTTriggerInputs

CaloPMTTriggerInputs Herd::CaloPMTTriggerComputerAlgo::m_caloPMTTriggerInputs
private

◆ m_evStore

EA::StorePtr Herd::CaloPMTTriggerComputerAlgo::m_evStore
private

◆ m_globStore

EA::StorePtr Herd::CaloPMTTriggerComputerAlgo::m_globStore
private

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