test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
HGCalTriggerBackendProcessor Class Reference

#include <HGCalTriggerBackendProcessor.h>

Public Types

typedef std::unique_ptr
< HGCalTriggerBackendAlgorithmBase
algo_ptr
 

Public Member Functions

 HGCalTriggerBackendProcessor (const edm::ParameterSet &conf)
 
void putInEvent (edm::Event &evt)
 
void reset ()
 
void run (const l1t::HGCFETriggerDigiCollection &coll, const std::unique_ptr< HGCalTriggerGeometryBase > &geom)
 
void setProduces (edm::EDProducer &prod) const
 

Private Attributes

std::vector< algo_ptralgorithms_
 

Detailed Description

Definition at line 30 of file HGCalTriggerBackendProcessor.h.

Member Typedef Documentation

Definition at line 32 of file HGCalTriggerBackendProcessor.h.

Constructor & Destructor Documentation

HGCalTriggerBackendProcessor::HGCalTriggerBackendProcessor ( const edm::ParameterSet conf)

Definition at line 4 of file HGCalTriggerBackendProcessor.cc.

References ecalcalib_dqm_sourceclient-live_cfg::algo, algorithms_, reco::get(), edm::ParameterSet::getParameterSetVector(), and AlCaHLTBitMon_QueryRunRegistry::string.

4  {
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 }
VParameterSet const & getParameterSetVector(std::string const &name) const
T get(const Candidate &c)
Definition: component.h:55

Member Function Documentation

void HGCalTriggerBackendProcessor::putInEvent ( edm::Event evt)
void HGCalTriggerBackendProcessor::reset ( void  )
void HGCalTriggerBackendProcessor::run ( const l1t::HGCFETriggerDigiCollection coll,
const std::unique_ptr< HGCalTriggerGeometryBase > &  geom 
)
void HGCalTriggerBackendProcessor::setProduces ( edm::EDProducer prod) const

Member Data Documentation

std::vector<algo_ptr> HGCalTriggerBackendProcessor::algorithms_
private