HGCalBackendLayer2Processor3DClustering::HGCalBackendLayer2Processor3DClustering |
( |
const edm::ParameterSet & |
conf | ) |
|
|
inline |
Definition at line 15 of file HGCalBackendLayer2Processor3DClustering.cc.
References DBSCANC3d, dRC3d, energy_interpreters_, Exception, timingPdfMaker::get, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), HistoC3d, eostools::move(), multiclustering_, multiclusteringAlgoType_, multiclusteringHistoClustering_, multiclusteringHistoSeeding_, and AlCaHLTBitMon_QueryRunRegistry::string.
17 if (typeMulticluster ==
"dRC3d") {
20 }
else if (typeMulticluster ==
"DBSCANC3d") {
23 }
else if (typeMulticluster ==
"Histo") {
30 throw cms::Exception(
"HGCTriggerParameterError") <<
"Unknown Multiclustering type '" << typeMulticluster <<
"'";
33 for (
const auto& interpretationPset : conf.
getParameter<std::vector<edm::ParameterSet>>(
"energy_interpretations")) {
34 std::unique_ptr<HGCalTriggerClusterInterpreterBase> interpreter{
36 interpreter->initialize(interpretationPset);
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_
std::vector< std::unique_ptr< HGCalTriggerClusterInterpreterBase > > energy_interpreters_
HGCalProcessorBaseT< edm::Handle< l1t::HGCalClusterBxCollection >, l1t::HGCalMulticlusterBxCollection > HGCalBackendLayer2ProcessorBase
Definition at line 41 of file HGCalBackendLayer2Processor3DClustering.cc.
References DBSCANC3d, dRC3d, energy_interpreters_, edm::EventSetup::get(), HistoC3d, mps_fire::i, multiclustering_, multiclusteringAlgoType_, multiclusteringHistoClustering_, multiclusteringHistoSeeding_, BXVector< T >::size(), and triggerGeometry_.
53 std::vector<edm::Ptr<l1t::HGCalCluster>> clustersPtrs;
54 for (
unsigned i = 0;
i < collHandle->
size(); ++
i) {
56 clustersPtrs.push_back(ptr);
60 std::vector<std::pair<GlobalPoint, double>> seedPositionsEnergy;
82 interpreter->eventSetup(es);
83 interpreter->interpret(collCluster3D);
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_
std::vector< std::unique_ptr< HGCalTriggerClusterInterpreterBase > > energy_interpreters_
MulticlusterType HGCalBackendLayer2Processor3DClustering::multiclusteringAlgoType_ |
|
private |
std::unique_ptr<HGCalHistoSeedingImpl> HGCalBackendLayer2Processor3DClustering::multiclusteringHistoSeeding_ |
|
private |