#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 32 of file RealisticHitToClusterAssociator.h.
|
private |
Definition at line 34 of file RealisticHitToClusterAssociator.h.
|
inline |
Definition at line 99 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 305 of file RealisticHitToClusterAssociator.h.
References f, mps_fire::i, realisticHits_, realisticSimClusters_, and XYdistanceFromPointOnSameLayer().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 182 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 266 of file RealisticHitToClusterAssociator.h.
References f, dedxEstimators_cff::fraction, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 54 of file RealisticHitToClusterAssociator.h.
References realisticHits_, realisticSimClusters_, and SimDataFormats::CaloAnalysis::sc.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 73 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 63 of file RealisticHitToClusterAssociator.h.
References realisticHits_, x, and y.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 68 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 78 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 327 of file RealisticHitToClusterAssociator.h.
References realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 85 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, checklumidiff::l, funct::pow(), realisticHits_, realisticSimClusters_, and mathSSE::sqrt().
Referenced by computeAssociation().
|
inline |
Definition at line 93 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, funct::pow(), realisticHits_, and mathSSE::sqrt().
Referenced by filterHitsByDistance().
|
private |
Definition at line 334 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertHitEnergy(), insertHitPosition(), insertLayerId(), insertSimClusterIdAndFraction(), XYdistanceFromMaxHit(), and XYdistanceFromPointOnSameLayer().
|
private |
Definition at line 332 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertSimClusterIdAndFraction(), realisticClusters(), and XYdistanceFromMaxHit().