21 #include <boost/shared_ptr.hpp>
40 typedef boost::shared_ptr<HcalDDDSimConstants>
ReturnType;
54 std::cout <<
"constructing HcalDDDSimConstantsESModule" << std::endl;
63 descriptions.
add(
"hcalDDDSimConstants", desc );
70 std::cout <<
"in HcalDDDSimConstantsESModule::produce" << std::endl;
73 edm::LogError(
"HCalGeom") <<
"HcalDDDSimConstantsESModule::produceHcalDDDSimConstants has NOT been initialized!";
74 throw cms::Exception(
"DDException") <<
"HcalDDDSimConstantsESModule::Cannot produce HcalDDDSimConstnats";
83 igr.
get(label_, parHandle);
85 std::cout <<
"in HcalDDDSimConstantsESModule::initializeHcalDDDSimConstants" << std::endl;
92 std::cout <<
"about to make my new hcalDDDConst_ with " << hpar << std::endl;
static void fillDescriptions(edm::ConfigurationDescriptions &)
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
ReturnType produce(const HcalSimNumberingRecord &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~HcalDDDSimConstantsESModule()
void get(HolderT &iHolder) const
HcalDDDSimConstantsESModule(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void initializeHcalDDDSimConstants(const HcalParametersRcd &igr)
boost::shared_ptr< HcalDDDSimConstants > ReturnType
HcalDDDSimConstants * hcalDDDConst_