Go to the documentation of this file.
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);
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_