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
17
// this class header
18
#include "
L1TriggerConfig/L1GtConfigProducers/interface/L1GtTriggerMaskVetoAlgoTrigTrivialProducer.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/L1GtTriggerMaskVetoAlgoTrigRcd.h
"
34
35
// forward declarations
36
37
// constructor(s)
38
L1GtTriggerMaskVetoAlgoTrigTrivialProducer::L1GtTriggerMaskVetoAlgoTrigTrivialProducer
(
39
const
edm::ParameterSet
& parSet)
40
{
41
// tell the framework what data is being produced
42
setWhatProduced
(
this
,
43
&
L1GtTriggerMaskVetoAlgoTrigTrivialProducer::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
L1GtTriggerMaskVetoAlgoTrigTrivialProducer::~L1GtTriggerMaskVetoAlgoTrigTrivialProducer
()
54
{
55
56
// empty
57
58
}
59
60
// member functions
61
62
// method called to produce the data
63
boost::shared_ptr<L1GtTriggerMask>
L1GtTriggerMaskVetoAlgoTrigTrivialProducer::produceTriggerMask
(
64
const
L1GtTriggerMaskVetoAlgoTrigRcd
& iRecord)
65
{
66
boost::shared_ptr<L1GtTriggerMask> pL1GtTriggerMask = boost::shared_ptr<L1GtTriggerMask>(
67
new
L1GtTriggerMask
(
m_triggerMask
) );
68
69
return
pL1GtTriggerMask ;
70
}
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:63
L1GtTriggerMaskVetoAlgoTrigTrivialProducer::~L1GtTriggerMaskVetoAlgoTrigTrivialProducer
~L1GtTriggerMaskVetoAlgoTrigTrivialProducer()
destructor
Definition:
L1GtTriggerMaskVetoAlgoTrigTrivialProducer.cc:53
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:38
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:59
Generated for CMSSW Reference Manual by
1.8.5