#include <HGCalMulticlusteringImpl.h>
Public Member Functions | |
void | clusterizeDBSCAN (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry) |
void | clusterizeDR (const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry) |
void | eventSetup (const edm::EventSetup &es) |
HGCalMulticlusteringImpl (const edm::ParameterSet &conf) | |
bool | isPertinent (const l1t::HGCalCluster &clu, const l1t::HGCalMulticluster &mclu, double dR) const |
Private Member Functions | |
void | finalizeClusters (std::vector< l1t::HGCalMulticluster > &, l1t::HGCalMulticlusterBxCollection &, const HGCalTriggerGeometryBase &) |
void | findNeighbor (const std::vector< std::pair< unsigned int, double >> &rankedList, unsigned int searchInd, const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, std::vector< unsigned int > &neigbors) |
Private Attributes | |
double | distDbscan_ = 0.005 |
double | dr_ |
std::unique_ptr< HGCalTriggerClusterIdentificationBase > | id_ |
unsigned | minNDbscan_ = 3 |
std::string | multiclusterAlgoType_ |
double | ptC3dThreshold_ |
HGCalShowerShape | shape_ |
HGCalTriggerTools | triggerTools_ |
Definition at line 14 of file HGCalMulticlusteringImpl.h.
HGCalMulticlusteringImpl::HGCalMulticlusteringImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 5 of file HGCalMulticlusteringImpl.cc.
References distDbscan_, dr_, reco::get(), edm::ParameterSet::getParameter(), id_, minNDbscan_, multiclusterAlgoType_, and ptC3dThreshold_.
void HGCalMulticlusteringImpl::clusterizeDBSCAN | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
l1t::HGCalMulticlusterBxCollection & | multiclusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 103 of file HGCalMulticlusteringImpl.cc.
References finalizeClusters(), findNeighbor(), minNDbscan_, eostools::move(), triggerTools_, class-composition::visited, and HGCalTriggerTools::zside().
Referenced by eventSetup().
void HGCalMulticlusteringImpl::clusterizeDR | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
l1t::HGCalMulticlusterBxCollection & | multiclusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 72 of file HGCalMulticlusteringImpl.cc.
References edmIntegrityCheck::d, dr_, finalizeClusters(), createfilelist::int, isPertinent(), and mag().
Referenced by eventSetup().
|
inline |
Definition at line 18 of file HGCalMulticlusteringImpl.h.
References clusterizeDBSCAN(), clusterizeDR(), HGCalShowerShape::eventSetup(), HGCalTriggerTools::eventSetup(), finalizeClusters(), findNeighbor(), isPertinent(), shape_, and triggerTools_.
|
private |
Definition at line 166 of file HGCalMulticlusteringImpl.cc.
References fastPrimaryVertexProducer_cfi::clusters, HGCalShowerShape::fillShapes(), id_, ptC3dThreshold_, BXVector< T >::push_back(), shape_, and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by clusterizeDBSCAN(), clusterizeDR(), and eventSetup().
|
private |
Definition at line 37 of file HGCalMulticlusteringImpl.cc.
References distDbscan_, Exception, and mag().
Referenced by clusterizeDBSCAN(), and eventSetup().
bool HGCalMulticlusteringImpl::isPertinent | ( | const l1t::HGCalCluster & | clu, |
const l1t::HGCalMulticluster & | mclu, | ||
double | dR | ||
) | const |
Definition at line 22 of file HGCalMulticlusteringImpl.cc.
References l1t::HGCalClusterT< C >::centreProj(), l1t::HGCalClusterT< C >::detId(), mag(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by clusterizeDR(), and eventSetup().
|
private |
Definition at line 45 of file HGCalMulticlusteringImpl.h.
Referenced by findNeighbor(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 42 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDR(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 50 of file HGCalMulticlusteringImpl.h.
Referenced by finalizeClusters(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 46 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 44 of file HGCalMulticlusteringImpl.h.
Referenced by HGCalMulticlusteringImpl().
|
private |
Definition at line 43 of file HGCalMulticlusteringImpl.h.
Referenced by finalizeClusters(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 48 of file HGCalMulticlusteringImpl.h.
Referenced by eventSetup(), and finalizeClusters().
|
private |
Definition at line 49 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), eventSetup(), and isPertinent().