41 if (!
p.exists(
"ComponentType"))
42 edm::LogWarning(
"StripCPEESProducer") <<
" the CPE producer should contain a ComponentType, probably identical to " 43 "ComponentName in the first step of migration. Falling back to:" 48 std::map<std::string, CPE_t> enumMap;
53 if (enumMap.find(
type) == enumMap.end())
75 std::unique_ptr<StripClusterParameterEstimator> cpe;
79 cpe = std::make_unique<StripCPE>(
84 cpe = std::make_unique<StripCPEfromTrackAngle>(
89 cpe = std::make_unique<StripCPEgeometric>(
94 cpe = std::make_unique<StripFakeCPE>();
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ParameterSet parametersPSet
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
std::unique_ptr< StripClusterParameterEstimator > produce(const TkStripCPERecord &)
edm::ESGetToken< SiStripLatency, SiStripLatencyRcd > latencyToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< SiStripBackPlaneCorrection, SiStripBackPlaneCorrectionDepRcd > backPlaneCorrectionToken_
edm::ESGetToken< SiStripConfObject, SiStripConfObjectRcd > confObjToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
StripCPEESProducer(const edm::ParameterSet &)
edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleDepRcd > lorentzAngleToken_