CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HGCalTriggerBackendProcessor Class Reference

#include <HGCalTriggerBackendProcessor.h>

Public Types

typedef std::unique_ptr< HGCalTriggerBackendAlgorithmBasealgo_ptr
 

Public Member Functions

 HGCalTriggerBackendProcessor (const edm::ParameterSet &conf, edm::ConsumesCollector &&cc)
 
void putInEvent (edm::Event &evt)
 
void reset ()
 
void run (const l1t::HGCFETriggerDigiCollection &coll, const edm::EventSetup &es, edm::Event &e)
 
void setGeometry (const HGCalTriggerGeometryBase *const geom)
 
void setProduces (edm::stream::EDProducer<> &prod) const
 

Private Attributes

std::vector< algo_ptralgorithms_
 

Detailed Description

Definition at line 29 of file HGCalTriggerBackendProcessor.h.

Member Typedef Documentation

◆ algo_ptr

Definition at line 40 of file HGCalTriggerBackendProcessor.h.

Constructor & Destructor Documentation

◆ HGCalTriggerBackendProcessor()

HGCalTriggerBackendProcessor::HGCalTriggerBackendProcessor ( const edm::ParameterSet conf,
edm::ConsumesCollector &&  cc 
)

Definition at line 3 of file HGCalTriggerBackendProcessor.cc.

3  {
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");
8  }
9 }

References HLT_2018_cff::algo_name, algorithms_, beamerCreator::create(), get, edm::ParameterSet::getParameterSetVector(), and AlCaHLTBitMon_QueryRunRegistry::string.

Member Function Documentation

◆ putInEvent()

void HGCalTriggerBackendProcessor::putInEvent ( edm::Event evt)

Definition at line 31 of file HGCalTriggerBackendProcessor.cc.

31  {
32  for (auto& algo : algorithms_) {
33  algo->putInEvent(evt);
34  }
35 }

References algorithms_.

◆ reset()

void HGCalTriggerBackendProcessor::reset ( void  )

Definition at line 37 of file HGCalTriggerBackendProcessor.cc.

37  {
38  for (auto& algo : algorithms_) {
39  algo->reset();
40  }
41 }

References algorithms_.

◆ run()

void HGCalTriggerBackendProcessor::run ( const l1t::HGCFETriggerDigiCollection coll,
const edm::EventSetup es,
edm::Event e 
)

Definition at line 23 of file HGCalTriggerBackendProcessor.cc.

25  {
26  for (auto& algo : algorithms_) {
27  algo->run(coll, es, e);
28  }
29 }

References algorithms_, and MillePedeFileConverter_cfg::e.

◆ setGeometry()

void HGCalTriggerBackendProcessor::setGeometry ( const HGCalTriggerGeometryBase *const  geom)

Definition at line 11 of file HGCalTriggerBackendProcessor.cc.

11  {
12  for (const auto& algo : algorithms_) {
13  algo->setGeometry(geom);
14  }
15 }

References algorithms_, and relativeConstraints::geom.

◆ setProduces()

void HGCalTriggerBackendProcessor::setProduces ( edm::stream::EDProducer<> &  prod) const

Definition at line 17 of file HGCalTriggerBackendProcessor.cc.

17  {
18  for (const auto& algo : algorithms_) {
19  algo->setProduces(prod);
20  }
21 }

References algorithms_, and dumpMFGeometry_cfg::prod.

Member Data Documentation

◆ algorithms_

std::vector<algo_ptr> HGCalTriggerBackendProcessor::algorithms_
private
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
HLT_2018_cff.algo_name
algo_name
Definition: HLT_2018_cff.py:7870
cmsdt::algo
algo
Definition: constants.h:164
HGCalTriggerBackendProcessor::algorithms_
std::vector< algo_ptr > algorithms_
Definition: HGCalTriggerBackendProcessor.h:55
dumpMFGeometry_cfg.prod
prod
Definition: dumpMFGeometry_cfg.py:24
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
get
#define get
cc
edm::ParameterSet::getParameterSetVector
VParameterSet const & getParameterSetVector(std::string const &name) const
Definition: ParameterSet.cc:2153
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37