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];
45 static constexpr
float P1 = -0.339;
46 static constexpr
float P2 = 0.90;
47 static constexpr
float P3 = 0.279;
58 auto const&
p = par.p;
61 auto afp = par.afullProjection;
63 auto fill = [&](
unsigned int i,
float uerr2) {
65 retValues[
i].first =
p.topology->localPosition(
strip, ltp.
vector());
66 retValues[
i].second =
p.topology->localError(
strip, uerr2, ltp.
vector());
97 auto const&
p = par.
p;
98 auto const& ltp = par.
ltp;
122 return std::make_pair(
p.topology->localPosition(
strip, ltp.vector()),
123 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
const std::vector< uint8_t > & amplitudes() const
static constexpr auto TOB
static constexpr auto TID
T getParameter(std::string const &) const
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
std::pair< LocalPoint, LocalError > LocalValues
const LocalTrajectoryParameters & ltp