37 : 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(
"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);
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
uint32_t cc[maxCellsPerHit]
std::vector< double > const & vector(std::string_view iKey) const
returns an empty container if not found
std::vector< T > getVector(const std::string &) const
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddToken_
static std::unique_ptr< GeometricDet > construct(const PGeometricDet &pgd)
std::unique_ptr< GeometricDet > produce(const IdealGeometryRecord &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
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)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< PGeometricDet, IdealGeometryRecord > pgToken_
TrackerGeometricDetESModule(const edm::ParameterSet &p)