14 static const float TrackerBoundsRadius = 112;
15 static const float TrackerBoundsHalfLength = 273.5;
17 return ((point.
transverse() < TrackerBoundsRadius)
18 && (
abs(point.
z()) < TrackerBoundsHalfLength));
27 return constrain(track, priorVertexState);
40 if (fabs(field) < 1
e-4) {
41 LogDebug(
"RecoVertex/SingleTrackVertexConstraint")
42 <<
"Initial state is very far, field is close to zero (<1e-4): " << field <<
"\n";
46 RefCountedLinearizedTrackState lTrData
47 = theLTrackFactory.linearizedTrackState(priorVertexState.
position(), track);
48 RefCountedVertexTrack vertexTrack = theVTrackFactory.vertexTrack(lTrData, priorVertexState);
52 std::vector<RefCountedVertexTrack> initialTracks;
54 vertex = vertexUpdator.add(vertex, vertexTrack);
57 }
else if (doTrackerBoundCheck_ && (!insideTrackerBounds(vertex.
position()))) {
58 LogDebug(
"RecoVertex/SingleTrackVertexConstraint")
59 <<
"Fitted position is out of tracker bounds.\n";
63 RefCountedVertexTrack nTrack = theVertexTrackUpdator.update(vertex, vertexTrack);
64 return BTFtuple(
true, nTrack->refittedState()->transientTrack(), nTrack->smoothedChi2());
71 return constrain(ttFactory.build(fts), priorPos, priorError);
78 return constrain(track, priorVertexState);
85 return constrain(ttFactory.build(fts), priorVertexState);
GlobalPoint globalPosition() const
const MagneticField * field() const
GlobalPoint position() const
GlobalVector inInverseGeV(const GlobalPoint &gp) const
Field value ad specified global point, in 1/Gev.
GlobalPoint position() const
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
boost::tuple< bool, reco::TransientTrack, float > BTFtuple
TrajectoryStateOnSurface impactPointState() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point