CMS 3D CMS Logo

HGCalTriggerBackendProcessor.cc
Go to the documentation of this file.
2 
4  const std::vector<edm::ParameterSet>& be_confs = conf.getParameterSetVector("algorithms");
5  for (const auto& algo_cfg : be_confs) {
6  const std::string& algo_name = algo_cfg.getParameter<std::string>("AlgorithmName");
7  algorithms_.emplace_back(HGCalTriggerBackendAlgorithmFactory::get()->create(algo_name, algo_cfg, cc));
8  }
9 }
10 
12  for (const auto& algo : algorithms_) {
13  algo->setGeometry(geom);
14  }
15 }
16 
18  for (const auto& algo : algorithms_) {
19  algo->setProduces(prod);
20  }
21 }
22 
24  const edm::EventSetup& es,
25  edm::Event& e) {
26  for (auto& algo : algorithms_) {
27  algo->run(coll, es, e);
28  }
29 }
30 
32  for (auto& algo : algorithms_) {
33  algo->putInEvent(evt);
34  }
35 }
36 
38  for (auto& algo : algorithms_) {
39  algo->reset();
40  }
41 }
VParameterSet const & getParameterSetVector(std::string const &name) const
def create(alignables, pedeDump, additionalData, outputFile, config)
void run(const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &e)
HGCalTriggerBackendProcessor(const edm::ParameterSet &conf, edm::ConsumesCollector &&cc)
void setGeometry(const HGCalTriggerGeometryBase *const geom)
JetCorrectorParametersCollection coll
Definition: classes.h:10
T get(const Candidate &c)
Definition: component.h:55
void setProduces(edm::stream::EDProducer<> &prod) const