forked from cms-patatrack/heterogeneous-clue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClusterCollection.h
39 lines (32 loc) · 916 Bytes
/
ClusterCollection.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef Cluster_Collection_h
#define Cluster_Collection_h
#include <vector>
struct ClusterCollection {
ClusterCollection() = default;
void outResize() {
auto nClusters = x.size();
rho.resize(nClusters);
delta.resize(nClusters);
nearestHigher.resize(nClusters);
tracksterIndex.resize(nClusters);
followers.resize(nClusters);
isSeed.resize(nClusters);
}
std::vector<float> x;
std::vector<float> y;
std::vector<float> z;
std::vector<float> eta;
std::vector<float> phi;
std::vector<float> r_over_absz;
std::vector<float> radius;
std::vector<int> layer;
std::vector<float> energy;
std::vector<int> isSilicon;
std::vector<float> rho;
std::vector<std::pair<float, int>> delta;
std::vector<std::pair<int, int>> nearestHigher;
std::vector<std::vector<std::pair<int, int>>> followers;
std::vector<int> isSeed;
std::vector<int> tracksterIndex;
};
#endif