#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 17 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 341 of file HGCalClusteringImpl.cc.
References HGCalTriggerGeometryBase::getNeighborsFromTriggerCell().
Referenced by clusterizeDRNN(), and removeUnconnectedTCinCluster().
|
private |
Definition at line 396 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 42 of file HGCalClusteringImpl.cc.
References calibratePt(), edmIntegrityCheck::d, dr_, HGCHEB, mps_fire::i, createfilelist::int, 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 250 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 232 of file HGCalClusteringImpl.cc.
References ForwardEmpty, kNSides_, LayerTriplets::layers(), HGCalTriggerTools::layers(), NNKernel(), triggerCellReshuffling(), and triggerTools_.
Referenced by eventSetup().
|
inline |
Definition at line 24 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 27 of file HGCalClusteringImpl.cc.
References l1t::HGCalTriggerCell::detId(), l1t::HGCalClusterT< C >::detId(), l1t::HGCalClusterT< C >::distance(), HGCalTriggerTools::layer(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by clusterizeDR(), clusterizeDRNN(), and eventSetup().
void HGCalClusteringImpl::mergeClusters | ( | l1t::HGCalCluster & | main_cluster, |
const l1t::HGCalCluster & | secondary_cluster | ||
) | const |
Definition at line 117 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 126 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 352 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 104 of file HGCalClusteringImpl.cc.
References makeMuonMisalignmentScenario::endcap, HGCalTriggerTools::layerWithOffset(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by clusterizeNN().
|
private |
Definition at line 57 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 55 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), and HGCalClusteringImpl().
|
private |
Definition at line 54 of file HGCalClusteringImpl.h.
Referenced by HGCalClusteringImpl().
|
private |
Definition at line 53 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), and clusterizeDRNN().
|
staticprivate |
Definition at line 19 of file HGCalClusteringImpl.h.
Referenced by clusterizeNN().
|
private |
Definition at line 56 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 51 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 52 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 49 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 50 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 58 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), clusterizeNN(), eventSetup(), isPertinent(), and triggerCellReshuffling().