HerdSoftware  0.3.2
Public Member Functions | Private Attributes | List of all members
Herd::HERDward Class Reference

Displays tracks from HoughFinder algorithms. More...

#include <algorithms/display/HERDward.h>

Inheritance diagram for Herd::HERDward:

Public Member Functions

 HERDward (const std::string &name)
 Constructor. More...
 
bool Initialize () override
 Initialization of the algorithm. More...
 
bool Process () override
 Process a single event. More...
 
bool Finalize () override
 Post processing part. More...
 

Private Attributes

std::unique_ptr< HWMainWindowm_mainWindow
 
std::string m_geometryFile
 
StorePtr m_globStore
 
StorePtr m_evStore
 
std::string m_caloHitsName
 

Detailed Description

Displays tracks from HoughFinder algorithms.

Needed event objects:

name type store optional description
<caloHits> CaloHits evStore yes The calorimeter hits.
psdHitsCollMC PsdHitsColl evStore yes The PSD hits.
stkClustersCollMC StkClustersColl evStore yes The clusters of the STKs.
scdClustersCollMC ScdClustersColl evStore yes The clusters of the SCDs.
tracks2DColl Track2DColl evStore yes The collection of 2D tracks.
tracks3D Tracks evStore yes The collection of 3D tracks.
caloAxes Tracks evStore yes The CALO axes.
mcTruth MCTruth evStore yes The MC truth.

Needed global objects:

name type store optional description
caloGeoParams CaloGeoParams globStore yes The geometric parameters of the calorimeter.
psdGeoParamsColl PsdGeoParamsColl globStore yes The geometric parameters of the PSD.
stkGeoParamsColl StkGeoParamsColl globStore yes The geometric parameters of the STK.
scdGeoParamsColl ScdGeoParamsColl globStore yes The geometric parameters of the SCD.

Produced global objects:

name | type | store | description ---------------—|-----------------—|--------—|------------------------------—

Parameters:

name type default value description
caloHits std::string caloHitsMC The name of the CALO hits object to be displayed.

Constructor & Destructor Documentation

◆ HERDward()

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

Constructor.

Parameters
nameThe name of the algorithm

Member Function Documentation

◆ Finalize()

bool Herd::HERDward::Finalize ( )
override

Post processing part.

Returns
If post-processing is successful.

◆ Initialize()

bool Herd::HERDward::Initialize ( )
override

Initialization of the algorithm.

Returns
true if the initialization procedure is successful.

◆ Process()

bool Herd::HERDward::Process ( )
override

Process a single event.

Returns
If event processing is successful.

Member Data Documentation

◆ m_caloHitsName

std::string Herd::HERDward::m_caloHitsName
private

◆ m_evStore

StorePtr Herd::HERDward::m_evStore
private

◆ m_geometryFile

std::string Herd::HERDward::m_geometryFile
private

◆ m_globStore

StorePtr Herd::HERDward::m_globStore
private

◆ m_mainWindow

std::unique_ptr<HWMainWindow> Herd::HERDward::m_mainWindow
private

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