Go to the documentation of this file.
46 DoLorentz_ =
p.getParameter<
bool>(
"DoLorentz");
49 auto c = setWhatProduced(
this, myname);
50 magfieldToken_ =
c.consumes();
51 pDDToken_ =
c.consumes();
52 hTTToken_ =
c.consumes();
53 templateDBobjectToken_ =
c.consumes();
54 templateDBobject2DToken_ =
c.consumes();
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 &)
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