8 float maxRelinDistance()
11 static const float ret = 1
e-2;
21 if ( theHasLinTrack[pos][rt] )
23 return theLinTracks[pos][rt];
30 theLinTracks[pos][rt]=lTrData;
31 theHasLinTrack[pos][rt]=
true;
42 if ( left.
x() != right.
x() )
44 return ( left.
x() < right.
x() );
45 }
else if (left.
y() != right.
y()) {
46 return ( left.
y() < right.
y() );
48 return ( left.
z() < right.
z() );
55 if ( (p1 - p2).
mag() < maxRelinDistance() )
70 theHasLinTrack.clear();
bool operator()(const GlobalPoint &, const GlobalPoint &)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
bool operator()(const GlobalPoint &, const GlobalPoint &)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const
RefCountedLinearizedTrackState linTrack(const GlobalPoint &, const reco::TransientTrack &)