Go to the documentation of this file.
42 DoLorentz_ =
p.getParameter<
bool>(
"DoLorentz");
45 auto c = setWhatProduced(
this, myname);
46 c.setConsumes(magfieldToken_).setConsumes(pDDToken_).setConsumes(hTTToken_).setConsumes(templateDBobjectToken_);
59 lorentzAngleProduct = &iRecord.
get(lorentzAngleToken_);
62 return std::make_unique<PixelCPETemplateReco>(pset_,
63 &iRecord.
get(magfieldToken_),
64 iRecord.
get(pDDToken_),
65 iRecord.
get(hTTToken_),
67 &iRecord.
get(templateDBobjectToken_));
81 desc.
add<
bool>(
"DoLorentz",
true);
82 descriptions.
add(
"_templates_default", desc);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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_