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
algoName
= pset.
getParameter
<
std::string
>(
"AlgoName"
);
10
11
LogTrace
(
"CSCIndexerESProducer"
) <<
" will produce: "
<<
algoName
;
12
13
setWhatProduced
(
this
);
14
}
15
16
CSCIndexerESProducer::~CSCIndexerESProducer
() {}
17
18
CSCIndexerESProducer::BSP_TYPE
CSCIndexerESProducer::produce
(
const
CSCIndexerRecord
&) {
19
LogTrace
(
"CSCIndexerESProducer"
) <<
" producing: "
<<
algoName
;
20
21
return
CSCIndexerESProducer::BSP_TYPE
(
CSCIndexerFactory::get
()->
create
(
algoName
));
22
}
23
24
// define this as a plug-in
25
DEFINE_FWK_EVENTSETUP_MODULE
(
CSCIndexerESProducer
);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:138
MessageLogger.h
CSCIndexerFactory.h
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition:
beamerCreator.py:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
CSCIndexerESProducer::algoName
std::string algoName
Definition:
CSCIndexerESProducer.h:21
CSCIndexerESProducer::BSP_TYPE
std::unique_ptr< CSCIndexerBase > BSP_TYPE
Definition:
CSCIndexerESProducer.h:13
CSCIndexerESProducer.h
CSCIndexerESProducer
Definition:
CSCIndexerESProducer.h:11
CSCIndexerRecord
Definition:
CSCIndexerRecord.h:6
timingPdfMaker.get
get
Definition:
timingPdfMaker.py:92
LogTrace
#define LogTrace(id)
Definition:
MessageLogger.h:671
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
CSCIndexerESProducer::~CSCIndexerESProducer
~CSCIndexerESProducer() override
Definition:
CSCIndexerESProducer.cc:16
CSCIndexerESProducer::produce
BSP_TYPE produce(const CSCIndexerRecord &)
Definition:
CSCIndexerESProducer.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
CSCIndexerESProducer::CSCIndexerESProducer
CSCIndexerESProducer(const edm::ParameterSet &)
Definition:
CSCIndexerESProducer.cc:8
Generated for CMSSW Reference Manual by
1.8.11