#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 > |
Static Private Member Functions | |
static float | getDecayLength (unsigned int layer, unsigned int fhOffset, unsigned int bhOffset) |
Private Attributes | |
std::vector< RealisticHit > | realisticHits_ |
std::vector< RealisticCluster > | realisticSimClusters_ |
Definition at line 13 of file RealisticHitToClusterAssociator.h.
|
private |
Definition at line 14 of file RealisticHitToClusterAssociator.h.
|
inline |
Definition at line 66 of file RealisticHitToClusterAssociator.h.
References MillePedeFileConverter_cfg::e, particleFlowClusterHGC_cfi::exclusiveFraction, JetChargeProducer_cfi::exp, f, getDecayLength(), pixelTopology::layer, or, realisticHits_, realisticSimClusters_, particleFlowClusterHGC_cfi::useMCFractionsForExclEnergy, x, and XYdistanceFromMaxHit().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 250 of file RealisticHitToClusterAssociator.h.
References f, mps_fire::i, particleFlowClusterHGC_cfi::maxDistance, realisticHits_, realisticSimClusters_, and XYdistanceFromPointOnSameLayer().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 142 of file RealisticHitToClusterAssociator.h.
References pfMETCorrectionType0_cfi::correction, MillePedeFileConverter_cfg::e, particleFlowClusterHGC_cfi::exclusiveFraction, f, HLT_2023v12_cff::fraction, mps_fire::i, particleFlowClusterHGC_cfi::invisibleFraction, realisticHits_, realisticSimClusters_, and egamma::sharedEnergy().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 215 of file RealisticHitToClusterAssociator.h.
References f, HLT_2023v12_cff::fraction, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inlinestaticprivate |
Definition at line 270 of file RealisticHitToClusterAssociator.h.
References pixelTopology::layer.
Referenced by computeAssociation().
|
inline |
Definition at line 31 of file RealisticHitToClusterAssociator.h.
References phase1PixelTopology::numberOfLayers, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 44 of file RealisticHitToClusterAssociator.h.
References HCALHighEnergyHPDFilter_cfi::energy, and realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 38 of file RealisticHitToClusterAssociator.h.
References realisticHits_, x, y, and z.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 42 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 46 of file RealisticHitToClusterAssociator.h.
References HLT_2023v12_cff::fraction, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 267 of file RealisticHitToClusterAssociator.h.
References realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 52 of file RealisticHitToClusterAssociator.h.
References gpuClustering::clusterId, MainPageGenerator::l, funct::pow(), realisticHits_, realisticSimClusters_, and mathSSE::sqrt().
Referenced by computeAssociation().
|
inline |
Definition at line 60 of file RealisticHitToClusterAssociator.h.
References point, funct::pow(), realisticHits_, and mathSSE::sqrt().
Referenced by filterHitsByDistance().
|
private |
Definition at line 286 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertHitEnergy(), insertHitPosition(), insertLayerId(), insertSimClusterIdAndFraction(), XYdistanceFromMaxHit(), and XYdistanceFromPointOnSameLayer().
|
private |
Definition at line 284 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertSimClusterIdAndFraction(), realisticClusters(), and XYdistanceFromMaxHit().