Go to the documentation of this file.
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()));
void localParameters(AClusters const &clusters, ALocalValues &retValues, const GeomDetUnit &gd, const LocalTrajectoryParameters <p) const override
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
AlgebraicVector5 vector() const
static constexpr auto TEC
AlgoParam getAlgoParam(const GeomDetUnit &det, const LocalTrajectoryParameters <p) const
float stripErrorSquared(const unsigned N, const float uProj, const SiStripDetId::SubDetector loc) const
SiStripDetId::SubDetector loc
float legacyStripErrorSquared(const unsigned N, const float uProj) const
static constexpr auto TOB
SiStripCluster const & amplitudes() const
static constexpr auto TID
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
StripCPEfromTrackAngle(edm::ParameterSet &conf, const MagneticField &mag, const TrackerGeometry &geom, const SiStripLorentzAngle &lorentz, const SiStripBackPlaneCorrection &backPlaneCorrection, const SiStripConfObject &confObj, const SiStripLatency &latency)
static constexpr auto TIB
T getParameter(std::string const &) const
std::pair< LocalPoint, LocalError > LocalValues
const LocalTrajectoryParameters & ltp