CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTowerTopologyEP.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: CaloTowerTopologyEP
4 // Class: CaloTowerTopologyEP
5 //
19 
20 //
21 // constants, enums and typedefs
22 //
23 
24 //
25 // static data member definitions
26 //
27 
28 //
29 // constructors and destructor
30 //
32 {
33  edm::LogInfo("HCAL") << "CaloTowerTopologyEP::CaloTowerTopologyEP";
34  setWhatProduced(this);
35 }
36 
37 
39 }
40 
43  descriptions.add( "CaloTowerTopology", desc );
44 }
45 
46 //
47 // member functions
48 //
49 
50 // ------------ method called to produce the data ------------
54  iRecord.get(hcaltopo);
55 
56  edm::LogInfo("HCAL") << "CaloTowerTopologyEP::produce(const HcalRecNumberingRecord& iRecord)";
57 
58  ReturnType myTopo(new CaloTowerTopology(&*hcaltopo));
59 
60  return myTopo;
61 }
62 
63 
boost::shared_ptr< CaloTowerTopology > ReturnType
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
void get(HolderT &iHolder) const
ReturnType produce(const HcalRecNumberingRecord &)
tuple conf
Definition: dbtoconf.py:185
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
CaloTowerTopologyEP(const edm::ParameterSet &)