FairRoot/PandaRoot
|
#include <PndLineApproximation.h>
Public Member Functions | |
PndLineApproximation (vector< PndFtsHit * > hits) | |
PndLineApproximation () | |
PndLineApproximation (PndLine lineApprox, vector< PndFtsHit * > correctedHits) | |
PndLineApproximation (PndLine lineApprox, vector< PndFtsHit * > ch1, vector< PndFtsHit * > ch2) | |
virtual | ~PndLineApproximation () |
PndLine & | getLine () |
void | setLine (PndLine l) |
vector< PndFtsHit * > | getHits () |
void | setHits (vector< PndFtsHit * > h) |
PndLineApproximation | newApproximation (PndLineApproximation &approx2) |
PndLine | linearRegression (vector< PndFtsHit * > hits) |
PndLine | linearRegressionXZ (vector< PndFtsHit * > hits) |
PndLine | linearRegressionZX (vector< PndFtsHit * > hits) |
PndLine | linearRegressionYZ (vector< PndFtsHit * > hits) |
PndLine | linearRegressionZY (vector< PndFtsHit * > hits) |
PndTrack | plot (Double_t zVal1, Double_t zVal2, TClonesArray *hitArr) |
void | correctHits3DAndAdd (vector< PndFtsHit * > correctedHits) |
void | setYInfo (Bool_t i) |
Bool_t | HasYInfo () |
Private Member Functions | |
TVector2 | linearRegression (Double_t matrix[2][3]) |
PndFtsHit * | copyHitWithNewPosition (PndFtsHit *h, TVector3 pos) |
Private Attributes | |
PndLine | fLineApprox |
vector< PndFtsHit * > | fCorrectedHits |
Bool_t | hasYInfo |
Definition at line 23 of file PndLineApproximation.h.
|
inline |
Definition at line 25 of file PndLineApproximation.h.
|
inline |
Definition at line 26 of file PndLineApproximation.h.
|
inline |
Definition at line 27 of file PndLineApproximation.h.
PndLineApproximation::PndLineApproximation | ( | PndLine | lineApprox, |
vector< PndFtsHit * > | ch1, | ||
vector< PndFtsHit * > | ch2 | ||
) |
Definition at line 15 of file PndLineApproximation.cxx.
References correctHits3DAndAdd(), and fLineApprox.
|
virtual |
Definition at line 11 of file PndLineApproximation.cxx.
Definition at line 192 of file PndLineApproximation.cxx.
References PndFtsHit::GetChamberID(), PndFtsHit::GetLayerID(), PndFtsHit::GetTubeID(), h2, PndFtsHit::SetChamberID(), PndFtsHit::SetLayerID(), and PndFtsHit::SetTubeID().
Referenced by correctHits3DAndAdd().
void PndLineApproximation::correctHits3DAndAdd | ( | vector< PndFtsHit * > | correctedHits | ) |
Definition at line 21 of file PndLineApproximation.cxx.
References Bool_t, copyHitWithNewPosition(), CAMath::Cos(), fCorrectedHits, fLineApprox, PndLine::getPerpendicular(), i, and CAMath::Sin().
Referenced by PndWayFollower::getBestSkewedApproxTo(), newApproximation(), and PndLineApproximation().
|
inline |
Definition at line 33 of file PndLineApproximation.h.
Referenced by PndTrackCollection::add(), PndWayFollower::getBestApproxTo(), PndWayFollower::getBestSkewedApproxTo(), PndTrackCollection::getDistTo(), PndTrackCollection::getPndTrack(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveCorrectedTracklets(), and PndForwardTrackFinderTask::saveTrackCollection().
|
inline |
Definition at line 31 of file PndLineApproximation.h.
Referenced by PndTrackCollection::add(), PndFtsLineApproximator::addLine(), PndTrackCombiner::addLine(), PndTrackCombiner::addLineOld(), PndTrackCombiner::combine(), PndModuleCombiner::combineModules(), PndTrackCombiner::compareAndRefit(), PndFtsLineApproximator::createExpandedTrackCand(), PndForwardTrackFinderTask::createStatictcs(), PndForwardTrackFinderTask::getBest(), PndWayFollower::getBestApproxTo(), PndWayFollower::getBestSkewedApproxTo(), PndTrackCollection::getDistTo(), PndTrackCollection::refitAllTracks(), PndForwardTrackFinderTask::saveCombined(), PndForwardTrackFinderTask::saveCorrectedTracklets(), and PndForwardTrackFinderTask::saveTrackCollection().
|
inline |
Definition at line 44 of file PndLineApproximation.h.
Referenced by PndModuleCombiner::combineModules().
Definition at line 69 of file PndLineApproximation.cxx.
References PndLine::getDir(), PndLine::getP1(), linearRegressionZX(), linearRegressionZY(), p1, and p2.
Referenced by linearRegressionXZ(), linearRegressionYZ(), linearRegressionZX(), linearRegressionZY(), and newApproximation().
|
private |
Definition at line 78 of file PndLineApproximation.cxx.
References Double_t, i, linearRegression(), p1, and p2.
Definition at line 131 of file PndLineApproximation.cxx.
References Double_t, i, linearRegression(), p1, and p2.
Definition at line 106 of file PndLineApproximation.cxx.
References Double_t, i, linearRegression(), p1, and p2.
Referenced by linearRegression().
Definition at line 156 of file PndLineApproximation.cxx.
References Double_t, i, linearRegression(), p1, and p2.
Referenced by linearRegression().
PndLineApproximation PndLineApproximation::newApproximation | ( | PndLineApproximation & | approx2 | ) |
Definition at line 54 of file PndLineApproximation.cxx.
References correctHits3DAndAdd(), fCorrectedHits, fLineApprox, PndLine::getRating(), hits, i, linearRegression(), and PndLine::setRating().
Referenced by PndTrackCombiner::combine(), PndModuleCombiner::combineModules(), PndTrackCombiner::compareAndRefit(), PndFtsLineApproximator::createExpandedTrackCand(), and PndTrackCombiner::refitLines().
Definition at line 204 of file PndLineApproximation.cxx.
References PndTrackCand::AddHit(), fCorrectedHits, fLineApprox, i, PndLine::plot(), t, and v.
|
inline |
Definition at line 34 of file PndLineApproximation.h.
References h.
Referenced by PndTrackCollection::add().
|
inline |
Definition at line 32 of file PndLineApproximation.h.
|
inline |
Definition at line 43 of file PndLineApproximation.h.
References i.
Referenced by PndTrackCombiner::combine().
|
private |
Definition at line 48 of file PndLineApproximation.h.
Referenced by correctHits3DAndAdd(), newApproximation(), and plot().
|
private |
Definition at line 47 of file PndLineApproximation.h.
Referenced by correctHits3DAndAdd(), newApproximation(), plot(), and PndLineApproximation().
|
private |
Definition at line 50 of file PndLineApproximation.h.