Go to the documentation of this file.
46 DoLorentz_ =
p.getParameter<
bool>(
"DoLorentz");
49 auto c = setWhatProduced(
this, myname);
50 c.setConsumes(magfieldToken_)
51 .setConsumes(pDDToken_)
52 .setConsumes(hTTToken_)
53 .setConsumes(templateDBobjectToken_)
54 .setConsumes(templateDBobject2DToken_);
76 desc.
add<
bool>(
"DoLorentz",
true);
77 descriptions.
add(
"_templates2_default", desc);
86 lorentzAngleProduct = &iRecord.
get(lorentzAngleToken_);
89 return std::make_unique<PixelCPEClusterRepair>(pset_,
90 &iRecord.
get(magfieldToken_),
91 iRecord.
get(pDDToken_),
92 iRecord.
get(hTTToken_),
94 &iRecord.
get(templateDBobjectToken_),
95 &iRecord.
get(templateDBobject2DToken_));
std::unique_ptr< PixelClusterParameterEstimator > produce(const TkPixelCPERecord &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
edm::ESGetToken< SiPixelTemplateDBObject, SiPixelTemplateDBObjectESProducerRcd > templateDBobjectToken_
PixelCPEClusterRepairESProducer(const edm::ParameterSet &p)
edm::ESGetToken< SiPixel2DTemplateDBObject, SiPixel2DTemplateDBObjectESProducerRcd > templateDBobject2DToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > hTTToken_
edm::ESGetToken< SiPixelLorentzAngle, SiPixelLorentzAngleRcd > lorentzAngleToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
static void fillPSetDescription(edm::ParameterSetDescription &desc)
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
~PixelCPEClusterRepairESProducer() override