1 #ifndef RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
2 #define RecoLocalTracker_SiStripRecHitConverter_StripCPEfromTrackAngle_H
17 std::map<SiStripDetId::SubDetector, float>
mHC_P0;
18 std::map<SiStripDetId::SubDetector, float>
mHC_P1;
41 :
StripCPE(conf, mag, geom, lorentz, backPlaneCorrection, confObj, latency )
42 ,
useLegacyError(conf.existsAs<bool>(
"useLegacyError") ? conf.getParameter<bool>(
"useLegacyError") :
true)
43 ,
maxChgOneMIP(conf.existsAs<float>(
"maxChgOneMIP") ? conf.getParameter<double>(
"maxChgOneMIP") : -6000.)
float legacyStripErrorSquared(const unsigned N, const float uProj) const
T getParameter(std::string const &) const
StripCPEfromTrackAngle(edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripBackPlaneCorrection &backPlaneCorrection, const SiStripConfObject &confObj, const SiStripLatency &latency)
std::map< SiStripDetId::SubDetector, float > mHC_P1
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
const bool useLegacyError
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &cl, const GeomDetUnit &) const
std::map< SiStripDetId::SubDetector, float > mHC_P0
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &, const GeomDetUnit &, const LocalTrajectoryParameters &) const
std::pair< LocalPoint, LocalError > LocalValues
float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const