#include <HGCalHistoClusteringImpl.h>
Public Member Functions | |
void | clusterizeHisto (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, const std::vector< std::pair< GlobalPoint, double >> &seedPositionsEnergy, const HGCalTriggerGeometryBase &triggerGeometry, l1t::HGCalMulticlusterBxCollection &multiclusters) const |
float | dR (const l1t::HGCalCluster &clu, const GlobalPoint &seed) const |
void | eventSetup (const edm::EventSetup &es) |
HGCalHistoClusteringImpl (const edm::ParameterSet &conf) | |
Private Types | |
enum | ClusterAssociationStrategy { NearestNeighbour, EnergySplit } |
Private Member Functions | |
std::vector< l1t::HGCalMulticluster > | clusterSeedMulticluster (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtrs, const std::vector< std::pair< GlobalPoint, double >> &seeds) const |
void | finalizeClusters (std::vector< l1t::HGCalMulticluster > &, l1t::HGCalMulticlusterBxCollection &, const HGCalTriggerGeometryBase &) const |
Private Attributes | |
std::string | cluster_association_input_ |
ClusterAssociationStrategy | cluster_association_strategy_ |
double | dr_ |
std::vector< double > | dr_byLayer_coefficientA_ |
std::vector< double > | dr_byLayer_coefficientB_ |
std::unique_ptr< HGCalTriggerClusterIdentificationBase > | id_ |
double | ptC3dThreshold_ |
HGCalShowerShape | shape_ |
HGCalTriggerTools | triggerTools_ |
Static Private Attributes | |
static constexpr double | kMidRadius_ = 2.3 |
Definition at line 14 of file HGCalHistoClusteringImpl.h.
|
private |
HGCalHistoClusteringImpl::HGCalHistoClusteringImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 6 of file HGCalHistoClusteringImpl.cc.
References cluster_association_input_, cluster_association_strategy_, dr_, EnergySplit, Exception, get, edm::ParameterSet::getParameter(), id_, NearestNeighbour, and ptC3dThreshold_.
void HGCalHistoClusteringImpl::clusterizeHisto | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
const std::vector< std::pair< GlobalPoint, double >> & | seedPositionsEnergy, | ||
const HGCalTriggerGeometryBase & | triggerGeometry, | ||
l1t::HGCalMulticlusterBxCollection & | multiclusters | ||
) | const |
Definition at line 106 of file HGCalHistoClusteringImpl.cc.
References clusterSeedMulticluster(), and finalizeClusters().
|
private |
Definition at line 38 of file HGCalHistoClusteringImpl.cc.
References funct::abs(), cluster_association_strategy_, ztail::d, dR(), dr_, dr_byLayer_coefficientA_, dr_byLayer_coefficientB_, HCALHighEnergyHPDFilter_cfi::energy, EnergySplit, dqmdumpme::first, iseed, kMidRadius_, HGCalTriggerTools::layerWithOffset(), NearestNeighbour, InitialStep_cff::seeds, triggerTools_, PV3DBase< T, PVType, FrameType >::z(), and HGCalTriggerTools::zside().
Referenced by clusterizeHisto().
float HGCalHistoClusteringImpl::dR | ( | const l1t::HGCalCluster & | clu, |
const GlobalPoint & | seed | ||
) | const |
Definition at line 34 of file HGCalHistoClusteringImpl.cc.
References l1t::HGCalClusterT< C >::centreProj(), mag(), and SurveyInfoScenario_cff::seed.
Referenced by clusterSeedMulticluster().
|
inline |
Definition at line 18 of file HGCalHistoClusteringImpl.h.
References dr_byLayer_coefficientA_, dr_byLayer_coefficientB_, HGCalShowerShape::eventSetup(), HGCalTriggerTools::eventSetup(), Exception, HGCalTriggerTools::lastLayerBH(), shape_, and triggerTools_.
|
private |
Definition at line 116 of file HGCalHistoClusteringImpl.cc.
References HGCalShowerShape::fillShapes(), id_, ptC3dThreshold_, BXVector< T >::push_back(), shape_, and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by clusterizeHisto().
|
private |
Definition at line 53 of file HGCalHistoClusteringImpl.h.
Referenced by HGCalHistoClusteringImpl().
|
private |
Definition at line 54 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 48 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 49 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and eventSetup().
|
private |
Definition at line 50 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and eventSetup().
|
private |
Definition at line 58 of file HGCalHistoClusteringImpl.h.
Referenced by finalizeClusters(), and HGCalHistoClusteringImpl().
|
staticconstexprprivate |
Definition at line 60 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster().
|
private |
Definition at line 51 of file HGCalHistoClusteringImpl.h.
Referenced by finalizeClusters(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 56 of file HGCalHistoClusteringImpl.h.
Referenced by eventSetup(), and finalizeClusters().
|
private |
Definition at line 57 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and eventSetup().