FairRoot/PandaRoot
|
#include <PndLine.h>
Public Member Functions | |
PndLine () | |
PndLine (FairHit *h1, FairHit *h2) | |
PndLine (TVector3 &base, TVector3 &dir) | |
PndLine (TVector3 h1, Int_t layer) | |
virtual | ~PndLine () |
void | Print (Bool_t withDirVec=kFALSE) |
FairTrackParP | plot (Double_t zVal1, Double_t zVal2) |
TVector3 | getP1 () |
TVector3 | getP2 () |
TVector3 | getDir () |
bool | operator< (const PndLine &) const |
Double_t | getZAngle () |
Int_t | getRating () |
void | incrementRating () |
void | setRating (Int_t r) |
TVector3 | getPerpendicular (PndLine l2) |
Double_t | getDistTo (TVector3 p) |
Private Attributes | |
TVector3 | fP1 |
TVector3 | fP2 |
Int_t | fRating |
PndLine::PndLine | ( | FairHit * | h1, |
FairHit * | h2 | ||
) |
PndLine::PndLine | ( | TVector3 & | base, |
TVector3 & | dir | ||
) |
PndLine::PndLine | ( | TVector3 | h1, |
Int_t | layer | ||
) |
Definition at line 22 of file PndLine.cxx.
References CAMath::Cos(), fP1, fP2, fRating, h1, and CAMath::Sin().
|
virtual |
Definition at line 34 of file PndLine.cxx.
|
inline |
Definition at line 34 of file PndLine.h.
Referenced by PndFtsLineComparator::areEqual(), PndFtsLineComparator::areEqual2D(), PndForwardTrackFinderTask::createStatictcs(), PndWayFollower::getBestApproxTo(), getDistTo(), PndPlane::getIntersection(), getPerpendicular(), PndTrackCollection::getPndTrack(), PndFtsLineComparator::getQuality(), PndFtsLineComparator::getQuality3D(), PndLineApproximation::linearRegression(), plot(), PndTrackCollection::refitAllTracks(), PndTrackCollection::refitHit(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveCorrectedTracklets(), and PndForwardTrackFinderTask::saveTrackCollection().
Double_t PndLine::getDistTo | ( | TVector3 | p | ) |
|
inline |
Definition at line 32 of file PndLine.h.
Referenced by PndFtsLineComparator::areEqual(), PndFtsLineComparator::areEqual2D(), PndModuleCombiner::combineModules(), PndTrackCombiner::compareAndRefit(), PndForwardTrackFinderTask::createStatictcs(), PndWayFollower::getBestApproxTo(), PndPlane::getIntersection(), PndTrackCollection::getPndTrack(), PndFtsLineComparator::getQuality(), PndFtsLineComparator::getQuality3D(), PndLineApproximation::linearRegression(), PndPlane::PndPlane(), PndTrackCollection::refitAllTracks(), PndTrackCollection::refitHit(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveCorrectedTracklets(), and PndForwardTrackFinderTask::saveTrackCollection().
|
inline |
TVector3 PndLine::getPerpendicular | ( | PndLine | l2 | ) |
Definition at line 76 of file PndLine.cxx.
References fP1, getDir(), and PndPlane::getIntersection().
Referenced by PndLineApproximation::correctHits3DAndAdd(), and PndTrackCollection::getDistTo().
|
inline |
Definition at line 42 of file PndLine.h.
Referenced by PndTrackCollection::add(), PndTrackCombiner::combine(), PndForwardTrackFinderTask::createStatictcs(), and PndLineApproximation::newApproximation().
|
inline |
Definition at line 39 of file PndLine.h.
References CAMath::Abs(), and CAMath::ASin().
Referenced by PndTrackCombiner::combine().
|
inline |
|
inline |
Definition at line 49 of file PndLine.cxx.
References Double_t, fP1, getDir(), and v.
Referenced by PndLineApproximation::plot().
void PndLine::Print | ( | Bool_t | withDirVec = kFALSE | ) |
Definition at line 38 of file PndLine.cxx.
|
inline |
Definition at line 44 of file PndLine.h.
References r.
Referenced by PndTrackCombiner::combine(), PndModuleCombiner::combineModules(), PndFtsLineApproximator::createExpandedTrackCand(), PndForwardTrackFinderTask::getBest(), PndWayFollower::getBestApproxTo(), PndWayFollower::getBestSkewedApproxTo(), and PndLineApproximation::newApproximation().
|
private |
Definition at line 49 of file PndLine.h.
Referenced by getDistTo(), getPerpendicular(), plot(), PndLine(), and Print().
|
private |