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
//the following line is needed to tell the framework what
5
// data is being produced
6
setWhatProduced
(
this
);
7
8
//now do what ever other initialization is needed
9
}
10
11
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
() {
12
// do anything here that needs to be done at desctruction time
13
// (e.g. close files, deallocate resources etc.)
14
}
15
16
//
17
// member functions
18
//
19
20
// ------------ method called to produce the data ------------
21
L1TriggerKeyListDummyProdExt::ReturnType
L1TriggerKeyListDummyProdExt::produce
(
const
L1TriggerKeyListExtRcd
& iRecord) {
22
return
std::make_unique<L1TriggerKeyListExt>();
23
}
24
25
//define this as a plug-in
26
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
L1TriggerKeyListDummyProdExt::L1TriggerKeyListDummyProdExt
L1TriggerKeyListDummyProdExt(const edm::ParameterSet &)
Definition:
L1TriggerKeyListDummyProdExt.cc:3
L1TriggerKeyListDummyProdExt::produce
ReturnType produce(const L1TriggerKeyListExtRcd &)
Definition:
L1TriggerKeyListDummyProdExt.cc:21
L1TriggerKeyListDummyProdExt::ReturnType
std::unique_ptr< L1TriggerKeyListExt > ReturnType
Definition:
L1TriggerKeyListDummyProdExt.h:19
L1TriggerKeyListDummyProdExt.h
L1TriggerKeyListDummyProdExt::~L1TriggerKeyListDummyProdExt
~L1TriggerKeyListDummyProdExt() override
Definition:
L1TriggerKeyListDummyProdExt.cc:11
L1TriggerKeyListExtRcd
Definition:
L1TriggerKeyListExtRcd.h:6
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.14