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