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 #include "boost/shared_ptr.hpp"
21 
22 #include <vector>
23 
24 // user include files
25 // base class
27 
30 
32 
33 // forward declarations
34 
35 // constructor(s)
37  const edm::ParameterSet& parSet)
38 {
39  // tell the framework what data is being produced
40  setWhatProduced(this,
42 
43  // now do what ever other initialization is needed
44 
46  parSet.getParameter<std::vector<unsigned int> >("TriggerMask");
47 
48 }
49 
50 // destructor
52 {
53 
54  // empty
55 
56 }
57 
58 // member functions
59 
60 // method called to produce the data
62  const L1GtTriggerMaskVetoTechTrigRcd& iRecord)
63 {
64  boost::shared_ptr<L1GtTriggerMask> pL1GtTriggerMask = boost::shared_ptr<L1GtTriggerMask>(
66 
67  return pL1GtTriggerMask ;
68 }
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