FairRoot/PandaRoot
PndSttNeighborhoodCreator.h
Go to the documentation of this file.
1 /*
2  * PndSttNeighborhoodCreator.h
3  *
4  * Created on: 03.08.2018
5  * Author: tstockmanns
6  */
7 
8 #ifndef DETECTORS_STT_PNDSTTNEIGHBORHOODCREATOR_H_
9 #define DETECTORS_STT_PNDSTTNEIGHBORHOODCREATOR_H_
10 
11 #include <TObject.h>
12 #include <vector>
13 
14 class PndSttTube;
15 
16 class PndSttNeighborhoodCreator : public TObject {
17 public:
20 
21  std::vector<int> FindNeighbors(PndSttTube* tube);
22 
23 protected:
24  std::vector< std::pair<int, int> > GetListOfSectorRowsToCompare(PndSttTube* tube);
25  bool Compare(PndSttTube* tube1, PndSttTube* tube2, double tolerance);
26  double GetTolerance(PndSttTube* tube1, PndSttTube* tube2);
27 
28 
30 };
31 
32 #endif /* DETECTORS_STT_PNDSTTNEIGHBORHOODCREATOR_H_ */
double GetTolerance(PndSttTube *tube1, PndSttTube *tube2)
bool Compare(PndSttTube *tube1, PndSttTube *tube2, double tolerance)
std::vector< int > FindNeighbors(PndSttTube *tube)
std::vector< std::pair< int, int > > GetListOfSectorRowsToCompare(PndSttTube *tube)
ClassDef(PndSttNeighborhoodCreator, 1)