HerdSoftware  0.3.2
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 _caloPMTTriggerGeoInfo
 
CaloPMTTriggerInputs _caloPMTTriggerInputs
 
StorePtr _evStore
 
StorePtr _globStore
 
std::string _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
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

◆ _caloHitsName

std::string Herd::CaloPMTTriggerComputerAlgo::_caloHitsName
private

◆ _caloPMTTriggerGeoInfo

CaloPMTTriggerGeoInfo Herd::CaloPMTTriggerComputerAlgo::_caloPMTTriggerGeoInfo
private

◆ _caloPMTTriggerInputs

CaloPMTTriggerInputs Herd::CaloPMTTriggerComputerAlgo::_caloPMTTriggerInputs
private

◆ _evStore

StorePtr Herd::CaloPMTTriggerComputerAlgo::_evStore
private

◆ _globStore

StorePtr Herd::CaloPMTTriggerComputerAlgo::_globStore
private

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