#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 29 of file RealisticHitToClusterAssociator.h.
|
private |
Definition at line 30 of file RealisticHitToClusterAssociator.h.
|
inline |
Definition at line 82 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 266 of file RealisticHitToClusterAssociator.h.
References f, mps_fire::i, realisticHits_, realisticSimClusters_, and XYdistanceFromPointOnSameLayer().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 158 of file RealisticHitToClusterAssociator.h.
References pfMETCorrectionType0_cfi::correction, MillePedeFileConverter_cfg::e, f, HLT_2018_cff::fraction, mps_fire::i, realisticHits_, realisticSimClusters_, and egamma::sharedEnergy().
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 231 of file RealisticHitToClusterAssociator.h.
References f, HLT_2018_cff::fraction, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 47 of file RealisticHitToClusterAssociator.h.
References realisticHits_, realisticSimClusters_, and SimDataFormats::CaloAnalysis::sc.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 60 of file RealisticHitToClusterAssociator.h.
References HCALHighEnergyHPDFilter_cfi::energy, and realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 54 of file RealisticHitToClusterAssociator.h.
References realisticHits_, x, and y.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 58 of file RealisticHitToClusterAssociator.h.
References realisticHits_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 62 of file RealisticHitToClusterAssociator.h.
References HLT_2018_cff::fraction, RealisticHitToClusterAssociator::RealisticHit::hitPosition_, RealisticHitToClusterAssociator::RealisticHit::layerId_, realisticHits_, and realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 283 of file RealisticHitToClusterAssociator.h.
References realisticSimClusters_.
Referenced by RealisticSimClusterMapper::buildClusters().
|
inline |
Definition at line 68 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, cmsLHEtoEOSManager::l, funct::pow(), realisticHits_, realisticSimClusters_, and mathSSE::sqrt().
Referenced by computeAssociation().
|
inline |
Definition at line 76 of file RealisticHitToClusterAssociator.h.
References RealisticHitToClusterAssociator::RealisticHit::hitPosition_, funct::pow(), realisticHits_, and mathSSE::sqrt().
Referenced by filterHitsByDistance().
|
private |
Definition at line 289 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertHitEnergy(), insertHitPosition(), insertLayerId(), insertSimClusterIdAndFraction(), XYdistanceFromMaxHit(), and XYdistanceFromPointOnSameLayer().
|
private |
Definition at line 287 of file RealisticHitToClusterAssociator.h.
Referenced by computeAssociation(), filterHitsByDistance(), findAndMergeInvisibleClusters(), findCentersOfGravity(), init(), insertSimClusterIdAndFraction(), realisticClusters(), and XYdistanceFromMaxHit().