#include <RealisticHitToClusterAssociator.h>
Classes | |
struct | RealisticHit |
Public Member Functions | |
void | computeAssociation (float exclusiveFraction, bool useMCFractionsForExclEnergy, unsigned int fhOffset, unsigned int bhOffset) |
void | filterHitsByDistance (float maxDistance) |
void | findAndMergeInvisibleClusters (float invisibleFraction, float exclusiveFraction) |
void | findCentersOfGravity () |
void | init (std::size_t numberOfHits, std::size_t numberOfSimClusters, std::size_t numberOfLayers) |
void | insertHitEnergy (float energy, unsigned int hitIndex) |
void | insertHitPosition (float x, float y, float z, unsigned int hitIndex) |
void | insertLayerId (unsigned int layerId, unsigned int hitIndex) |
void | insertSimClusterIdAndFraction (unsigned int scIdx, float fraction, unsigned int hitIndex, float associatedEnergy) |
const std::vector< RealisticCluster > & | realisticClusters () const |
float | XYdistanceFromMaxHit (unsigned int hitId, unsigned int clusterId) |
float | XYdistanceFromPointOnSameLayer (unsigned int hitId, const Hit3DPosition &point) |
Private Types | |
using | Hit3DPosition = std::array< float, 3 > |
Private Attributes | |
std::vector< RealisticHit > | realisticHits_ |
std::vector< RealisticCluster > | realisticSimClusters_ |
Definition at line 31 of file RealisticHitToClusterAssociator.h.
|
private |
Definition at line 33 of file RealisticHitToClusterAssociator.h.
|
inline |
Definition at line 98 of file RealisticHitToClusterAssociator.h.
References MillePedeFileConverter_cfg::e, JetChargeProducer_cfi::exp, f, or, realisticHits_, realisticSimClusters_, x, and XYdistanceFromMaxHit().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 304 of file RealisticHitToClusterAssociator.h.
References f, mps_fire::i, realisticHits_, realisticSimClusters_, and XYdistanceFromPointOnSameLayer().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 181 of file RealisticHitToClusterAssociator.h.
References f, dedxEstimators_cff::fraction, mps_fire::i, realisticHits_, realisticSimClusters_, and EgAmbiguityTools::sharedEnergy().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 265 of file RealisticHitToClusterAssociator.h.
References f, dedxEstimators_cff::fraction, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 53 of file RealisticHitToClusterAssociator.h.
References realisticHits_, realisticSimClusters_, and SimDataFormats::CaloAnalysis::sc.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 72 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 62 of file RealisticHitToClusterAssociator.h.
References realisticHits_, x, and y.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 67 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 77 of file RealisticHitToClusterAssociator.h.
References dedxEstimators_cff::fraction, RealisticHitToClusterAssociator::RealisticHit::hitPosition_, RealisticHitToClusterAssociator::RealisticHit::layerId_, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 326 of file RealisticHitToClusterAssociator.h.
References realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 84 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, checklumidiff::l, funct::pow(), realisticHits_, realisticSimClusters_, and mathSSE::sqrt().
Referenced by computeAssociation().
|
inline |
Definition at line 92 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, funct::pow(), realisticHits_, and mathSSE::sqrt().
Referenced by filterHitsByDistance().
|
private |
Definition at line 333 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertHitEnergy(), insertHitPosition(), insertLayerId(), insertSimClusterIdAndFraction(), XYdistanceFromMaxHit(), and XYdistanceFromPointOnSameLayer().
|
private |
Definition at line 331 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertSimClusterIdAndFraction(), realisticClusters(), and XYdistanceFromMaxHit().