PandaRoot
PndModuleCombiner.h
Go to the documentation of this file.
1 /*
2  * PndModuleCombiner.h
3  *
4  * Created on: Jul 18, 2016
5  * Author: kibellus
6  */
7 
8 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_
9 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_
10 
11 #include <vector>
12 #include <iostream>
13 
14 #include "PndLineApproximation.h"
15 #include "PndLine.h"
16 #include "PndFtsLineComparator.h"
17 #include "PndTrackCollection.h"
18 
19 using namespace std;
20 
22  public:
23  static Double_t compDist;
24  static Double_t compAngle;
25  static Double_t hitAddT;
26  PndModuleCombiner() : fLineComparator(compDist, compAngle) {}
27  virtual ~PndModuleCombiner();
28  vector<PndLineApproximation> combineModules(vector<PndLineApproximation> m1, vector<PndLineApproximation> m2);
29  void combineModules(vector<PndTrackCollection> &c, vector<PndLineApproximation>);
30  void addUnusedHits(vector<PndFtsHit *> hits, vector<PndTrackCollection> &c);
31 
32  private:
33  PndFtsLineComparator fLineComparator;
34 };
35 
36 #endif /* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_ */
static Double_t compAngle
STL namespace.
static Double_t compDist
static Double_t hitAddT