Go to the documentation of this file.
19 Nop& operator=(
int) {
return *
this; }
20 void operator++(
int) {}
23 using VAR =
long long;
48 std::cout <<
"Geom checker " << ntot <<
' ' << nf1 <<
' ' << nf2 <<
' ' << ns1 <<
' ' << ns2 <<
' ' << ns11 <<
' '
49 << ns21 <<
' ' << nth <<
' ' << nle << std::endl;
76 float sagitta = 99999999.0f;
84 auto path = crossing.pathLength(plane);
93 close = sagitta < sagCut;
94 LogDebug(
"TkDetLayer") <<
"GeomDetCompatibilityChecker: sagitta " << sagitta << std::endl;
99 auto tollL2 =
std::max(sagitta * sagitta, minTol2);
101 isIn = plane.bounds().inside(
pos, toll);
104 LogDebug(
"TkDetLayer") <<
"GeomDetCompatibilityChecker: not in " <<
pos << std::endl;
116 return std::make_pair(
false,
std::move(propSt));
122 if (close && (!isIn) && (!es))
124 if (close && es && (!isIn)) {
127 return std::make_pair(es,
std::move(propSt));
GlobalPoint globalPosition() const
virtual HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const =0
virtual PropagationDirection propagationDirection() const final
Global3DPoint GlobalPoint
static std::pair< bool, TrajectoryStateOnSurface > isCompatible(const GeomDet *theDet, const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est)
float minTolerance2() const
float transverseCurvature() const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.
T perp2() const
Squared magnitude of transverse component.
const BasicVectorType & basicVector() const
GlobalVector globalMomentum() const
Abs< T >::type abs(const T &t)
const GlobalTrajectoryParameters & globalParameters() const