#include <MTDMapDDDtoID.h>
Public Types | |
typedef std::map< nav_type, uint32_t > | MapType |
typedef GeometricTimingDet::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... | |
MTDMapDDDtoID (const GeometricTimingDet *iDet) | |
nav_type const & | navType (uint32_t) const |
~MTDMapDDDtoID () | |
Private Member Functions | |
void | buildAll (const GeometricTimingDet *) |
void | buildAllStep2 (const GeometricTimingDet *) |
Private Attributes | |
std::vector< nav_type > | navVec |
MapType | path2id_ |
RevMapType | revpath2id_ |
Definition at line 14 of file MTDMapDDDtoID.h.
typedef std::map<nav_type,uint32_t> MTDMapDDDtoID::MapType |
Definition at line 18 of file MTDMapDDDtoID.h.
Definition at line 17 of file MTDMapDDDtoID.h.
typedef std::map<uint32_t,nav_type> MTDMapDDDtoID::RevMapType |
Definition at line 19 of file MTDMapDDDtoID.h.
MTDMapDDDtoID::MTDMapDDDtoID | ( | const GeometricTimingDet * | iDet | ) |
|
inline |
Definition at line 22 of file MTDMapDDDtoID.h.
References allNavTypes(), buildAll(), buildAllStep2(), clear(), id(), and navType().
std::vector< MTDMapDDDtoID::nav_type > const & MTDMapDDDtoID::allNavTypes | ( | ) | const |
|
private |
Definition at line 18 of file MTDMapDDDtoID.cc.
References buildAllStep2().
Referenced by MTDMapDDDtoID(), and ~MTDMapDDDtoID().
|
private |
Definition at line 24 of file MTDMapDDDtoID.cc.
References GeometricTimingDet::deepComponents(), navVec, path2id_, and revpath2id_.
Referenced by buildAll(), and ~MTDMapDDDtoID().
void MTDMapDDDtoID::clear | ( | void | ) |
Definition at line 68 of file MTDMapDDDtoID.cc.
References path2id_.
Referenced by ~MTDMapDDDtoID().
unsigned int MTDMapDDDtoID::id | ( | const nav_type & | n | ) | const |
calculate the id of a given node
Definition at line 42 of file MTDMapDDDtoID.cc.
References path2id_, and mps_fire::result.
Referenced by ~MTDMapDDDtoID().
MTDMapDDDtoID::nav_type const & MTDMapDDDtoID::navType | ( | uint32_t | num | ) | const |
Definition at line 60 of file MTDMapDDDtoID.cc.
References revpath2id_.
Referenced by ~MTDMapDDDtoID().
|
private |
Definition at line 35 of file MTDMapDDDtoID.h.
Referenced by allNavTypes(), and buildAllStep2().
|
private |
Definition at line 36 of file MTDMapDDDtoID.h.
Referenced by buildAllStep2(), clear(), and id().
|
private |
Definition at line 37 of file MTDMapDDDtoID.h.
Referenced by buildAllStep2(), and navType().