Jpp
15.0.0-rc.2
the software that should make you happy
|
Router for direct addressing of PMT data in detector data structure. More...
#include <JPMTRouter.hh>
Public Types | |
typedef JDetector::const_iterator | const_iterator |
Public Member Functions | |
JPMTRouter (const JDetector &detector) | |
Constructor. More... | |
const JPMTRouter & | getPMTRouter () const |
Get PMT router. More... | |
const JPMTAddress & | getAddress (const JObjectID &id) const |
Get address of PMT. More... | |
const JPMT & | getPMT (const JPMTAddress &address) const |
Get PMT. More... | |
const JPMT & | getPMT (const JObjectID &id) const |
Get PMT. More... | |
bool | hasPMT (const JObjectID &id) const |
Has PMT. More... | |
JPMTIdentifier | getIdentifier (const JPMTAddress &address) const |
Get identifier of PMT. More... | |
JPMTIdentifier | getIdentifier (const JObjectID &id) const |
Get identifier of PMT. More... | |
const JModule & | getModule (const JModuleAddress &address) const |
Get module. More... | |
const JModule & | getParentModule (const JObjectID &id) const |
Get parent module. More... | |
int | getParentModuleID (const JObjectID &id) const |
Get parent module identifier. More... | |
JPMTChannel | getPMTChannel (const JPMTAddress &address) const |
Get PMT channel. More... | |
JPMTChannel | getPMTChannel (const JObjectID &id) const |
Get PMT channel. More... | |
JUTMPosition | getUTMPosition (const JObjectID &id) const |
Get UTM position of given PMT 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< JPMTAddress > | router |
Router for direct addressing of PMT data in detector data structure.
This router can be used to directly map the PMT identifier (JObjectID) to the logical address of the PMT (JPMTAddress) in the detector data structure.
Definition at line 33 of file JPMTRouter.hh.
|
private |
Definition at line 37 of file JPMTRouter.hh.
typedef JDetector::const_iterator JDETECTOR::JPMTRouter::const_iterator |
Definition at line 41 of file JPMTRouter.hh.
|
inline |
Constructor.
detector | detector |
Definition at line 49 of file JPMTRouter.hh.
|
inline |
Get PMT router.
Definition at line 66 of file JPMTRouter.hh.
|
inline |
Get address of PMT.
id | PMT identifier |
Definition at line 78 of file JPMTRouter.hh.
|
inline |
Get PMT.
address | PMT address |
Definition at line 90 of file JPMTRouter.hh.
Get PMT.
id | PMT identifier |
Definition at line 102 of file JPMTRouter.hh.
|
inline |
Has PMT.
id | PMT identifier |
Definition at line 114 of file JPMTRouter.hh.
|
inline |
Get identifier of PMT.
address | PMT address |
Definition at line 126 of file JPMTRouter.hh.
|
inline |
Get identifier of PMT.
id | PMT identifier |
Definition at line 138 of file JPMTRouter.hh.
|
inline |
Get module.
address | module address |
Definition at line 150 of file JPMTRouter.hh.
Get parent module.
id | PMT identifier |
Definition at line 162 of file JPMTRouter.hh.
|
inline |
Get parent module identifier.
id | PMT identifier |
Definition at line 174 of file JPMTRouter.hh.
|
inline |
Get PMT channel.
address | PMT address |
Definition at line 186 of file JPMTRouter.hh.
|
inline |
Get PMT channel.
id | PMT identifier |
Definition at line 198 of file JPMTRouter.hh.
|
inline |
Get UTM position of given PMT identifier.
id | PMT identifier |
Definition at line 210 of file JPMTRouter.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 216 of file JPMTRouter.hh.
|
protectedinherited |
Definition at line 110 of file JReference.hh.