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);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
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)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< GeometricTimingDet > produce(const IdealGeometryRecord &)
MTDGeometricTimingDetESModule(const edm::ParameterSet &p)
~MTDGeometricTimingDetESModule() override
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddCompactToken_
static std::unique_ptr< GeometricTimingDet > construct(const PGeometricTimingDet &pgd)