36 : fromDD4hep_(
pset.getParameter<
bool>(
"fromDD4hep")) {
47 desc.add<
bool>(
"fromDD4hep",
false);
48 descriptions.
add(
"mtdParameters",
desc);
52 auto ptp = std::make_unique<PMTDParameters>();
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< PMTDParameters > ReturnType
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const PMTDParametersRcd &)
uint32_t cc[maxCellsPerHit]
Compact representation of the geometrical detector hierarchy.
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
MTDParametersFromDD builder
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool build(const DDCompactView *, PMTDParameters &)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_
MTDParametersESModule(const edm::ParameterSet &)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddCompactToken_