CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCChannelMapperESProducer.cc
Go to the documentation of this file.
2 
5 
7 
9 {
10  algoName = pset.getParameter<std::string>("AlgoName");
11 
12  LogTrace("CSCChannelMapperESProducer") << " will produce: " << algoName;
13 
14  setWhatProduced(this);
15 
16 }
17 
19 }
20 
22 {
23  LogTrace("CSCChannelMapperESProducer") << " producing: " << algoName;
24 
26 
27  return theChannelMapper ;
28 }
29 
30 // define this as a plug-in
T getParameter(std::string const &) const
BSP_TYPE produce(const CSCChannelMapperRecord &)
CSCChannelMapperESProducer(const edm::ParameterSet &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
#define LogTrace(id)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
std::shared_ptr< CSCChannelMapperBase > BSP_TYPE
T get(const Candidate &c)
Definition: component.h:55