#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 | 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_ |
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 8 of file HGCalMulticlusteringImpl.cc.
References distDbscan_, dr_, minNDbscan_, multiclusterAlgoType_, and ptC3dThreshold_.
void HGCalMulticlusteringImpl::clusterizeDBSCAN | ( | const std::vector< edm::Ptr< l1t::HGCalCluster >> & | clustersPtr, |
l1t::HGCalMulticlusterBxCollection & | multiclusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 147 of file HGCalMulticlusteringImpl.cc.
References HGCalShowerShape::coreShowerLength(), HGCalShowerShape::eMax(), PVValHelper::eta, findNeighbor(), HGCalShowerShape::firstLayer(), mps_fire::i, HGCalShowerShape::maxLayer(), minNDbscan_, eostools::move(), phi, EnergyCorrector::pt, ptC3dThreshold_, BXVector< T >::push_back(), shape_, HGCalShowerShape::showerLength(), HGCalShowerShape::sigmaEtaEtaMax(), HGCalShowerShape::sigmaEtaEtaTot(), HGCalShowerShape::sigmaPhiPhiMax(), HGCalShowerShape::sigmaPhiPhiTot(), HGCalShowerShape::sigmaRRMax(), HGCalShowerShape::sigmaRRMean(), HGCalShowerShape::sigmaRRTot(), HGCalShowerShape::sigmaZZ(), TtFullHadEvtBuilder_cfi::sumPt, class-composition::visited, and HcalDigiParam_cfi::zside.
Referenced by eventSetup().
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 HGCalShowerShape::coreShowerLength(), edmIntegrityCheck::d, dr_, HGCalShowerShape::eMax(), PVValHelper::eta, HGCalShowerShape::firstLayer(), mps_fire::i, isPertinent(), mag(), HGCalShowerShape::maxLayer(), phi, EnergyCorrector::pt, 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 eventSetup().
|
inline |
Definition at line 20 of file HGCalMulticlusteringImpl.h.
References clusterizeDBSCAN(), clusterizeDR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, HGCalShowerShape::eventSetup(), HGCalTriggerTools::eventSetup(), findNeighbor(), isPertinent(), shape_, and triggerTools_.
|
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 50 of file HGCalMulticlusteringImpl.h.
Referenced by findNeighbor(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 47 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDR(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 51 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 49 of file HGCalMulticlusteringImpl.h.
Referenced by HGCalMulticlusteringImpl().
|
private |
Definition at line 48 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), clusterizeDR(), and HGCalMulticlusteringImpl().
|
private |
Definition at line 53 of file HGCalMulticlusteringImpl.h.
Referenced by clusterizeDBSCAN(), clusterizeDR(), and eventSetup().
|
private |
Definition at line 54 of file HGCalMulticlusteringImpl.h.
Referenced by eventSetup().