|
|
#include <TrackFitter.h>
|
float | getCotThetaAndUpdateZip (const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const |
|
void | getErrTipAndErrZip (float pt, float eta, float &errZip, float &errTip) const |
|
float | getPhi (float xC, float yC, int charge) const |
|
float | getZip (float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const |
|
Definition at line 17 of file TrackFitter.h.
◆ TrackFitter()
◆ ~TrackFitter()
TrackFitter::~TrackFitter |
( |
| ) |
|
|
inlineoverride |
◆ getCotThetaAndUpdateZip()
float TrackFitter::getCotThetaAndUpdateZip |
( |
const GlobalPoint & |
inner, |
|
|
const GlobalPoint & |
outer, |
|
|
float |
radius, |
|
|
float |
phi, |
|
|
float |
d0, |
|
|
float & |
zip |
|
) |
| const |
|
private |
Definition at line 111 of file TrackFitter.cc.
125 return (fabs(
dr) > 1.e-3) ?
dz /
dr : 0;
References funct::cos(), d0, flavorHistoryFilter_cfi::dr, PVValHelper::dz, SurfaceOrientation::inner, listHistos::IP, M_PI_2, SurfaceOrientation::outer, perp(), CosmicsPD_Skims::radius, funct::sin(), and ComparisonHelper::zip().
◆ getErrTipAndErrZip()
void TrackFitter::getErrTipAndErrZip |
( |
float |
pt, |
|
|
float |
eta, |
|
|
float & |
errZip, |
|
|
float & |
errTip |
|
) |
| const |
|
private |
◆ getPhi()
float TrackFitter::getPhi |
( |
float |
xC, |
|
|
float |
yC, |
|
|
int |
charge |
|
) |
| const |
|
private |
◆ getZip()
float TrackFitter::getZip |
( |
float |
d0, |
|
|
float |
curv, |
|
|
const GlobalPoint & |
inner, |
|
|
const GlobalPoint & |
outer |
|
) |
| const |
|
private |
◆ run()
Implements PixelFitterBase.
Definition at line 41 of file TrackFitter.cc.
44 std::unique_ptr<reco::Track>
ret;
55 for (
auto const& ih :
hits) {
71 float valPt = (invPt > 1.e-4) ? 1. / invPt : 1.
e4;
72 float errPt = 0.055 * valPt + 0.017 * valPt * valPt;
89 float errCotTheta = 0.002;
References PixelTrackBuilder::build(), CircleFromThreePoints::center(), ALCARECOTkAlJpsiMuMu_cff::charge, hltPixelTracks_cff::chi2, RZLine::chi2(), PixelRecoUtilities::curvature(), CircleFromThreePoints::curvature(), declareDynArray, vertexPlots::e4, DeDxTools::getCharge(), hfClusterShapes_cfi::hits, mps_fire::i, PixelRecoUtilities::inversePt(), PixelPluginsPhase0_cfi::isBarrel, Basic2DVector< T >::mag(), nhits, HLT_FULL_cff::points, DiDispStaMuonMonitor_cfi::pt, rpcPointValidation_cfi::recHit, runTheMatrix::ret, singleTopDQM_cfi::setup, qcdUeDQM_cfi::tip, Basic2DVector< T >::x(), Basic2DVector< T >::y(), and ComparisonHelper::zip().
◆ theField
◆ theTracker
◆ theTTRecHitBuilder
ret
prodAgent to be discontinued
const MagneticField * theField
const TrackerGeometry * theTracker
float getPhi(float xC, float yC, int charge) const
float getZip(float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const
T inversePt(T curvature, const edm::EventSetup &iSetup)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
T curvature(T InversePt, const edm::EventSetup &iSetup)
T perp() const
Magnitude of transverse component.
Sin< T >::type sin(const T &t)
Cos< T >::type cos(const T &t)
T y() const
Cartesian y coordinate.
#define declareDynArray(T, n, x)
T x() const
Cartesian x coordinate.
Global3DPoint GlobalPoint
void getErrTipAndErrZip(float pt, float eta, float &errZip, float &errTip) const
OutputIterator zip(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, OutputIterator result, Compare comp)
reco::Track * build(const Measurement1D &pt, const Measurement1D &phi, const Measurement1D &cotTheta, const Measurement1D &tip, const Measurement1D &zip, float chi2, int charge, const std::vector< const TrackingRecHit * > &hits, const MagneticField *mf, const GlobalPoint &reference=GlobalPoint(0, 0, 0)) const
float getCotThetaAndUpdateZip(const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const
static constexpr float d0
const TransientTrackingRecHitBuilder * theTTRecHitBuilder