5 #include "vdt/vdtMath.h" 16 maxChgOneMIP(conf.existsAs<
float>(
"maxChgOneMIP") ? conf.getParameter<double>(
"maxChgOneMIP") : -6000.),
36 auto uerr = (
N <= 4) ? fun(uProj) :
mHC_P[loc - 3][0] +
float(
N) *
mHC_P[loc - 3][1];
44 static constexpr
float P1 = -0.339;
45 static constexpr
float P2 = 0.90;
46 static constexpr
float P3 = 0.279;
57 auto const&
p = par.p;
60 auto afp = par.afullProjection;
62 auto fill = [&](
unsigned int i,
float uerr2) {
64 retValues[
i].first =
p.topology->localPosition(
strip, ltp.
vector());
65 retValues[
i].second =
p.topology->localError(
strip, uerr2, ltp.
vector());
96 auto const&
p = par.
p;
97 auto const& ltp = par.
ltp;
121 return std::make_pair(
p.topology->localPosition(
strip, ltp.vector()),
122 p.topology->localError(
strip, uerr2, ltp.vector()));
std::pair< LocalPoint, LocalError > LocalValues
StripCPEfromTrackAngle(edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripBackPlaneCorrection &backPlaneCorrection, const SiStripConfObject &confObj, const SiStripLatency &latency)
T getParameter(std::string const &) const
static constexpr auto TID
void localParameters(AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters <p) const override
SiStripDetId::SubDetector loc
float legacyStripErrorSquared(const unsigned N, const float uProj) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
AlgoParam getAlgoParam(const GeomDetUnit &det, const LocalTrajectoryParameters <p) const
SiStripCluster const & amplitudes() const
AlgebraicVector5 vector() const
static constexpr auto TOB
const LocalTrajectoryParameters & ltp
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
static constexpr auto TIB
float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const
static constexpr auto TEC