◆ ClusterType
◆ HGCalBackendLayer1Processor2DClustering()
HGCalBackendLayer1Processor2DClustering::HGCalBackendLayer1Processor2DClustering |
( |
const edm::ParameterSet & |
conf | ) |
|
|
inline |
Definition at line 12 of file HGCalBackendLayer1Processor2DClustering.cc.
References clustering_, clusteringAlgorithmType_, clusteringDummy_, dRC2d, dRNNC2d, dummyC2d, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), NNC2d, and AlCaHLTBitMon_QueryRunRegistry::string.
14 if (typeCluster ==
"dRC2d") {
17 }
else if (typeCluster ==
"NNC2d") {
20 }
else if (typeCluster ==
"dRNNC2d") {
23 }
else if (typeCluster ==
"dummyC2d") {
27 throw cms::Exception(
"HGCTriggerParameterError") <<
"Unknown clustering type '" << typeCluster;
ClusterType clusteringAlgorithmType_
T getParameter(std::string const &) const
ParameterSet const & getParameterSet(std::string const &) const
HGCalProcessorBaseT< edm::Handle< l1t::HGCalTriggerCellBxCollection >, l1t::HGCalClusterBxCollection > HGCalBackendLayer1ProcessorBase
std::unique_ptr< HGCalClusteringImpl > clustering_
std::unique_ptr< HGCalClusteringDummyImpl > clusteringDummy_
◆ run()
Definition at line 31 of file HGCalBackendLayer1Processor2DClustering.cc.
References a, b, clustering_, clusteringAlgorithmType_, clusteringDummy_, dRC2d, dRNNC2d, dummyC2d, HGCalProcessorBaseT< InputCollection, OutputCollection >::geometry(), mps_fire::i, NNC2d, BXVector< T >::size(), and jetsAK4_CHS_cff::sort.
39 std::vector<edm::Ptr<l1t::HGCalTriggerCell>> triggerCellsPtrs;
40 for (
unsigned i = 0;
i < collHandle->
size(); ++
i) {
42 triggerCellsPtrs.push_back(ptr);
46 triggerCellsPtrs.end(),
48 return a->mipPt() >
b->mipPt();
54 clustering_->clusterizeDR(triggerCellsPtrs, collCluster2D);
ClusterType clusteringAlgorithmType_
unsigned size(int bx) const
const HGCalTriggerGeometryBase * geometry() const
std::unique_ptr< HGCalClusteringImpl > clustering_
std::unique_ptr< HGCalClusteringDummyImpl > clusteringDummy_
◆ clustering_
◆ clusteringAlgorithmType_
ClusterType HGCalBackendLayer1Processor2DClustering::clusteringAlgorithmType_ |
|
private |
◆ clusteringDummy_