8 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDTRACKCOMBINER_H_
9 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDTRACKCOMBINER_H_
20 #include "FairTrackParP.h"
26 #include "TClonesArray.h"
36 PndTrackCombiner(TClonesArray*
a,TClonesArray *
b): fComparator(compDist,compAngle), planes(a), corrHits(b), firstRun(0), angleLimit(20){}
38 void init(
map<Int_t, vector<PndFtsExpandedTrackCand>>
c){
39 fExpandedTrackCands=
c;
49 vector<PndLineApproximation>
combine(Int_t bigLayer);
50 vector<PndLineApproximation>
combine(vector<PndFtsExpandedTrackCand> cands1, vector<PndFtsExpandedTrackCand> cands2, Int_t layer1, Int_t layer2);
57 void refitLines(vector<PndLineCombination> &lines);
58 vector<PndFtsExpandedTrackCand> compareAndRefit(Int_t layer1, Int_t layer2);
59 vector<PndLineApproximation> compareAndRefit(vector<PndLineApproximation> l1, vector<PndLineApproximation> l2);
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
int combine(CandList &l1, CandList &l2, CandList &out, int matchPdg=0)
PndTrackCombiner(TClonesArray *a, TClonesArray *b)
static Double_t compAngle
void init(map< Int_t, vector< PndFtsExpandedTrackCand >> c)
static Double_t compQuali
map< Int_t, vector< PndFtsExpandedTrackCand > > fExpandedTrackCands
PndFtsLineComparator fComparator