#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 15 of file HGCalMulticlusteringImpl.h.
HGCalMulticlusteringImpl::HGCalMulticlusteringImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 6 of file HGCalMulticlusteringImpl.cc.
References beamerCreator::create(), 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 106 of file HGCalMulticlusteringImpl.cc.
References finalizeClusters(), findNeighbor(), minNDbscan_, eostools::move(), class-composition::visited, and ecaldqm::zside().
Referenced by eventSetup(), and HGCalBackendLayer2Processor3DClustering::run().
void HGCalMulticlusteringImpl::clusterizeDR | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
l1t::HGCalMulticlusterBxCollection & | multiclusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 73 of file HGCalMulticlusteringImpl.cc.
References edmIntegrityCheck::d, dr_, finalizeClusters(), createfilelist::int, isPertinent(), and mag().
Referenced by eventSetup(), and HGCalBackendLayer2Processor3DClustering::run().
|
inline |
Definition at line 21 of file HGCalMulticlusteringImpl.h.
References clusterizeDBSCAN(), clusterizeDR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, HGCalShowerShape::eventSetup(), HGCalTriggerTools::eventSetup(), finalizeClusters(), findNeighbor(), isPertinent(), shape_, and triggerTools_.
Referenced by HGCalBackendLayer2Processor3DClustering::run().
|
private |
Definition at line 175 of file HGCalMulticlusteringImpl.cc.
References fastPrimaryVertexProducer_cfi::clusters, HGCalShowerShape::coreShowerLength(), HGCalShowerShape::eMax(), HGCalShowerShape::firstLayer(), id_, HGCalShowerShape::maxLayer(), ptC3dThreshold_, BXVector< T >::push_back(), shape_, HGCalShowerShape::showerLength(), HGCalShowerShape::sigmaEtaEtaMax(), HGCalShowerShape::sigmaEtaEtaTot(), HGCalShowerShape::sigmaPhiPhiMax(), HGCalShowerShape::sigmaPhiPhiTot(), HGCalShowerShape::sigmaRRMax(), HGCalShowerShape::sigmaRRMean(), HGCalShowerShape::sigmaRRTot(), HGCalShowerShape::sigmaZZ(), and TtFullHadEvtBuilder_cfi::sumPt.
Referenced by clusterizeDBSCAN(), clusterizeDR(), and eventSetup().
|
private |
Definition at line 41 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 23 of file HGCalMulticlusteringImpl.cc.
References l1t::HGCalClusterT< C >::centreProj(), l1t::HGCalClusterT< C >::detId(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, and mag().
Referenced by clusterizeDR(), and eventSetup().
|
private |
Definition at line 54 of file HGCalMulticlusteringImpl.h.
Referenced by findNeighbor(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 51 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDR(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 59 of file HGCalMulticlusteringImpl.h.
Referenced by finalizeClusters(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 55 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 53 of file HGCalMulticlusteringImpl.h.
Referenced by HGCalMulticlusteringImpl().
|
private |
Definition at line 52 of file HGCalMulticlusteringImpl.h.
Referenced by finalizeClusters(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 57 of file HGCalMulticlusteringImpl.h.
Referenced by eventSetup(), and finalizeClusters().
|
private |
Definition at line 58 of file HGCalMulticlusteringImpl.h.
Referenced by eventSetup().