#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 constexpr 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 342 of file HGCalClusteringImpl.cc.
References HGCalTriggerGeometryBase::getNeighborsFromTriggerCell().
Referenced by clusterizeDRNN(), and removeUnconnectedTCinCluster().
|
private |
Definition at line 397 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(), bsc_activity_cfg::clusters, ztail::d, dr_, HGCHEB, mps_fire::i, createfilelist::int, isPertinent(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, siliconSeedThreshold_, siliconTriggerCellThreshold_, remoteMonitoring_LASER_era2018_cfg::threshold, and trackerHitRTTI::vector.
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(), bsc_activity_cfg::clusters, dr_, HGCHEB, mps_fire::i, isPertinent(), mag(), removeUnconnectedTCinCluster(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, siliconSeedThreshold_, siliconTriggerCellThreshold_, remoteMonitoring_LASER_era2018_cfg::threshold, and trackerHitRTTI::vector.
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 bsc_activity_cfg::clusters, ForwardEmpty, kNSides_, hgcalTBTopologyTester_cfi::layers, HGCalTriggerTools::layers(), NNKernel(), triggerCellReshuffling(), 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(), and clusterizeDRNN().
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 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(), bsc_activity_cfg::clusters, Exception, HGCalTriggerGeometryBase::getNeighborsFromTriggerCell(), HGCHEB, mergeClusters(), scintillatorSeedThreshold_, scintillatorTriggerCellThreshold_, siliconSeedThreshold_, siliconTriggerCellThreshold_, and remoteMonitoring_LASER_era2018_cfg::threshold.
Referenced by clusterizeNN().
|
private |
Definition at line 353 of file HGCalClusteringImpl.cc.
References areTCneighbour(), l1t::HGCalClusterT< C >::constituents(), l1t::HGCalTriggerCell::detId(), l1t::HGCalClusterT< C >::detId(), HLT_2023v12_cff::distance, distanceSorter(), mps_fire::i, mag(), position, l1t::HGCalClusterT< C >::removeConstituent(), and jetUpdater_cfi::sort.
Referenced by clusterizeDRNN().
|
inline |
Definition at line 25 of file HGCalClusteringImpl.h.
References relativeConstraints::geom, HGCalTriggerTools::setGeometry(), and triggerTools_.
|
private |
Definition at line 104 of file HGCalClusteringImpl.cc.
References makeMuonMisalignmentScenario::endcap, pixelTopology::layer, HGCalTriggerTools::layerWithOffset(), triggerTools_, and HGCalTriggerTools::zside().
Referenced by clusterizeNN().
|
private |
Definition at line 58 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 56 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), and HGCalClusteringImpl().
|
private |
Definition at line 55 of file HGCalClusteringImpl.h.
Referenced by HGCalClusteringImpl().
|
private |
Definition at line 54 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), and clusterizeDRNN().
|
staticprivate |
Definition at line 20 of file HGCalClusteringImpl.h.
Referenced by clusterizeNN().
|
private |
Definition at line 57 of file HGCalClusteringImpl.h.
Referenced by calibratePt().
|
private |
Definition at line 52 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 53 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 51 of file HGCalClusteringImpl.h.
Referenced by clusterizeDR(), clusterizeDRNN(), HGCalClusteringImpl(), and NNKernel().
|
private |
Definition at line 59 of file HGCalClusteringImpl.h.
Referenced by calibratePt(), clusterizeNN(), isPertinent(), setGeometry(), and triggerCellReshuffling().