#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, l1t::HGCalClusterBxCollection &rejected_clusters) const |
float | dR (const l1t::HGCalCluster &clu, const GlobalPoint &seed) const |
HGCalHistoClusteringImpl (const edm::ParameterSet &conf) | |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
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, std::vector< l1t::HGCalCluster > &rejected_clusters) const |
void | finalizeClusters (std::vector< l1t::HGCalMulticluster > &, const std::vector< l1t::HGCalCluster > &, l1t::HGCalMulticlusterBxCollection &, l1t::HGCalClusterBxCollection &, 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 |
Enumerator | |
---|---|
NearestNeighbour | |
EnergySplit |
Definition at line 39 of file HGCalHistoClusteringImpl.h.
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, | ||
l1t::HGCalClusterBxCollection & | rejected_clusters | ||
) | const |
Definition at line 110 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_, hcalRecHitTable_cff::energy, EnergySplit, dqmdumpme::first, iseed, kMidRadius_, HGCalTriggerTools::layerWithOffset(), NearestNeighbour, HLT_2024v13_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 fileCollector::seed.
Referenced by clusterSeedMulticluster().
|
private |
Definition at line 123 of file HGCalHistoClusteringImpl.cc.
References HGCalShowerShape::fillShapes(), l1trig_cff::hwQual, id_, ptC3dThreshold_, BXVector< T >::push_back(), shape_, TtFullHadEvtBuilder_cfi::sumPt, and pfClustersFromHGC3DClusters_cfi::wp.
Referenced by clusterizeHisto().
|
inline |
Definition at line 18 of file HGCalHistoClusteringImpl.h.
References dr_byLayer_coefficientA_, dr_byLayer_coefficientB_, Exception, relativeConstraints::geom, HGCalTriggerTools::lastLayerBH(), HGCalShowerShape::setGeometry(), HGCalTriggerTools::setGeometry(), shape_, and triggerTools_.
|
private |
Definition at line 57 of file HGCalHistoClusteringImpl.h.
Referenced by HGCalHistoClusteringImpl().
|
private |
Definition at line 58 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 52 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 53 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and setGeometry().
|
private |
Definition at line 54 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and setGeometry().
|
private |
Definition at line 62 of file HGCalHistoClusteringImpl.h.
Referenced by finalizeClusters(), and HGCalHistoClusteringImpl().
|
staticprivate |
Definition at line 64 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster().
|
private |
Definition at line 55 of file HGCalHistoClusteringImpl.h.
Referenced by finalizeClusters(), and HGCalHistoClusteringImpl().
|
private |
Definition at line 60 of file HGCalHistoClusteringImpl.h.
Referenced by finalizeClusters(), and setGeometry().
|
private |
Definition at line 61 of file HGCalHistoClusteringImpl.h.
Referenced by clusterSeedMulticluster(), and setGeometry().