#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) |
HGCalMulticlusteringImpl (const edm::ParameterSet &conf) | |
bool | isPertinent (const l1t::HGCalCluster &clu, const l1t::HGCalMulticluster &mclu, double dR) const |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
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_, 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(), isotrackNtupler::merged, minNDbscan_, eostools::move(), jetUpdater_cfi::sort, triggerTools_, trackerHitRTTI::vector, class-composition::visited, and HGCalTriggerTools::zside().
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 ztail::d, dr_, finalizeClusters(), createfilelist::int, isPertinent(), mag(), and trackerHitRTTI::vector.
|
private |
Definition at line 166 of file HGCalMulticlusteringImpl.cc.
References bsc_activity_cfg::clusters, HGCalShowerShape::fillShapes(), id_, ptC3dThreshold_, BXVector< T >::push_back(), shape_, and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by clusterizeDBSCAN(), and clusterizeDR().
|
private |
Definition at line 37 of file HGCalMulticlusteringImpl.cc.
References distDbscan_, Exception, and mag().
Referenced by clusterizeDBSCAN().
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(), HGC3DClusterGenMatchSelector_cfi::dR, mag(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by clusterizeDR().
|
inline |
Definition at line 18 of file HGCalMulticlusteringImpl.h.
References relativeConstraints::geom, HGCalShowerShape::setGeometry(), HGCalTriggerTools::setGeometry(), shape_, and triggerTools_.
|
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 finalizeClusters(), and setGeometry().
|
private |
Definition at line 49 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), isPertinent(), and setGeometry().