PandaRoot
PndModuleCombiner.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*
14  * PndModuleCombiner.h
15  *
16  * Created on: Jul 18, 2016
17  * Author: kibellus
18  */
19 
20 #ifndef PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_
21 #define PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_
22 
23 #include <vector>
24 #include <iostream>
25 
26 #include "PndLineApproximation.h"
27 #include "PndLine.h"
28 #include "PndFtsLineComparator.h"
29 #include "PndTrackCollection.h"
30 
31 using namespace std;
32 
34  public:
35  static Double_t compDist;
36  static Double_t compAngle;
37  static Double_t hitAddT;
38  PndModuleCombiner() : fLineComparator(compDist, compAngle) {}
39  virtual ~PndModuleCombiner();
40  vector<PndLineApproximation> combineModules(vector<PndLineApproximation> m1, vector<PndLineApproximation> m2);
41  void combineModules(vector<PndTrackCollection> &c, vector<PndLineApproximation>);
42  void addUnusedHits(vector<PndFtsHit *> hits, vector<PndTrackCollection> &c);
43 
44  private:
45  PndFtsLineComparator fLineComparator;
46 };
47 
48 #endif /* PNDTOOLS_PNDFORWARDTRACKFINDER_PNDMODULECOMBINER_H_ */
static Double_t compAngle
STL namespace.
static Double_t compDist
static Double_t hitAddT