40 auto const& myname =
p.getParameter<
std::string>(
"ComponentName");
41 auto const& magname =
p.getParameter<
edm::ESInputTag>(
"MagneticFieldRecord");
68 return std::make_unique<PixelCPEFast>(
pset_,
73 genErrorDBObjectProduct,
74 lorentzAngleWidthProduct);
87 desc.add<
double>(
"EdgeClusterErrorX", 50.0);
88 desc.add<
double>(
"EdgeClusterErrorY", 85.0);
89 desc.add<
bool>(
"UseErrorsFromTemplates",
true);
90 desc.add<
bool>(
"TruncatePixelCharge",
true);
96 descriptions.
add(
"PixelCPEFastESProducer",
desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static void fillPSetDescription(edm::ParameterSetDescription &desc)
edm::ESGetToken< SiPixelLorentzAngle, SiPixelLorentzAngleRcd > lorentzAngleWidthToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
bool useErrorsFromTemplates_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
edm::ESGetToken< SiPixelGenErrorDBObject, SiPixelGenErrorDBObjectRcd > genErrorDBObjectToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< SiPixelLorentzAngle, SiPixelLorentzAngleRcd > lorentzAngleToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
PixelCPEFastESProducer(const edm::ParameterSet &p)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< PixelClusterParameterEstimator > produce(const TkPixelCPERecord &)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > hTTToken_