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