39 : fromDDD_(
p.getParameter<
bool>(
"fromDDD")), fromDD4hep_(
p.getParameter<
bool>(
"fromDD4hep")) {
54 descDB.
add<
bool>(
"fromDDD",
false);
55 descDB.
add<
bool>(
"fromDD4hep",
false);
56 descriptions.
add(
"mtdNumberingGeometryDB", descDB);
59 desc.add<
bool>(
"fromDDD",
true);
60 desc.add<
bool>(
"fromDD4hep",
false);
61 descriptions.
add(
"mtdNumberingGeometry",
desc);
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< PGeometricTimingDet, IdealGeometryRecord > pGTDetToken_
static std::unique_ptr< GeometricTimingDet > construct(const DDCompactView &cpv)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::unique_ptr< GeometricTimingDet > produce(const IdealGeometryRecord &)
MTDGeometricTimingDetESModule(const edm::ParameterSet &p)
~MTDGeometricTimingDetESModule() override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddCompactToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static std::unique_ptr< GeometricTimingDet > construct(const PGeometricTimingDet &pgd)