|
Jpp 21.0.0-rc.1
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. | |
| const JModuleRouter & | getModuleRouter () const |
| Get module router. | |
| const JModuleAddress & | getAddress (const JModuleIdentifier &id) const |
| Get address of module. | |
| const JModule & | getModule (const JModuleIdentifier &id) const |
| Get module parameters. | |
| bool | hasModule (const JModuleIdentifier &id) const |
| Has module. | |
| const int | getIndex (const JModuleIdentifier &id) const |
| Get index of module. | |
| bool | hasPMT (const JPMTIdentifier &id) const |
| Has PMT. | |
| const JPMT & | getPMT (const JPMTIdentifier &id) const |
| Get PMT parameters. | |
| JUTMPosition | getUTMPosition (const JModuleIdentifier &id) const |
| Get UTM position of given module identifier. | |
| const JClass_t & | getReference () const |
| Get reference to object. | |
| JClass_t & | getReference () |
| Get reference to object. | |
| bool | is_valid () const |
| Check validity of reference. | |
| const JClass_t * | operator-> () const |
| Smart pointer. | |
| JClass_t * | operator-> () |
| Smart pointer. | |
| const JClass_t & | operator* () const |
| Dereference operator. | |
| JClass_t & | operator* () |
| Dereference operator. | |
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 to the logical address of the module (JModuleAddress) in the detector data structure.
Note that the required memory is determined by the range covered by the module identifiers.
Definition at line 34 of file JModuleRouter.hh.
|
private |
Definition at line 38 of file JModuleRouter.hh.
| 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.
|
inline |
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 |
Get reference to object.
Definition at line 38 of file JReference.hh.
|
inlineinherited |
|
inlineinherited |
Check validity of reference.
Definition at line 60 of file JReference.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 155 of file JModuleRouter.hh.
|
protectedinherited |
Definition at line 110 of file JReference.hh.