#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 double | kMidRadius_ = 2.3 |
Definition at line 14 of file HGCalHistoClusteringImpl.h.
|
private |
Enumerator | |
---|---|
NearestNeighbour | |
EnergySplit |
Definition at line 38 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, reco::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 107 of file HGCalHistoClusteringImpl.cc.
References clusterSeedMulticluster(), and finalizeClusters().
Referenced by eventSetup().
|
private |
Definition at line 39 of file HGCalHistoClusteringImpl.cc.
References funct::abs(), cluster_association_strategy_, edmIntegrityCheck::d, dR(), dr_, dr_byLayer_coefficientA_, dr_byLayer_coefficientB_, EnergySplit, plotBeamSpotDB::first, iseed, kMidRadius_, HGCalTriggerTools::layerWithOffset(), NearestNeighbour, 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 33 of file HGCalHistoClusteringImpl.cc.
References l1t::HGCalClusterT< C >::centreProj(), mag(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by clusterSeedMulticluster(), and eventSetup().
|
inline |
Definition at line 18 of file HGCalHistoClusteringImpl.h.
References clusterizeHisto(), dR(), dr_byLayer_coefficientA_, dr_byLayer_coefficientB_, HGCalShowerShape::eventSetup(), HGCalTriggerTools::eventSetup(), Exception, HGCalTriggerTools::lastLayerBH(), SurveyInfoScenario_cff::seed, shape_, and triggerTools_.
|
private |
Definition at line 117 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().
|
staticprivate |
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().