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