test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondTools
L1TriggerExt
plugins
L1TriggerKeyListDummyProdExt.cc
Go to the documentation of this file.
1
#include "
CondTools/L1TriggerExt/plugins/L1TriggerKeyListDummyProdExt.h
"
2
3
L1TriggerKeyListDummyProdExt::L1TriggerKeyListDummyProdExt
(
const
edm::ParameterSet
& iConfig)
4
{
5
//the following line is needed to tell the framework what
6
// data is being produced
7
setWhatProduced
(
this
);
8
9
//now do what ever other initialization is needed
10
}
11
12
13
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
()
14
{
15
16
// do anything here that needs to be done at desctruction time
17
// (e.g. close files, deallocate resources etc.)
18
19
}
20
21
22
//
23
// member functions
24
//
25
26
// ------------ method called to produce the data ------------
27
L1TriggerKeyListDummyProdExt::ReturnType
28
L1TriggerKeyListDummyProdExt::produce
(
const
L1TriggerKeyListExtRcd
& iRecord)
29
{
30
using namespace
edm::es;
31
boost::shared_ptr<L1TriggerKeyListExt> pL1TriggerKeyList ;
32
33
pL1TriggerKeyList = boost::shared_ptr< L1TriggerKeyListExt >(
34
new
L1TriggerKeyListExt
() ) ;
35
36
return
pL1TriggerKeyList ;
37
}
38
39
//define this as a plug-in
40
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
L1TriggerKeyListDummyProdExt::ReturnType
boost::shared_ptr< L1TriggerKeyListExt > ReturnType
Definition:
L1TriggerKeyListDummyProdExt.h:20
L1TriggerKeyListDummyProdExt::L1TriggerKeyListDummyProdExt
L1TriggerKeyListDummyProdExt(const edm::ParameterSet &)
Definition:
L1TriggerKeyListDummyProdExt.cc:3
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
L1TriggerKeyListDummyProdExt::produce
ReturnType produce(const L1TriggerKeyListExtRcd &)
Definition:
L1TriggerKeyListDummyProdExt.cc:28
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
~L1TriggerKeyListDummyProdExt()
Definition:
L1TriggerKeyListDummyProdExt.cc:13
L1TriggerKeyListDummyProdExt.h
L1TriggerKeyListExtRcd
Definition:
L1TriggerKeyListExtRcd.h:6
edm::ParameterSet
Definition:
ParameterSet.h:36
L1TriggerKeyListExt
Definition:
L1TriggerKeyListExt.h:10
Generated for CMSSW Reference Manual by
1.8.5