LDMX Software
|
Public Member Functions | |
int | GetID (int cell_id, int module_id) |
float | GetDist (int id1, int id2) |
void | AddTP (int tid, int cell_id, int module_id, float x, float y) |
void | AddNeighbor (int id1, int id2) |
bool | CheckNeighbor (int id1, int id2) |
void | Initialize () |
Public Attributes | |
bool | is_initialized = false |
std::map< std::pair< int, int >, int > | reverse_id_map |
std::map< int, std::pair< int, int > > | id_map |
std::map< int, std::pair< float, float > > | positions |
std::map< std::pair< int, int >, float > | distances |
std::map< int, std::vector< int > > | neighbors |
Definition at line 18 of file IdealClusterBuilder.h.
void trigger::ClusterGeometry::AddNeighbor | ( | int | id1, |
int | id2 | ||
) |
Definition at line 11 of file IdealClusterBuilder.cxx.
void trigger::ClusterGeometry::AddTP | ( | int | tid, |
int | cell_id, | ||
int | module_id, | ||
float | x, | ||
float | y | ||
) |
Definition at line 5 of file IdealClusterBuilder.cxx.
bool trigger::ClusterGeometry::CheckNeighbor | ( | int | id1, |
int | id2 | ||
) |
Definition at line 22 of file IdealClusterBuilder.cxx.
|
inline |
Definition at line 38 of file IdealClusterBuilder.h.
|
inline |
Definition at line 35 of file IdealClusterBuilder.h.
void trigger::ClusterGeometry::Initialize | ( | ) |
Definition at line 27 of file IdealClusterBuilder.cxx.
std::map<std::pair<int, int>, float> trigger::ClusterGeometry::distances |
Definition at line 30 of file IdealClusterBuilder.h.
std::map<int, std::pair<int, int> > trigger::ClusterGeometry::id_map |
Definition at line 24 of file IdealClusterBuilder.h.
bool trigger::ClusterGeometry::is_initialized = false |
Definition at line 20 of file IdealClusterBuilder.h.
std::map<int, std::vector<int> > trigger::ClusterGeometry::neighbors |
Definition at line 33 of file IdealClusterBuilder.h.
std::map<int, std::pair<float, float> > trigger::ClusterGeometry::positions |
Definition at line 27 of file IdealClusterBuilder.h.
std::map<std::pair<int, int>, int> trigger::ClusterGeometry::reverse_id_map |
Definition at line 23 of file IdealClusterBuilder.h.