40 std::map<std::string, CPE_t> enumMap;
43 if (enumMap.find(
name) == enumMap.end())
58 std::unique_ptr<ClusterParameterEstimator<Phase2TrackerCluster1D> > cpe_;
61 cpe_ = std::make_unique<Phase2StripCPE>(
66 cpe_ = std::make_unique<Phase2StripCPEGeometric>(
pset_);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
Phase2StripCPEESProducer(const edm::ParameterSet &)
std::unique_ptr< ClusterParameterEstimator< Phase2TrackerCluster1D > > produce(const TkPhase2OTCPERecord &iRecord)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleRcd > lorentzAngleToken_