41 : m_restrictions(conf.getUntrackedParameter<std::
string>(
"Exclude")),
44 std::cout <<
"HcalTopologyIdealEP::HcalTopologyIdealEP" << std::endl;
45 edm::LogInfo(
"HCAL") <<
"HcalTopologyIdealEP::HcalTopologyIdealEP";
57 hcalTopologyConstants.
add<
std::string>(
"mode",
"HcalTopologyMode::LHC" );
58 hcalTopologyConstants.
add<
int>(
"maxDepthHB", 2 );
59 hcalTopologyConstants.
add<
int>(
"maxDepthHE", 3 );
62 hcalSLHCTopologyConstants.
add<
std::string>(
"mode",
"HcalTopologyMode::SLHC" );
63 hcalSLHCTopologyConstants.add<
int>(
"maxDepthHB", 7 );
64 hcalSLHCTopologyConstants.add<
int>(
"maxDepthHE", 7 );
69 descriptions.
add(
"hcalTopologyIdeal", desc );
74 descriptions.
add(
"hcalTopologyIdealSLHC", descSLHC );
85 std::cout <<
"HcalTopologyIdealEP::produce(const IdealGeometryRecord& iRecord)" << std::endl;
86 edm::LogInfo(
"HCAL") <<
"HcalTopologyIdealEP::produce(const HcalGeometryRecord& iRecord)";
89 iRecord.
get( pHRNDC );
95 <<
", maxDepthHF = " << hdc->
getMaxDepth(2) << std::endl;
106 if (!error.empty()) {
107 throw cms::Exception(
"Parse Error",
"Parse error on Exclude "+error);
std::string m_restrictions
depends_on::OneHolder< T, TDependsOnRecord > dependsOn(void(T::*iT)(const TDependsOnRecord &))
ParameterDescriptionBase * addOptional(U const &iLabel, T const &value)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void hcalRecordCallBack(const IdealGeometryRecord &)
std::string parse(const std::string &line)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
int getMaxDepth(const int type) const
boost::shared_ptr< HcalTopology > ReturnType
HcalTopologyIdealEP(const edm::ParameterSet &)
void get(HolderT &iHolder) const
ReturnType produce(const HcalRecNumberingRecord &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
tuple hcalTopologyConstants
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HcalTopology(const HcalDDDRecConstants *hcons, HcalTopologyMode::TriggerMode tmode=HcalTopologyMode::tm_LHC_PreLS1)