10 static const int ret = 0;
15 float maxRelinDistance()
18 static const float ret = 1
e-2;
28 if ( theHasLinTrack[pos][rt] )
30 return theLinTracks[pos][rt];
37 theLinTracks[pos][rt]=lTrData;
38 theHasLinTrack[pos][rt]=
true;
49 if ( left.
x() != right.
x() )
51 return ( left.
x() < right.
x() );
52 }
else if (left.
y() != right.
y()) {
53 return ( left.
y() < right.
y() );
55 return ( left.
z() < right.
z() );
62 if ( (p1 - p2).
mag() < maxRelinDistance() )
77 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 &)