ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHTpcLookup.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHTpcLookup.h
1
7
#ifndef PHTPCLOOKUP_H_
8
#define PHTPCLOOKUP_H_
9
10
#include "
externals/kdfinder.hpp
"
11
#include "
externals/nanoflann.hpp
"
// for KDTreeSingleIndexAdaptor, L2_Simp...
12
13
#include <cstddef>
// for size_t
14
#include <vector>
15
16
class
TrkrClusterContainer
;
17
class
TrkrHitSetContainer
;
18
23
class
PHTpcLookup
24
{
25
public
:
26
PHTpcLookup
();
27
~PHTpcLookup
();
28
29
void
init
(
TrkrClusterContainer
* cluster_map,
TrkrHitSetContainer
* hitsets);
30
void
clear
();
31
32
std::vector<std::vector<double>*>
find
(
double
x
,
double
y
,
double
z
,
double
radius
,
size_t
& nMatches);
33
34
protected
:
35
36
TrkrClusterContainer
*
mClusterMap
;
37
TrkrHitSetContainer
*
mHitsets
;
38
std::vector<std::vector<double> >
mKDhits
;
39
kdfinder::KDPointCloud<double>
mCloud
;
40
nanoflann::KDTreeSingleIndexAdaptor<nanoflann::L2_Simple_Adaptor<double, kdfinder::KDPointCloud<double>
>,
41
kdfinder::KDPointCloud<double>
, 3>*
mKDindex
;
42
43
private
:
44
};
45
46
#endif
/* PHTPCLOOKUP_H_ */
coresoftware
blob
master
offline
packages
PHTpcTracker
PHTpcLookup.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration