FairRoot/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:
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 private:
33 };
34 
35 #endif /* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_ */
PndFtsLineComparator fLineComparator
static Double_t compAngle
TString m2(TString pts, TString exts="e px py pz")
Definition: invexp.C:117
Double_t
static Double_t compDist
CbmHit * hits[nHits]
Definition: RiemannTest.C:19
static Double_t hitAddT