Lookup table for PMT addresses in detector.
More...
#include <JDetectorAddressMap.hh>
Lookup table for PMT addresses in detector.
Definition at line 25 of file JDetectorAddressMap.hh.
◆ JDetectorAddressMap()
JDETECTOR::JDetectorAddressMap::JDetectorAddressMap |
( |
| ) |
|
|
inlineprotected |
Default constructor.
Definition at line 31 of file JDetectorAddressMap.hh.
JTOOLS::JRouter< int > router
std::vector< JModuleAddressMap > buffer
◆ ~JDetectorAddressMap()
virtual JDETECTOR::JDetectorAddressMap::~JDetectorAddressMap |
( |
| ) |
|
|
inlinevirtual |
◆ getDefaultModuleAddressMap()
virtual const JModuleAddressMap& JDETECTOR::JDetectorAddressMap::getDefaultModuleAddressMap |
( |
| ) |
const |
|
pure virtual |
◆ getModuleID()
virtual int JDETECTOR::JDetectorAddressMap::getModuleID |
( |
const JLocation & |
location | ) |
const |
|
inlinevirtual |
Get module identifier.
- Parameters
-
- Returns
- module identifier
Definition at line 58 of file JDetectorAddressMap.hh.
int getFloor() const
Get floor number.
int getString() const
Get string number.
◆ get() [1/3]
Get module address map.
- Parameters
-
Definition at line 69 of file JDetectorAddressMap.hh.
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const =0
Get default module address map.
◆ get() [2/3]
◆ get() [3/3]
Get PMT address translator.
- Parameters
-
- Returns
- PMT address translator
Definition at line 103 of file JDetectorAddressMap.hh.
virtual int getModuleID(const JLocation &location) const
Get module identifier.
const JModuleAddressMap & get(const int id) const
Get module address map.
const JPMTAddressTranslator & getAddressTranslator(const int tdc) const
Get PMT address translator.
◆ buffer
◆ router
The documentation for this class was generated from the following file: