CMS 3D CMS Logo

L1GtTriggerMaskAlgoTrigTrivialProducer.cc
Go to the documentation of this file.
1 
15 // this class header
17 
18 // system include files
19 #include <memory>
20 
21 #include <vector>
22 
23 // user include files
24 // base class
26 
29 
31 
32 // forward declarations
33 
34 // constructor(s)
36  // tell the framework what data is being produced
38 
39  // now do what ever other initialization is needed
40 
41  m_triggerMask = parSet.getParameter<std::vector<unsigned int> >("TriggerMask");
42 }
43 
44 // destructor
46  // empty
47 }
48 
49 // member functions
50 
51 // method called to produce the data
53  const L1GtTriggerMaskAlgoTrigRcd& iRecord) {
54  return std::make_unique<L1GtTriggerMask>(m_triggerMask);
55 }
L1GtTriggerMaskAlgoTrigTrivialProducer.h
L1GtTriggerMaskAlgoTrigRcd.h
ESHandle.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
ESProducer.h
L1GtTriggerMaskAlgoTrigRcd
Definition: L1GtTriggerMaskAlgoTrigRcd.h:39
L1GtTriggerMaskAlgoTrigTrivialProducer::L1GtTriggerMaskAlgoTrigTrivialProducer
L1GtTriggerMaskAlgoTrigTrivialProducer(const edm::ParameterSet &)
constructor
Definition: L1GtTriggerMaskAlgoTrigTrivialProducer.cc:35
L1GtTriggerMaskAlgoTrigTrivialProducer::m_triggerMask
std::vector< unsigned int > m_triggerMask
trigger mask
Definition: L1GtTriggerMaskAlgoTrigTrivialProducer.h:50
edm::ParameterSet
Definition: ParameterSet.h:47
ModuleFactory.h
L1GtTriggerMaskAlgoTrigTrivialProducer::produceTriggerMask
std::unique_ptr< L1GtTriggerMask > produceTriggerMask(const L1GtTriggerMaskAlgoTrigRcd &)
public methods
Definition: L1GtTriggerMaskAlgoTrigTrivialProducer.cc:52
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1GtTriggerMaskAlgoTrigTrivialProducer::~L1GtTriggerMaskAlgoTrigTrivialProducer
~L1GtTriggerMaskAlgoTrigTrivialProducer() override
destructor
Definition: L1GtTriggerMaskAlgoTrigTrivialProducer.cc:45