Main Page
Namespaces
Classes
Package Documentation
src
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
return
std::make_unique< L1TriggerKeyListExt >() ;
31
}
32
33
//define this as a plug-in
34
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:124
L1TriggerKeyListDummyProdExt::L1TriggerKeyListDummyProdExt
L1TriggerKeyListDummyProdExt(const edm::ParameterSet &)
Definition:
L1TriggerKeyListDummyProdExt.cc:3
L1TriggerKeyListDummyProdExt::produce
ReturnType produce(const L1TriggerKeyListExtRcd &)
Definition:
L1TriggerKeyListDummyProdExt.cc:28
L1TriggerKeyListDummyProdExt::ReturnType
std::unique_ptr< L1TriggerKeyListExt > ReturnType
Definition:
L1TriggerKeyListDummyProdExt.h:19
L1TriggerKeyListDummyProdExt.h
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
~L1TriggerKeyListDummyProdExt() override
Definition:
L1TriggerKeyListDummyProdExt.cc:13
L1TriggerKeyListExtRcd
Definition:
L1TriggerKeyListExtRcd.h:6
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11