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