#include <SortMeasurementsByPosition.h>
◆ SortTSOSs()
◆ operator()() [1/2]
◆ operator()() [2/2]
Definition at line 82 of file SortMeasurementsByPosition.h.
84 std::cout <<
"Muon::SortTSOSs: state 1 without parameters " << std::endl;
88 std::cout <<
"Muon::SortTSOSs: state 2 without parameters " << std::endl;
102 if (tsos1->
type(Trk::TrackStateOnSurface::TrackStateOnSurfaceType::CaloDeposit) ||
103 tsos2->
type(Trk::TrackStateOnSurface::TrackStateOnSurfaceType::CaloDeposit)) {
104 if (okId1 && tsos2->
type(Trk::TrackStateOnSurface::TrackStateOnSurfaceType::CaloDeposit))
return false;
105 if (tsos1->
type(Trk::TrackStateOnSurface::TrackStateOnSurfaceType::CaloDeposit) && okId2)
return true;
113 double dist = (pos2 - pos1).
dot(trackDir);
115 if (std::abs(dist) < 1
e-5) {
117 if (okId1 && !okId2)
return true;
118 if (!okId1 && okId2)
return false;
120 if (!okId1 && !okId2)
return false;
125 if (measPhi1 && !measPhi2)
return true;
126 if (!measPhi1 && measPhi2)
return false;
129 double inOrOut = (pos1 + pos2).
dot(trackDir);
130 if (inOrOut >= 0.0) {
◆ m_helperSvc
◆ m_idHelperSvc
The documentation for this class was generated from the following file: