HerdSoftware  0.1.1
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 ()
 Initialization of the algorithm. Retrieve data stores. More...
 
bool Process ()
 Computes the total energy deposited in Calo and the energy in CaloPMT trigger regions from caloHits information. More...
 
bool Finalize ()
 Do nothing. More...
 

Private Attributes

CaloPMTTriggerGeoInfo _caloPMTTriggerGeoInfo
 
CaloPMTTriggerInputs _caloPMTTriggerInputs
 
StorePtr _evStore
 
StorePtr _globStore
 

Detailed Description

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

Needed event objects:

name type store optional description
caloHitsMC 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

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 ( )

Do nothing.

Returns
true

◆ Initialize()

bool Herd::CaloPMTTriggerComputerAlgo::Initialize ( )

Initialization of the algorithm. Retrieve data stores.

Returns
true if data stores are available, false otherwise.

◆ Process()

bool Herd::CaloPMTTriggerComputerAlgo::Process ( )

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

◆ _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: