Go to the documentation of this file.
42 DoLorentz_ =
p.getParameter<
bool>(
"DoLorentz");
45 auto c = setWhatProduced(
this, myname);
46 magfieldToken_ =
c.consumes();
47 pDDToken_ =
c.consumes();
48 hTTToken_ =
c.consumes();
49 templateDBobjectToken_ =
c.consumes();
62 lorentzAngleProduct = &iRecord.
get(lorentzAngleToken_);
65 return std::make_unique<PixelCPETemplateReco>(pset_,
66 &iRecord.
get(magfieldToken_),
67 iRecord.
get(pDDToken_),
68 iRecord.
get(hTTToken_),
70 &iRecord.
get(templateDBobjectToken_));
84 desc.add<
bool>(
"DoLorentz",
true);
85 descriptions.
add(
"_templates_default",
desc);
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
PixelCPETemplateRecoESProducer(const edm::ParameterSet &p)
std::unique_ptr< PixelClusterParameterEstimator > produce(const TkPixelCPERecord &)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< SiPixelLorentzAngle, SiPixelLorentzAngleRcd > lorentzAngleToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
edm::ESGetToken< SiPixelTemplateDBObject, SiPixelTemplateDBObjectESProducerRcd > templateDBobjectToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > hTTToken_