HerdSoftware  0.4.0
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
 
EA::StorePtr m_globStore
 
EA::StorePtr m_evStore
 
std::string m_caloHitsName
 
std::string m_psdHitsCollName
 
std::string m_fitClustersCollName
 
std::string m_scdClustersCollName
 
std::string m_tracks2DName
 
std::string m_tracks3DName
 

Detailed Description

Displays tracks from HoughFinder algorithms.

Needed event objects:

name type store optional description
<caloHits> CaloHits evStore yes The calorimeter hits.
<psdHits> PsdHitsColl evStore yes The PSD hits.
<fitClusters> FitClustersColl evStore yes The clusters of the FITs.
<scdClusters> ScdClustersColl evStore yes The clusters of the SCDs.
<tracks2> Track2DColl evStore yes The collection of 2D tracks.
<tracks3D> Tracks evStore yes The 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.
fitGeoParamsColl FitGeoParamsColl globStore yes The geometric parameters of the FIT.
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.
psdHits std::string "psdHitsCollMC" The name of the PSD hits object to be displayed.
fitClusters std::string "fitClustersCollADC" The name of the FIT clusters object to be displayed.
scdClusters std::string "scdClustersCollMC" The name of the SCD clusters object to be displayed.
tracks2D std::string "tracks2DColl" The name of the 2D tracks object to be displayed.
tracks3D std::string "tracks3D" The name of the 3D tracks 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

EA::StorePtr Herd::HERDward::m_evStore
private

◆ m_fitClustersCollName

std::string Herd::HERDward::m_fitClustersCollName
private

◆ m_geometryFile

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

◆ m_globStore

EA::StorePtr Herd::HERDward::m_globStore
private

◆ m_mainWindow

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

◆ m_psdHitsCollName

std::string Herd::HERDward::m_psdHitsCollName
private

◆ m_scdClustersCollName

std::string Herd::HERDward::m_scdClustersCollName
private

◆ m_tracks2DName

std::string Herd::HERDward::m_tracks2DName
private

◆ m_tracks3DName

std::string Herd::HERDward::m_tracks3DName
private

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