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

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

#include <algorithms/trigger/PsdTriggerComputerAlgo.h>

Inheritance diagram for Herd::PsdTriggerComputerAlgo:

Public Member Functions

 PsdTriggerComputerAlgo (const std::string &name)
 Constructor. More...
 
bool Initialize ()
 Initialization of the algorithm. Retrieve data stores. More...
 
bool Process ()
 Computes the energy deposited in each PSD side to fill the trigger input dataobject. More...
 
bool Finalize ()
 Do nothing. More...
 

Private Attributes

PsdTriggerInputs _psdTriggerInputs
 
StorePtr _evStore
 
StorePtr _globStore
 

Detailed Description

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

Needed event objects:

name type store optional description
psdHitsColl PsdHitsColl evStore no The hits in the digitized tiles/bars of the

PSD.

Needed global objects:

name type store optional description
psdGeoParamsColl PsdGeoParamsColl globStore no Geometric parameters of the PSD

Produced event objects:

name type store description
psdTriggerInputs PsdTriggerInputs evStore Container of the quantities about Psd needed for the

trigger logic

Constructor & Destructor Documentation

◆ PsdTriggerComputerAlgo()

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

Constructor.

Parameters
nameThe name of the algorithm object.

Member Function Documentation

◆ Finalize()

bool Herd::PsdTriggerComputerAlgo::Finalize ( )

Do nothing.

Returns
true

◆ Initialize()

bool Herd::PsdTriggerComputerAlgo::Initialize ( )

Initialization of the algorithm. Retrieve data stores.

Returns
true if data stores are available, false otherwise.

◆ Process()

bool Herd::PsdTriggerComputerAlgo::Process ( )

Computes the energy deposited in each PSD side to fill the trigger input dataobject.

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

Member Data Documentation

◆ _evStore

StorePtr Herd::PsdTriggerComputerAlgo::_evStore
private

◆ _globStore

StorePtr Herd::PsdTriggerComputerAlgo::_globStore
private

◆ _psdTriggerInputs

PsdTriggerInputs Herd::PsdTriggerComputerAlgo::_psdTriggerInputs
private

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