CMS 3D CMS Logo

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