Main Page
Namespaces
Classes
Package Documentation
CalibMuon
CSCCalibration
plugins
CSCIndexerESProducer.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/ModuleFactory.h
"
2
3
#include "
CalibMuon/CSCCalibration/interface/CSCIndexerESProducer.h
"
4
#include "
CalibMuon/CSCCalibration/interface/CSCIndexerFactory.h
"
5
6
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
7
8
CSCIndexerESProducer::CSCIndexerESProducer
(
const
edm::ParameterSet
&
pset
)
9
{
10
algoName
= pset.
getParameter
<
std::string
>(
"AlgoName"
);
11
12
LogTrace
(
"CSCIndexerESProducer"
) <<
" will produce: "
<<
algoName
;
13
14
setWhatProduced
(
this
);
15
16
}
17
18
CSCIndexerESProducer::~CSCIndexerESProducer
(){
19
}
20
21
CSCIndexerESProducer::BSP_TYPE
CSCIndexerESProducer::produce
(
const
CSCIndexerRecord
& )
22
{
23
LogTrace
(
"CSCIndexerESProducer"
) <<
" producing: "
<<
algoName
;
24
25
return
CSCIndexerESProducer::BSP_TYPE
(
CSCIndexerFactory::get
()->
create
(
algoName
));
26
27
}
28
29
// define this as a plug-in
30
DEFINE_FWK_EVENTSETUP_MODULE
(
CSCIndexerESProducer
);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
MessageLogger.h
CSCIndexerFactory.h
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition:
beamerCreator.py:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
CSCIndexerESProducer::algoName
std::string algoName
Definition:
CSCIndexerESProducer.h:22
CSCIndexerESProducer::BSP_TYPE
std::unique_ptr< CSCIndexerBase > BSP_TYPE
Definition:
CSCIndexerESProducer.h:14
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
CSCIndexerESProducer.h
CSCIndexerESProducer
Definition:
CSCIndexerESProducer.h:11
CSCIndexerRecord
Definition:
CSCIndexerRecord.h:6
LogTrace
#define LogTrace(id)
Definition:
MessageLogger.h:602
CSCIndexerESProducer::~CSCIndexerESProducer
~CSCIndexerESProducer() override
Definition:
CSCIndexerESProducer.cc:18
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
CSCIndexerESProducer::produce
BSP_TYPE produce(const CSCIndexerRecord &)
Definition:
CSCIndexerESProducer.cc:21
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
CSCIndexerESProducer::CSCIndexerESProducer
CSCIndexerESProducer(const edm::ParameterSet &)
Definition:
CSCIndexerESProducer.cc:8
reco::get
T get(const Candidate &c)
Definition:
component.h:55
Generated for CMSSW Reference Manual by
1.8.11