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 
17 // this class header
19 
20 // system include files
21 #include <memory>
22 #include "boost/shared_ptr.hpp"
23 
24 #include <vector>
25 
26 // user include files
27 // base class
29 
32 
34 
35 // forward declarations
36 
37 // constructor(s)
39  const edm::ParameterSet& parSet)
40 {
41  // tell the framework what data is being produced
42  setWhatProduced(this,
44 
45  // now do what ever other initialization is needed
46 
48  parSet.getParameter<std::vector<unsigned int> >("TriggerMask");
49 
50 }
51 
52 // destructor
54 {
55 
56  // empty
57 
58 }
59 
60 // member functions
61 
62 // method called to produce the data
64  const L1GtTriggerMaskVetoTechTrigRcd& iRecord)
65 {
66  boost::shared_ptr<L1GtTriggerMask> pL1GtTriggerMask = boost::shared_ptr<L1GtTriggerMask>(
68 
69  return pL1GtTriggerMask ;
70 }
T getParameter(std::string const &) const
L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet &)
constructor
boost::shared_ptr< L1GtTriggerMask > produceTriggerMask(const L1GtTriggerMaskVetoTechTrigRcd &)
public methods
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115