18 #ifndef PNDRIEMANNHIT_HH
19 #define PNDRIEMANNHIT_HH
39 PndRiemannHit() :
fX(0.,0.,0.),
fSigmaX(0.,0.,0.),
fCovX(3,3),
fHit(0),
fHitID(-1),
fS(-1.),
fZ(-1.),
fDeltaZ(-1.),
fAlpha(-1.),
fVerbose(0) {};
68 void setXYZ(
double x,
double y,
double z);
71 const TVector3&
x()
const {
return fX;}
74 double s()
const {
return fS;}
84 if (
s() >= 0 && aHit.
s() >= 0){
85 return s() < aHit.
s();
87 else if (
s() <= 0 && aHit.
s() <= 0){
88 return -
s() < -aHit.
s();
91 return s() < aHit.
s();
double covX(int row, int col) const
TVector3 fSigmaX
Sigma Error of fX (should be replaced by covariance matrix)
double fS
pathlength along track
static T Sqrt(const T &x)
const FairHit * hit() const
PndRiemannHit & operator=(const PndRiemannHit &myHit)
void setDXYZ(double dx, double dy, double dz)
bool operator<(const PndRiemannHit &aHit) const
void setXYZ(double x, double y, double z)
PndRiemannHit(const PndRiemannHit &myHit)
const TMatrixD & covX() const
double fAlpha
angle along track
const TVector3 & x() const
double fZ
z-coordinate of hit
void calcPosOnTrk(PndRiemannTrack *trk)
TMatrixD fCovX
Covariance Matrix of the hit.
TMatrixT< double > TMatrixD