CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtTriggerMaskVetoTechTrigTrivialProducer.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  const edm::ParameterSet& parSet)
37 {
38  // tell the framework what data is being produced
39  setWhatProduced(this,
41 
42  // now do what ever other initialization is needed
43 
45  parSet.getParameter<std::vector<unsigned int> >("TriggerMask");
46 
47 }
48 
49 // destructor
51 {
52 
53  // empty
54 
55 }
56 
57 // member functions
58 
59 // method called to produce the data
61  const L1GtTriggerMaskVetoTechTrigRcd& iRecord)
62 {
63  return std::make_shared<L1GtTriggerMask>(m_triggerMask);
64 }
T getParameter(std::string const &) const
L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet &)
constructor
std::shared_ptr< L1GtTriggerMask > produceTriggerMask(const L1GtTriggerMaskVetoTechTrigRcd &)
public methods
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115