test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCIndexerESProducer.cc
Go to the documentation of this file.
2 
5 
7 
9 {
10  algoName = pset.getParameter<std::string>("AlgoName");
11 
12  LogTrace("CSCIndexerESProducer") << " will produce: " << algoName;
13 
14  setWhatProduced(this);
15 
16 }
17 
19 }
20 
22 {
23  LogTrace("CSCIndexerESProducer") << " producing: " << algoName;
24 
26 
27  return theIndexer ;
28 }
29 
30 // define this as a plug-in
std::shared_ptr< CSCIndexerBase > BSP_TYPE
T getParameter(std::string const &) const
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
BSP_TYPE produce(const CSCIndexerRecord &)
CSCIndexerESProducer(const edm::ParameterSet &)
T get(const Candidate &c)
Definition: component.h:55