25 using ReturnType = std::unique_ptr<PTrackerAdditionalParametersPerDet>;
42 descriptions.
add(
"TrackerAdditionalParametersPerDet",
desc);
48 <<
"TrackerAdditionalParametersPerDetESModule::produce(const PTrackerAdditionalParametersPerDetRcd& iRecord)";
50 auto ptitp = std::make_unique<PTrackerAdditionalParametersPerDet>();
54 std::vector<const GeometricDet*>
comp;
55 gd->deepComponents(
comp);
57 for (
auto&
i :
comp) {
58 ptitp->setGeographicalId(
i->geographicalId());
59 ptitp->setBigPixelsX(
i->bigPixelsx());
60 ptitp->setBigPixelsY(
i->bigPixelsy());
61 ptitp->setBigPixelsPitchX(
i->bigPixelsPitchx());
62 ptitp->setBigPixelsPitchY(
i->bigPixelsPitchy());
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
uint32_t cc[maxCellsPerHit]
TrackerAdditionalParametersPerDetESModule(const edm::ParameterSet &)
edm::ESGetToken< GeometricDet, IdealGeometryRecord > geometricDetToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::unique_ptr< PTrackerAdditionalParametersPerDet > ReturnType
Log< level::Info, false > LogInfo
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ReturnType produce(const PTrackerAdditionalParametersPerDetRcd &)
static void fillDescriptions(edm::ConfigurationDescriptions &)