EICrecon
JANA based reconstruction for the EPIC detector
Loading...
Searching...
No Matches
Public Member Functions | List of all members
eicrecon::TruthEnergyPositionClusterMerger Class Reference

#include <TruthEnergyPositionClusterMerger.h>

Inheritance diagram for eicrecon::TruthEnergyPositionClusterMerger:
Inheritance graph
[legend]
Collaboration diagram for eicrecon::TruthEnergyPositionClusterMerger:
Collaboration graph
[legend]

Public Member Functions

 TruthEnergyPositionClusterMerger (std::string_view name)
 
void init ()
 
void process (const Input &input, const Output &output) const final
 
std::map< int, edm4eic::Cluster > indexedClusters (const edm4eic::ClusterCollection &clusters, const edm4eic::MCRecoClusterParticleAssociationCollection &associations) const
 
- Public Member Functions inherited from eicrecon::WithPodConfig< NoConfig >
NoConfiggetConfig ()
 Get a configuration to be changed.
 
NoConfigapplyConfig (NoConfig cfg)
 Sets a configuration (config is properly copyible)
 

Additional Inherited Members

- Public Types inherited from eicrecon::WithPodConfig< NoConfig >
using ConfigType = NoConfig
 
- Protected Attributes inherited from eicrecon::WithPodConfig< NoConfig >
NoConfig m_cfg
 

Detailed Description

Simple algorithm to merge the energy measurement from cluster1 with the position measurement of cluster2 (in case matching clusters are found). If not, it will propagate the raw cluster from cluster1 or cluster2

Matching occurs based on the mc truth information of the clusters.

Constructor & Destructor Documentation

◆ TruthEnergyPositionClusterMerger()

eicrecon::TruthEnergyPositionClusterMerger::TruthEnergyPositionClusterMerger ( std::string_view  name)
inline

Member Function Documentation

◆ indexedClusters()

std::map< int, edm4eic::Cluster > eicrecon::TruthEnergyPositionClusterMerger::indexedClusters ( const edm4eic::ClusterCollection &  clusters,
const edm4eic::MCRecoClusterParticleAssociationCollection &  associations 
) const

◆ init()

void eicrecon::TruthEnergyPositionClusterMerger::init ( )
inline

◆ process()

void eicrecon::TruthEnergyPositionClusterMerger::process ( const Input &  input,
const Output &  output 
) const
final

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