7 float maxRelinDistance() {
9 static const float ret = 1
e-2;
18 if (theHasLinTrack[
pos][
rt]) {
19 return theLinTracks[
pos][
rt];
25 theLinTracks[
pos][
rt] = lTrData;
26 theHasLinTrack[
pos][
rt] =
true;
36 if (left.
x() != right.
x()) {
37 return (left.
x() < right.
x());
38 }
else if (left.
y() != right.
y()) {
39 return (left.
y() < right.
y());
41 return (left.
z() < right.
z());
46 if ((
p1 -
p2).
mag() < maxRelinDistance()) {
56 theHasLinTrack.clear();
bool operator()(const GlobalPoint &, const GlobalPoint &) const
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const override
bool operator()(const GlobalPoint &, const GlobalPoint &) const
ret
prodAgent to be discontinued
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
RefCountedLinearizedTrackState linTrack(const GlobalPoint &, const reco::TransientTrack &)
void clear(HadCaloObj &c)