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 // $Id: HcalHardcodeGeometryEP.cc,v 1.9 2008/08/30 19:32:21 fedor Exp $
17 //
18 //
19 
21 
29 
30 class HcalTopology;
31 
32 //
33 // constants, enums and typedefs
34 //
35 
36 //
37 // static data member definitions
38 //
39 
40 //
41 // constructors and destructor
42 //
43 
45 {
46  //the following line is needed to tell the framework what
47  // data is being produced
48  setWhatProduced( this,
52 
53 // disable
54 // setWhatProduced( this,
55 // &HcalHardcodeGeometryEP::produceIdeal,
56 // edm::es::Label( "HCAL" ) );
57 }
58 
59 
61 {
62 }
63 
64 
65 //
66 // member functions
67 //
68 
69 // ------------ method called to produce the data ------------
70 
71 void
73 {
74 }
75 
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 &))
static std::string producerTag()
Definition: HcalGeometry.h:48
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