HGCalBackendLayer2Processor3DClustering::HGCalBackendLayer2Processor3DClustering |
( |
const edm::ParameterSet & |
conf | ) |
|
|
inline |
Definition at line 14 of file HGCalBackendLayer2Processor3DClustering.cc.
References DBSCANC3d, dRC3d, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), HistoC3d, multiclustering_, multiclusteringAlgoType_, multiclusteringHistoClustering_, multiclusteringHistoSeeding_, and AlCaHLTBitMon_QueryRunRegistry::string.
16 if (typeMulticluster ==
"dRC3d") {
19 }
else if (typeMulticluster ==
"DBSCANC3d") {
22 }
else if (typeMulticluster.find(
"Histo") != std::string::npos) {
26 std::make_unique<HGCalHistoClusteringImpl>(conf.
getParameterSet(
"C3d_parameters"));
28 throw cms::Exception(
"HGCTriggerParameterError") <<
"Unknown Multiclustering type '" << typeMulticluster <<
"'";
T getParameter(std::string const &) const
std::unique_ptr< HGCalMulticlusteringImpl > multiclustering_
std::unique_ptr< HGCalHistoSeedingImpl > multiclusteringHistoSeeding_
std::unique_ptr< HGCalHistoClusteringImpl > multiclusteringHistoClustering_
ParameterSet const & getParameterSet(std::string const &) const
MulticlusterType multiclusteringAlgoType_
HGCalProcessorBaseT< edm::Handle< l1t::HGCalClusterBxCollection >, l1t::HGCalMulticlusterBxCollection > HGCalBackendLayer2ProcessorBase
Definition at line 32 of file HGCalBackendLayer2Processor3DClustering.cc.
References DBSCANC3d, dRC3d, edm::EventSetup::get(), HistoC3d, mps_fire::i, multiclustering_, multiclusteringAlgoType_, multiclusteringHistoClustering_, multiclusteringHistoSeeding_, BXVector< T >::size(), and triggerGeometry_.
44 std::vector<edm::Ptr<l1t::HGCalCluster>> clustersPtrs;
45 for (
unsigned i = 0;
i < collHandle->
size(); ++
i) {
47 clustersPtrs.push_back(ptr);
51 std::vector<std::pair<GlobalPoint, double>> seedPositionsEnergy;
unsigned size(int bx) const
std::unique_ptr< HGCalMulticlusteringImpl > multiclustering_
std::unique_ptr< HGCalHistoSeedingImpl > multiclusteringHistoSeeding_
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_
std::unique_ptr< HGCalHistoClusteringImpl > multiclusteringHistoClustering_
MulticlusterType multiclusteringAlgoType_
MulticlusterType HGCalBackendLayer2Processor3DClustering::multiclusteringAlgoType_ |
|
private |
std::unique_ptr<HGCalHistoSeedingImpl> HGCalBackendLayer2Processor3DClustering::multiclusteringHistoSeeding_ |
|
private |