Go to the documentation of this file.
36 : fromDD4hep_(
pset.getParameter<
bool>(
"fromDD4hep")) {
47 desc.
add<
bool>(
"fromDD4hep",
false);
48 descriptions.
add(
"mtdParameters", desc);
52 auto ptp = std::make_unique<PMTDParameters>();
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > dd4hepToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const PMTDParametersRcd &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
MTDParametersFromDD builder
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
edm::ESGetToken< DDCompactView, IdealGeometryRecord > ddCompactToken_
MTDParametersESModule(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::unique_ptr< PMTDParameters > ReturnType
bool build(const DDCompactView *, PMTDParameters &)