Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1TriggerConfig
L1GtConfigProducers
src
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc
Go to the documentation of this file.
1
17
// this class header
18
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMaskVetoTechTrigTrivialProducer.h
"
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
28
#include "
FWCore/Framework/interface/ESProducer.h
"
29
30
#include "
FWCore/Framework/interface/ModuleFactory.h
"
31
#include "
FWCore/Framework/interface/ESHandle.h
"
32
33
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskVetoTechTrigRcd.h
"
34
35
// forward declarations
36
37
// constructor(s)
38
L1GtTriggerMaskVetoTechTrigTrivialProducer::L1GtTriggerMaskVetoTechTrigTrivialProducer
(
39
const
edm::ParameterSet
& parSet)
40
{
41
// tell the framework what data is being produced
42
setWhatProduced
(
this
,
43
&
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
);
44
45
// now do what ever other initialization is needed
46
47
m_triggerMask
=
48
parSet.
getParameter
<std::vector<unsigned int> >(
"TriggerMask"
);
49
50
}
51
52
// destructor
53
L1GtTriggerMaskVetoTechTrigTrivialProducer::~L1GtTriggerMaskVetoTechTrigTrivialProducer
()
54
{
55
56
// empty
57
58
}
59
60
// member functions
61
62
// method called to produce the data
63
boost::shared_ptr<L1GtTriggerMask>
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
(
64
const
L1GtTriggerMaskVetoTechTrigRcd
& iRecord)
65
{
66
boost::shared_ptr<L1GtTriggerMask> pL1GtTriggerMask = boost::shared_ptr<L1GtTriggerMask>(
67
new
L1GtTriggerMask
(
m_triggerMask
) );
68
69
return
pL1GtTriggerMask ;
70
}
L1GtTriggerMaskVetoTechTrigRcd.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
L1GtTriggerMaskVetoTechTrigTrivialProducer::L1GtTriggerMaskVetoTechTrigTrivialProducer
L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet &)
constructor
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:38
L1GtTriggerMaskVetoTechTrigTrivialProducer::~L1GtTriggerMaskVetoTechTrigTrivialProducer
~L1GtTriggerMaskVetoTechTrigTrivialProducer()
destructor
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:53
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
boost::shared_ptr< L1GtTriggerMask > produceTriggerMask(const L1GtTriggerMaskVetoTechTrigRcd &)
public methods
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:63
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
L1GtTriggerMaskVetoTechTrigRcd
Definition:
L1GtTriggerMaskVetoTechTrigRcd.h:39
ESHandle.h
L1GtTriggerMask
Definition:
L1GtTriggerMask.h:31
ESProducer.h
L1GtTriggerMaskVetoTechTrigTrivialProducer::m_triggerMask
std::vector< unsigned int > m_triggerMask
trigger mask
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.h:59
edm::ParameterSet
Definition:
ParameterSet.h:35
ModuleFactory.h
L1GtTriggerMaskVetoTechTrigTrivialProducer.h
Generated for CMSSW Reference Manual by
1.8.5