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);
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++){
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()
PndLine getIntersection(PndPlane &p)
map< Int_t, vector< PndFtsExpandedTrackCand > > cands
Double_t getDist2D(TVector3 b1, TVector3 b2, TVector3 d1, TVector3 d2)
PndFtsLineComparator fLineComp
Double_t getQuality3D(PndLine l1, PndLine l2)
virtual ~PndWayFollower()
void setZValue(Double_t z)
Double_t getQuality(PndLine l1, PndLine l2)
vector< PndTrackCollection > followLines(Int_t begin)
PndLineApproximation getBestSkewedApproxTo(PndLine l2, Int_t layer)
vector< PndLineApproximation > fBefore
void correctHits3DAndAdd(vector< PndFtsHit * > correctedHits)
void add(PndLineApproximation l, Bool_t skewed)
static Double_t compAngle
PndLineApproximation getBestApproxTo(PndLine l1, Int_t layer)