37 : fromDDD_(p.getParameter<bool>(
"fromDDD")), fromDD4hep_(p.getParameter<bool>(
"fromDD4hep")) {
43 }
else if (fromDD4hep_) {
54 descDB.
add<
bool>(
"fromDDD",
false);
55 descDB.
add<
bool>(
"fromDD4hep",
false);
56 descriptions.
add(
"trackerNumberingGeometryDB", descDB);
59 desc.
add<
bool>(
"fromDDD",
true);
60 desc.
add<
bool>(
"fromDD4hep",
false);
61 descriptions.
add(
"trackerNumberingGeometry", desc);
64 descDD4hep.
add<
bool>(
"fromDDD",
false);
65 descDD4hep.
add<
bool>(
"fromDD4hep",
true);
66 descriptions.
add(
"DD4hep_trackerNumberingGeometry", descDD4hep);
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static std::unique_ptr< GeometricDet > construct(const PGeometricDet &pgd)
std::unique_ptr< GeometricDet > produce(const IdealGeometryRecord &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~TrackerGeometricDetESModule(void) override
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_
std::unique_ptr< GeometricDet > construct(DDCompactView const &cpv, std::vector< int > const &detidShifts)
edm::ESGetToken< PGeometricDet, IdealGeometryRecord > pgToken_
TrackerGeometricDetESModule(const edm::ParameterSet &p)