Main Page
Namespaces
Classes
Package Documentation
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
return
std::make_shared< L1TriggerKeyListExt >() ;
32
}
33
34
//define this as a plug-in
35
//DEFINE_FWK_EVENTSETUP_MODULE(L1TriggerKeyListDummyProdExt);
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
edm::es
Definition:
es_Label.h:33
L1TriggerKeyListDummyProdExt::ReturnType
std::shared_ptr< L1TriggerKeyListExt > ReturnType
Definition:
L1TriggerKeyListDummyProdExt.h:19
L1TriggerKeyListDummyProdExt.h
L1TriggerKeyListExtRcd
Definition:
L1TriggerKeyListExtRcd.h:6
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11