12 double pi=4.*atan(1.);
13 double twopi=8.*atan(1.);
36 std::cout<<
" HICSeedMeasurementEstimator::estimate::hit is not valid " <<std::endl;
42 std::cout<<
" HICSeedMeasurementEstimator::estimate::hit is valid " <<std::endl;
48 if(dfi>pi) dfi=twopi-dfi;
100 double pi=4.*atan(1.);
101 double twopi=8.*atan(1.);
112 double deltafi = atan2( width , (
double)plane.
position().
perp() );
116 if( phitrack < 0. ) phitrack = twopi + phitrack;
117 if( phiplane < 0. ) phiplane = twopi + phiplane;
119 double dphi = fabs(phitrack - phiplane);
121 if( dphi > pi ) dphi = twopi - dphi;
122 if( dphi >
thePhi + deltafi ) {
124 std::cout<<
"HICSeedMeasurementEstimator::estimate::Det::phi failed "<<dphi<<
" "<<
thePhi<<
" "<<deltafi<<std::endl;
128 if ( fabs( plane.
position().
z() ) < 111. )
136 std::cout<<
"HICSeedMeasurementEstimator::estimate::Det::z failed "<<dz<<
" "<<
theZ<<
" "<<length<<std::endl;
149 std::cout<<
"HICSeedMeasurementEstimator::estimate::Det::r failed "<<dr<<
" "<<
theZ<<
" "<<length<<std::endl;
166 std::cout<<
"HICSeedMeasurementEstimator::malLocalDisplacement::start"
Vector2DBase< float, LocalTag > Local2DVector
virtual float length() const =0
const GlobalTrajectoryParameters & parameters() const
virtual MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
FreeTrajectoryState * freeTrajectoryState(bool withErrors=true) const
virtual MeasurementEstimator::HitReturnType estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const
Geom::Phi< T > phi() const
TrackCharge charge() const
LocalError positionError() const
GlobalVector momentum() const
const LocalTrajectoryError & localError() const
GlobalPoint position() const
std::pair< bool, double > HitReturnType
const Bounds & bounds() const
virtual GlobalPoint globalPosition() const
virtual float width() const =0
const PositionType & position() const