Simple wrapper around JModuleRouter class for direct addressing of PMT data in detector data structure for DAQ hits.
More...
#include <JDAQHitRouter.hh>
Simple wrapper around JModuleRouter class for direct addressing of PMT data in detector data structure for DAQ hits.
Definition at line 24 of file JDAQHitRouter.hh.
JDETECTOR::JDAQHitRouter::JDAQHitRouter |
( |
const JDetector & |
detector | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 36 of file JDAQHitRouter.hh.
JModuleRouter(const JDetector &detector)
Constructor.
Get module parameters.
- Parameters
-
- Returns
- module parameters
Definition at line 47 of file JDAQHitRouter.hh.
const JModule & getModule(const JDAQKeyHit &hit) const
Get module parameters.
const JPMT& JDETECTOR::JDAQHitRouter::getPMT |
( |
const JDAQKeyHit & |
hit | ) |
const |
|
inline |
Get PMT parameters.
- Parameters
-
- Returns
- PMT parameters
Definition at line 59 of file JDAQHitRouter.hh.
const JModule & getModule(const JDAQKeyHit &hit) const
Get module parameters.
const JPMT & getPMT(const int index) const
Get PMT.
Get PMT channel.
- Parameters
-
- Returns
- PMT channel
Definition at line 71 of file JDAQHitRouter.hh.
Auxiliary class to uniquely identify PMT readout channel.
const JModule & getModule(const JDAQKeyHit &hit) const
Get module parameters.
const JClass_t & getReference() const
Get reference to object.
Data structure for PMT readout address.
Logical location of module.
const JModuleRouter& JDETECTOR::JModuleRouter::getModuleRouter |
( |
| ) |
const |
|
inlineinherited |
Get module router.
- Returns
- module router
Definition at line 64 of file JModuleRouter.hh.
Router for direct addressing of module data in detector data structure.
Get address of module.
- Parameters
-
- Returns
- address
Definition at line 76 of file JModuleRouter.hh.
78 return router.get(
id.getID());
JTOOLS::JRouter< JModuleAddress > router
const JModule& JDETECTOR::JModuleRouter::getModule |
( |
const JObjectID & |
id | ) |
const |
|
inlineinherited |
Get module parameters.
- Parameters
-
- Returns
- module parameters
Definition at line 88 of file JModuleRouter.hh.
const JClass_t & getReference() const
Get reference to object.
const JModuleAddress & getAddress(const JObjectID &id) const
Get address of module.
bool JDETECTOR::JModuleRouter::hasModule |
( |
const JObjectID & |
id | ) |
const |
|
inlineinherited |
Has module.
- Parameters
-
- Returns
- true if module present; else false
Definition at line 100 of file JModuleRouter.hh.
102 return router.has(
id.getID());
JTOOLS::JRouter< JModuleAddress > router
const int JDETECTOR::JModuleRouter::getIndex |
( |
const JObjectID & |
id | ) |
const |
|
inlineinherited |
Get index of module.
- Parameters
-
- Returns
- index
Definition at line 112 of file JModuleRouter.hh.
int first
index of module in detector data structure
const JModuleAddress & getAddress(const JObjectID &id) const
Get address of module.
Get UTM position of given module identifier.
- Parameters
-
- Returns
- UTM position
Definition at line 124 of file JModuleRouter.hh.
const JModule & getModule(const JObjectID &id) const
Get module parameters.
const JClass_t & getReference() const
Get reference to object.
JPosition3D getPosition(const Vec &v)
Get position.
Get reference to object.
- Returns
- reference to object
Definition at line 38 of file JReference.hh.
Get reference to object.
- Returns
- reference to object
Definition at line 49 of file JReference.hh.
Check validity of reference.
- Returns
- true
Definition at line 60 of file JReference.hh.
Smart pointer.
- Returns
- pointer to object
Definition at line 71 of file JReference.hh.
Smart pointer.
- Returns
- pointer to object
Definition at line 82 of file JReference.hh.
Dereference operator.
- Returns
- reference to object
Definition at line 93 of file JReference.hh.
Dereference operator.
- Returns
- reference to object
Definition at line 104 of file JReference.hh.
The documentation for this class was generated from the following file: