Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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
21
#include <vector>
22
23
// user include files
24
// base class
25
#include "
FWCore/Framework/interface/ESProducer.h
"
26
27
#include "
FWCore/Framework/interface/ModuleFactory.h
"
28
#include "
FWCore/Framework/interface/ESHandle.h
"
29
30
#include "
CondFormats/DataRecord/interface/L1GtTriggerMaskVetoTechTrigRcd.h
"
31
32
// forward declarations
33
34
// constructor(s)
35
L1GtTriggerMaskVetoTechTrigTrivialProducer::L1GtTriggerMaskVetoTechTrigTrivialProducer
(
const
edm::ParameterSet
& parSet) {
36
// tell the framework what data is being produced
37
setWhatProduced
(
this
, &
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
);
38
39
// now do what ever other initialization is needed
40
41
m_triggerMask
= parSet.
getParameter
<std::vector<unsigned int> >(
"TriggerMask"
);
42
}
43
44
// destructor
45
L1GtTriggerMaskVetoTechTrigTrivialProducer::~L1GtTriggerMaskVetoTechTrigTrivialProducer
() {
46
// empty
47
}
48
49
// member functions
50
51
// method called to produce the data
52
std::unique_ptr<L1GtTriggerMask>
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
(
53
const
L1GtTriggerMaskVetoTechTrigRcd
& iRecord) {
54
return
std::make_unique<L1GtTriggerMask>(
m_triggerMask
);
55
}
L1GtTriggerMaskVetoTechTrigTrivialProducer::m_triggerMask
std::vector< unsigned int > m_triggerMask
trigger mask
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.h:50
L1GtTriggerMaskVetoTechTrigTrivialProducer::produceTriggerMask
std::unique_ptr< L1GtTriggerMask > produceTriggerMask(const L1GtTriggerMaskVetoTechTrigRcd &)
public methods
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:52
ESHandle.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
ESProducer.h
L1GtTriggerMaskVetoTechTrigRcd
Definition:
L1GtTriggerMaskVetoTechTrigRcd.h:39
L1GtTriggerMaskVetoTechTrigTrivialProducer::L1GtTriggerMaskVetoTechTrigTrivialProducer
L1GtTriggerMaskVetoTechTrigTrivialProducer(const edm::ParameterSet &)
constructor
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:35
L1GtTriggerMaskVetoTechTrigTrivialProducer::~L1GtTriggerMaskVetoTechTrigTrivialProducer
~L1GtTriggerMaskVetoTechTrigTrivialProducer() override
destructor
Definition:
L1GtTriggerMaskVetoTechTrigTrivialProducer.cc:45
L1GtTriggerMaskVetoTechTrigRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
ModuleFactory.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
L1GtTriggerMaskVetoTechTrigTrivialProducer.h
Generated for CMSSW Reference Manual by
1.8.16