#include <HGCalClusteringImpl.h>
Private Member Functions | |
bool | areTCneighbour (uint32_t detIDa, uint32_t detIDb, const HGCalTriggerGeometryBase &triggerGeometry) |
void | calibratePt (l1t::HGCalCluster &cluster) |
void | removeUnconnectedTCinCluster (l1t::HGCalCluster &cluster, const HGCalTriggerGeometryBase &triggerGeometry) |
void | triggerCellReshuffling (const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, std::array< std::vector< std::vector< edm::Ptr< l1t::HGCalTriggerCell >>>, kNSides_ > &reshuffledTriggerCells) |
Private Attributes | |
bool | applyLayerWeights_ |
double | calibSF_ |
std::string | clusteringAlgorithmType_ |
double | dr_ |
std::vector< double > | layerWeights_ |
double | scintillatorSeedThreshold_ |
double | scintillatorTriggerCellThreshold_ |
double | siliconSeedThreshold_ |
double | siliconTriggerCellThreshold_ |
HGCalTriggerTools | triggerTools_ |
Static Private Attributes | |
static const unsigned | kNSides_ = 2 |
Definition at line 18 of file HGCalClusteringImpl.h.
HGCalClusteringImpl::HGCalClusteringImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 8 of file HGCalClusteringImpl.cc.
References calibSF_, clusteringAlgorithmType_, scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, siliconSeedThreshold_, and siliconTriggerCellThreshold_.
|
private |
Definition at line 378 of file HGCalClusteringImpl.cc.
References HGCalTriggerGeometryBase::getNeighborsFromTriggerCell().
Referenced by clusterizeDRNN(), and removeUnconnectedTCinCluster().
|
private |
Definition at line 441 of file HGCalClusteringImpl.cc.
References applyLayerWeights_, calibSF_, l1t::HGCalClusterT< C >::detId(), reco::LeafCandidate::eta(), Exception, layerWeights_, HGCalTriggerTools::layerWithOffset(), l1t::HGCalClusterT< C >::mipPt(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::setP4(), and triggerTools_.
Referenced by clusterizeDR(), clusterizeDRNN(), and NNKernel().
void HGCalClusteringImpl::clusterizeDR | ( | const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> & | triggerCellsPtrs, |
l1t::HGCalClusterBxCollection & | clusters | ||
) |
Definition at line 49 of file HGCalClusteringImpl.cc.
References calibratePt(), edmIntegrityCheck::d, dr_, HGCHEB, mps_fire::i, isPertinent(), BXVector< T >::resize(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, UEAnalysisJets_cfi::seedThreshold, BXVector< T >::set(), siliconSeedThreshold_, siliconTriggerCellThreshold_, and electronIdCutBased_cfi::threshold.
Referenced by eventSetup().
void HGCalClusteringImpl::clusterizeDRNN | ( | const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> & | triggerCellsPtrs, |
l1t::HGCalClusterBxCollection & | clusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 281 of file HGCalClusteringImpl.cc.
References areTCneighbour(), calibratePt(), dr_, HGCHEB, mps_fire::i, isPertinent(), mag(), removeUnconnectedTCinCluster(), BXVector< T >::resize(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, UEAnalysisJets_cfi::seedThreshold, BXVector< T >::set(), siliconSeedThreshold_, siliconTriggerCellThreshold_, and electronIdCutBased_cfi::threshold.
Referenced by eventSetup().
void HGCalClusteringImpl::clusterizeNN | ( | const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> & | triggerCellsPtrs, |
l1t::HGCalClusterBxCollection & | clusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 257 of file HGCalClusteringImpl.cc.
References ForwardEmpty, kNSides_, LayerTriplets::layers(), HGCalTriggerTools::layers(), NNKernel(), triggerCellReshuffling(), and triggerTools_.
Referenced by eventSetup().
|
inline |
Definition at line 27 of file HGCalClusteringImpl.h.
References clusterizeDR(), clusterizeDRNN(), clusterizeNN(), fastPrimaryVertexProducer_cfi::clusters, HGCalTriggerTools::eventSetup(), isPertinent(), mergeClusters(), NNKernel(), and triggerTools_.
bool HGCalClusteringImpl::isPertinent | ( | const l1t::HGCalTriggerCell & | tc, |
const l1t::HGCalCluster & | clu, | ||
double | distXY | ||
) | const |
Definition at line 29 of file HGCalClusteringImpl.cc.
References l1t::HGCalTriggerCell::detId(), l1t::HGCalClusterT< C >::detId(), and l1t::HGCalClusterT< C >::distance().
Referenced by clusterizeDR(), clusterizeDRNN(), and eventSetup().
void HGCalClusteringImpl::mergeClusters | ( | l1t::HGCalCluster & | main_cluster, |
const l1t::HGCalCluster & | secondary_cluster | ||
) | const |
Definition at line 139 of file HGCalClusteringImpl.cc.
References l1t::HGCalClusterT< C >::addConstituent(), and l1t::HGCalClusterT< C >::constituents().
Referenced by eventSetup(), and NNKernel().
void HGCalClusteringImpl::NNKernel | ( | const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> & | reshuffledTriggerCells, |
l1t::HGCalClusterBxCollection & | clusters, | ||
const HGCalTriggerGeometryBase & | triggerGeometry | ||
) |
Definition at line 152 of file HGCalClusteringImpl.cc.
References calibratePt(), Exception, HGCalTriggerGeometryBase::getNeighborsFromTriggerCell(), HGCHEB, mergeClusters(), BXVector< T >::push_back(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, UEAnalysisJets_cfi::seedThreshold, siliconSeedThreshold_, siliconTriggerCellThreshold_, and electronIdCutBased_cfi::threshold.
Referenced by clusterizeNN(), and eventSetup().
|
private |
Definition at line 390 of file HGCalClusteringImpl.cc.
References areTCneighbour(), l1t::HGCalClusterT< C >::constituents(), l1t::HGCalTriggerCell::detId(), l1t::HGCalClusterT< C >::detId(), SoftLeptonByDistance_cfi::distance, distanceSorter(), mps_fire::i, mag(), position, and l1t::HGCalClusterT< C >::removeConstituent().
Referenced by clusterizeDRNN().
|
private |
Definition at line 122 of file HGCalClusteringImpl.cc.
References makeMuonMisalignmentScenario::endcap, HGCalTriggerTools::layerWithOffset(), and triggerTools_.
Referenced by clusterizeNN().
|
private |
Definition at line 70 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 68 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), and HGCalClusteringImpl().
|
private |
Definition at line 67 of file HGCalClusteringImpl.h.
Referenced by HGCalClusteringImpl().
|
private |
Definition at line 66 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), and clusterizeDRNN().
|
staticprivate |
Definition at line 21 of file HGCalClusteringImpl.h.
Referenced by clusterizeNN().
|
private |
Definition at line 69 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 64 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 65 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 62 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 63 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 71 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), clusterizeNN(), eventSetup(), and triggerCellReshuffling().