26 using ReturnType = std::unique_ptr<PTrackerAdditionalParametersPerDet>;
43 descriptions.
add(
"TrackerAdditionalParametersPerDet",
desc);
49 <<
"TrackerAdditionalParametersPerDetESModule::produce(const PTrackerAdditionalParametersPerDetRcd& iRecord)";
51 auto ptitp = std::make_unique<PTrackerAdditionalParametersPerDet>();
55 std::vector<const GeometricDet*>
comp;
56 gd->deepComponents(
comp);
58 for (
auto&
i :
comp) {
59 ptitp->setGeographicalId(
i->geographicalId());
60 ptitp->setBricked(
i->isBricked());
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
TrackerAdditionalParametersPerDetESModule(const edm::ParameterSet &)
edm::ESGetToken< GeometricDet, IdealGeometryRecord > geometricDetToken_
std::unique_ptr< PTrackerAdditionalParametersPerDet > ReturnType
Log< level::Info, false > LogInfo
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ReturnType produce(const PTrackerAdditionalParametersPerDetRcd &)
static void fillDescriptions(edm::ConfigurationDescriptions &)