Jpp
15.0.5
the software that should make you happy
|
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... | |
bool | hasPMT (const JPMTIdentifier &id) const |
Has PMT. More... | |
const JPMT & | getPMT (const JPMTIdentifier &id) const |
Get PMT parameters. 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 34 of file JModuleRouter.hh.
|
private |
Definition at line 38 of file JModuleRouter.hh.
typedef JDetector::const_iterator JDETECTOR::JModuleRouter::const_iterator |
Definition at line 42 of file JModuleRouter.hh.
|
inline |
Constructor.
detector | detector |
Definition at line 50 of file JModuleRouter.hh.
|
inline |
Get module router.
Definition at line 65 of file JModuleRouter.hh.
|
inline |
Get address of module.
id | module identifier |
Definition at line 77 of file JModuleRouter.hh.
Get module parameters.
id | module identifier |
Definition at line 89 of file JModuleRouter.hh.
|
inline |
Has module.
id | module identifier |
Definition at line 101 of file JModuleRouter.hh.
|
inline |
Get index of module.
id | module identifier |
Definition at line 113 of file JModuleRouter.hh.
|
inline |
Has PMT.
id | PMT identifier |
Definition at line 125 of file JModuleRouter.hh.
|
inline |
Get PMT parameters.
id | PMT identifier |
Definition at line 137 of file JModuleRouter.hh.
|
inline |
Get UTM position of given module identifier.
id | module identifier |
Definition at line 149 of file JModuleRouter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 155 of file JModuleRouter.hh.
|
protectedinherited |
Definition at line 110 of file JReference.hh.