HerdSoftware  0.4.0
Public Member Functions | Private Types | Private Attributes | List of all members
Herd::EntranceInfoAlgo Class Reference

Algorithm that reconstructs the entrance octant of the primary particle. More...

#include <algorithms/reconstruction/EntranceInfoAlgo.h>

Inheritance diagram for Herd::EntranceInfoAlgo:

Public Member Functions

 EntranceInfoAlgo (const std::string &name)
 Constructor. More...
 
bool Initialize ()
 Initializes the algo. More...
 
bool Process ()
 Processes an event. More...
 

Private Types

enum  RecoMethod { RecoMethod::MC, RecoMethod::AXIS, RecoMethod::TIMING }
 

Private Attributes

std::string m_recoMethodStr
 
std::string m_objName
 
std::string m_caloAxesObjName
 
StorePtr m_evStore
 
StorePtr m_globStore
 
RecoMethod m_recoMethod
 

Detailed Description

Algorithm that reconstructs the entrance octant of the primary particle.

This algorithm coarsely reconstructs the region of space where a particle comes from in terms of an octant in the HERD reference frame. Currently it can rely on the directional axis reconstructed from the CALO deposit or other similar method producing a track object, on the MC track or on the timing information provided by the PSD tiles. If a track is provided the entrance octant is evaluated at both the impact point and at the origin point. Origin point is obtained backpropagating the impact point by 200 m.

The time measurement only provide information on the impact region.

Needed event objects:

name type store required description
mcTruth MCTruth evStore if recoMethod="mc" The MC truth.
caloAxes CaloAxes evStore if recoMethod="axis" The CALO axes.
psdTimeStampsColl PsdTimeStampsColl evStore if recomethod="timing" The collection of PSD timestamps

Needed global objects:

name type store required description
psdGeoParamsColl PsdGeoParamsColl globStore if recomethod="timing" The geometric parameters of the PSD.
scdGeoParamsColl ScdGeoParamsColl globStore if recoPosition!="timing" The geometric parameters of the PSD.

Provided event objects:

name type store description
entranceInfo EntranceInfo evStore The reconstructed entrance informations.

Parameters:

name type default value description
axisObjectName string "caloAxes" The name of the track object to be used in the axis method.
recoMethod string "axis" The entrance side reconstruction method (possible values: "mc", "calo", "timing").

Member Enumeration Documentation

◆ RecoMethod

Enumerator
MC 
AXIS 
TIMING 

Constructor & Destructor Documentation

◆ EntranceInfoAlgo()

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

Constructor.

Parameters
nameThe name of the algorithm object.

Member Function Documentation

◆ Initialize()

bool Herd::EntranceInfoAlgo::Initialize ( )

Initializes the algo.

Returns
true if initialization is done without errors, false otherwise.

◆ Process()

bool Herd::EntranceInfoAlgo::Process ( )

Processes an event.

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

Member Data Documentation

◆ m_caloAxesObjName

std::string Herd::EntranceInfoAlgo::m_caloAxesObjName
private

◆ m_evStore

StorePtr Herd::EntranceInfoAlgo::m_evStore
private

◆ m_globStore

StorePtr Herd::EntranceInfoAlgo::m_globStore
private

◆ m_objName

std::string Herd::EntranceInfoAlgo::m_objName
private

◆ m_recoMethod

RecoMethod Herd::EntranceInfoAlgo::m_recoMethod
private

◆ m_recoMethodStr

std::string Herd::EntranceInfoAlgo::m_recoMethodStr
private

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