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