Jpp
|
Router for direct addressing of module data in detector data structure. More...
#include <JModuleRouter.hh>
Public Types | |
typedef JDetector::const_iterator | const_iterator |
Public Member Functions | |
JModuleRouter (const JDetector &detector) | |
Constructor. More... | |
const JModuleRouter & | getModuleRouter () const |
Get module router. More... | |
const JModuleAddress & | getAddress (const JObjectID &id) const |
Get address of module. More... | |
const JModule & | getModule (const JObjectID &id) const |
Get module parameters. More... | |
bool | hasModule (const JObjectID &id) const |
Has module. More... | |
const int | getIndex (const JObjectID &id) const |
Get index of module. More... | |
JUTMPosition | getUTMPosition (const JObjectID &id) const |
Get UTM position of given module identifier. More... | |
const JClass_t & | getReference () const |
Get reference to object. More... | |
JClass_t & | getReference () |
Get reference to object. More... | |
bool | is_valid () const |
Check validity of reference. More... | |
const JClass_t * | operator-> () const |
Smart pointer. More... | |
JClass_t * | operator-> () |
Smart pointer. More... | |
const JClass_t & | operator* () const |
Dereference operator. More... | |
JClass_t & | operator* () |
Dereference operator. More... | |
Protected Attributes | |
JClass_t & | __object |
Private Types | |
typedef JReference< const JDetector > | JReference_t |
Private Attributes | |
JTOOLS::JRouter< JModuleAddress > | router |
Router for direct addressing of module data in detector data structure.
This router can be used to directly map the module identifier (JModuleIdentifier) to the logical address of the module (JModuleAddress) in the detector data structure.
Definition at line 33 of file JModuleRouter.hh.
|
private |
Definition at line 37 of file JModuleRouter.hh.
typedef JDetector::const_iterator JDETECTOR::JModuleRouter::const_iterator |
Definition at line 41 of file JModuleRouter.hh.
|
inline |
Constructor.
detector | detector |
Definition at line 49 of file JModuleRouter.hh.
|
inline |
Get module router.
Definition at line 64 of file JModuleRouter.hh.
|
inline |
Get address of module.
id | module identifier |
Definition at line 76 of file JModuleRouter.hh.
Get module parameters.
id | module identifier |
Definition at line 88 of file JModuleRouter.hh.
|
inline |
Has module.
id | module identifier |
Definition at line 100 of file JModuleRouter.hh.
|
inline |
Get index of module.
id | module identifier |
Definition at line 112 of file JModuleRouter.hh.
|
inline |
Get UTM position of given module identifier.
id | module identifier |
Definition at line 124 of file JModuleRouter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 130 of file JModuleRouter.hh.
|
protectedinherited |
Definition at line 110 of file JReference.hh.