#include <TrackerMapDDDtoID.h>
Public Types | |
typedef std::map< nav_type, uint32_t > | MapType |
typedef GeometricDet::nav_type | nav_type |
typedef std::map< uint32_t, nav_type > | RevMapType |
Public Member Functions | |
std::vector< nav_type > const & | allNavTypes () const |
void | clear () |
unsigned int | id (const nav_type &) const |
calculate the id of a given node More... | |
nav_type const & | navType (uint32_t) const |
TrackerMapDDDtoID (const GeometricDet *iDet) | |
~TrackerMapDDDtoID () | |
Private Member Functions | |
void | buildAll (const GeometricDet *) |
void | buildAllStep2 (const GeometricDet *) |
Private Attributes | |
std::vector< nav_type > | navVec |
MapType | path2id_ |
RevMapType | revpath2id_ |
Definition at line 14 of file TrackerMapDDDtoID.h.
typedef std::map<nav_type,uint32_t> TrackerMapDDDtoID::MapType |
Definition at line 18 of file TrackerMapDDDtoID.h.
Definition at line 17 of file TrackerMapDDDtoID.h.
typedef std::map<uint32_t,nav_type> TrackerMapDDDtoID::RevMapType |
Definition at line 19 of file TrackerMapDDDtoID.h.
TrackerMapDDDtoID::TrackerMapDDDtoID | ( | const GeometricDet * | iDet | ) |
|
inline |
std::vector< TrackerMapDDDtoID::nav_type > const & TrackerMapDDDtoID::allNavTypes | ( | ) | const |
|
private |
Definition at line 18 of file TrackerMapDDDtoID.cc.
References buildAllStep2().
Referenced by TrackerMapDDDtoID().
|
private |
Definition at line 24 of file TrackerMapDDDtoID.cc.
References GeometricDet::deepComponents(), j, navType(), navVec, path2id_, and revpath2id_.
Referenced by buildAll().
void TrackerMapDDDtoID::clear | ( | void | ) |
Definition at line 81 of file TrackerMapDDDtoID.cc.
References path2id_.
Referenced by ~TrackerMapDDDtoID().
unsigned int TrackerMapDDDtoID::id | ( | const nav_type & | n | ) | const |
calculate the id of a given node
Definition at line 55 of file TrackerMapDDDtoID.cc.
References path2id_, and mps_fire::result.
TrackerMapDDDtoID::nav_type const & TrackerMapDDDtoID::navType | ( | uint32_t | num | ) | const |
Definition at line 73 of file TrackerMapDDDtoID.cc.
References revpath2id_.
Referenced by buildAllStep2().
|
private |
Definition at line 41 of file TrackerMapDDDtoID.h.
Referenced by allNavTypes(), and buildAllStep2().
|
private |
Definition at line 42 of file TrackerMapDDDtoID.h.
Referenced by buildAllStep2(), clear(), and id().
|
private |
Definition at line 43 of file TrackerMapDDDtoID.h.
Referenced by buildAllStep2(), and navType().