20 : fromDDD_( p.getParameter<
bool>(
"fromDDD" ))
31 descDB.
add<
bool>(
"fromDDD",
false );
32 descriptions.
add(
"mtdNumberingGeometryDB", descDB );
35 desc.
add<
bool>(
"fromDDD",
true );
36 descriptions.
add(
"mtdNumberingGeometry", desc );
39 std::unique_ptr<GeometricTimingDet>
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
const GeometricTimingDet * construct(const PGeometricTimingDet &pgd)
const GeometricTimingDet * construct(const DDCompactView *cpv, std::vector< int > detidShifts)
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~MTDGeometricTimingDetESModule(void) override
std::unique_ptr< GeometricTimingDet > produce(const IdealGeometryRecord &)
std::vector< double > get(const std::string &)
MTDGeometricTimingDetESModule(const edm::ParameterSet &p)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)