20 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDLINE_H_ 21 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDLINE_H_ 29 #include "FairTrackParP.h" 38 PndLine(FairHit *h1, FairHit *h2);
39 PndLine(TVector3 &base, TVector3 &dir);
40 PndLine(TVector3 h1, Int_t layer);
42 void Print(Bool_t withDirVec = kFALSE);
43 FairTrackParP plot(Double_t zVal1, Double_t zVal2);
44 TVector3
getP1() {
return fP1; }
45 TVector3
getP2() {
return fP2; }
46 TVector3
getDir() {
return fP1 - fP2; }
56 TVector3 getPerpendicular(
PndLine l2);
57 Double_t getDistTo(TVector3 p);
static T ASin(const T &x)
bool operator<(const PndLine &) const