8 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDLINE_H_ 9 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDLINE_H_ 17 #include "FairTrackParP.h" 26 PndLine(FairHit *h1, FairHit *h2);
27 PndLine(TVector3 &base, TVector3 &dir);
28 PndLine(TVector3 h1, Int_t layer);
30 void Print(Bool_t withDirVec = kFALSE);
31 FairTrackParP plot(Double_t zVal1, Double_t zVal2);
32 TVector3
getP1() {
return fP1; }
33 TVector3
getP2() {
return fP2; }
34 TVector3
getDir() {
return fP1 - fP2; }
44 TVector3 getPerpendicular(
PndLine l2);
45 Double_t getDistTo(TVector3 p);
static T ASin(const T &x)
bool operator<(const PndLine &) const