#include <PndWayFollower.h>
Definition at line 24 of file PndWayFollower.h.
PndWayFollower::PndWayFollower |
( |
TClonesArray * |
p, |
|
|
TClonesArray * |
p2 |
|
) |
| |
|
inline |
Definition at line 29 of file PndWayFollower.h.
PndFtsLineComparator fLineComp
static Double_t compAngle
PndWayFollower::~PndWayFollower |
( |
| ) |
|
|
virtual |
Definition at line 14 of file PndWayFollower.cxx.
References a, PndTrackCollection::add(), best, fBefore, getBestApproxTo(), getBestSkewedApproxTo(), PndTrackCollection::getLastLine(), and i.
Referenced by PndForwardTrackFinderTask::Exec().
15 vector<PndTrackCollection> result;
16 cout <<
"Start follow lines" << endl;
30 cout <<
"Follow Track " <<
i << endl;
33 trackCollection.
add(a,kTRUE);
37 trackCollection.
add(best,kFALSE);
39 trackCollection.
add(best2,kTRUE);
41 trackCollection.
add(best3,kTRUE);
43 trackCollection.
add(best4,kFALSE);
47 trackCollection.
add(best5,kFALSE);
65 trackCollection.
add(best6,kTRUE);
67 trackCollection.
add(best7,kTRUE);
69 trackCollection.
add(best8,kFALSE);
71 result.push_back(trackCollection);
PndLineApproximation getBestSkewedApproxTo(PndLine l2, Int_t layer)
vector< PndLineApproximation > fBefore
void add(PndLineApproximation l, Bool_t skewed)
PndLineApproximation getBestApproxTo(PndLine l1, Int_t layer)
Definition at line 76 of file PndWayFollower.cxx.
References cands, Double_t, fLineComp, PndLine::getDir(), PndFtsLineComparator::getDist2D(), PndLineApproximation::getHits(), PndLineApproximation::getLine(), PndLine::getP1(), PndFtsLineComparator::getQuality(), i, qualiT, PndLine::setRating(), and PndFtsLineComparator::setZValue().
Referenced by followLines().
77 vector<PndFtsExpandedTrackCand> layerCands =
cands[layer];
83 for(
size_t i=0;
i<layerCands.size();
i++){
84 vector<PndLineApproximation> approxs = layerCands[
i].getLineApproximations();
85 for(
size_t j=0;j<approxs.size();j++){
vector< PndFtsHit * > getHits()
map< Int_t, vector< PndFtsExpandedTrackCand > > cands
Double_t getDist2D(TVector3 b1, TVector3 b2, TVector3 d1, TVector3 d2)
PndFtsLineComparator fLineComp
void setZValue(Double_t z)
Double_t getQuality(PndLine l1, PndLine l2)
Definition at line 111 of file PndWayFollower.cxx.
References cands, PndLineApproximation::correctHits3DAndAdd(), Double_t, fLineComp, PndLineApproximation::getHits(), PndPlane::getIntersection(), PndLineApproximation::getLine(), PndFtsLineComparator::getQuality(), PndFtsLineComparator::getQuality3D(), hits, i, p1, p2, qualiT, PndLine::setRating(), and PndFtsLineComparator::setZValue().
Referenced by followLines().
113 vector<PndFtsExpandedTrackCand> layerCands =
cands[layer];
119 for(
size_t i=0;
i<layerCands.size();
i++){
120 vector<PndLineApproximation> approxs = layerCands[
i].getLineApproximations();
121 for(
size_t j=0;j<approxs.size();j++){
130 vector<PndFtsHit*>
hits;
vector< PndFtsHit * > getHits()
map< Int_t, vector< PndFtsExpandedTrackCand > > cands
PndFtsLineComparator fLineComp
Double_t getQuality3D(PndLine l1, PndLine l2)
void setZValue(Double_t z)
Double_t getQuality(PndLine l1, PndLine l2)
void correctHits3DAndAdd(vector< PndFtsHit * > correctedHits)
int PndWayFollower::asd = 0 |
|
private |
TClonesArray* PndWayFollower::planes |
|
private |
TClonesArray* PndWayFollower::planesHit |
|
private |
The documentation for this class was generated from the following files: