CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHardcodeGeometryEP.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HcalHardcodeGeometryEP
4 // Class: HcalHardcodeGeometryEP
5 //
13 //
14 // Original Author: Jeremiah Mans
15 // Created: Mon Oct 3 11:35:27 CDT 2005
16 //
17 //
18 
20 
28 
29 class HcalTopology;
30 
31 //
32 // constants, enums and typedefs
33 //
34 
35 //
36 // static data member definitions
37 //
38 
39 //
40 // constructors and destructor
41 //
42 
44 
45  //the following line is needed to tell the framework what
46  // data is being produced
47  setWhatProduced( this,
51 
52 // disable
53 // setWhatProduced( this,
54 // &HcalHardcodeGeometryEP::produceIdeal,
55 // edm::es::Label( "HCAL" ) );
56 }
57 
58 
60 {
61 }
62 
63 
64 //
65 // member functions
66 //
67 
68 // ------------ method called to produce the data ------------
69 
70 void
72 {
73 }
74 
77 {
78 
79  edm::LogInfo("HCAL") << "Using default HCAL topology" ;
81  iRecord.get( topology ) ;
83  return ReturnType (loader.load (*topology));
84 }
85 
88 {
89  const IdealGeometryRecord& idealRecord = iRecord.getRecord<IdealGeometryRecord>();
90  return produceIdeal (idealRecord);
91 }
92 
void idealRecordCallBack(const IdealGeometryRecord &)
HcalHardcodeGeometryEP(const edm::ParameterSet &)
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
CaloTopology const * topology(0)
static std::string producerTag()
Definition: HcalGeometry.h:54
ReturnType produceIdeal(const IdealGeometryRecord &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
void get(HolderT &iHolder) const
CaloSubdetectorGeometry * load(const HcalTopology &fTopology)
ReturnType produceAligned(const HcalGeometryRecord &)
boost::shared_ptr< CaloSubdetectorGeometry > ReturnType