Data structure to translate PMT physical to readout address.
More...
#include <JModuleAddressMap.hh>
Data structure to translate PMT physical to readout address.
Definition at line 28 of file JModuleAddressMap.hh.
◆ JPMTAddressTranslator()
Constructor.
- Parameters
-
readout | readout address |
address | physical address |
Definition at line 38 of file JModuleAddressMap.hh.
◆ toString() [1/2]
std::string JDETECTOR::JPMTAddressTranslator::toString |
( |
| ) |
const |
|
inline |
◆ toString() [2/2]
std::string JDETECTOR::JPMTAddressTranslator::toString |
( |
const std::string & |
fmt, |
|
|
const std::string |
target = "%" |
|
) |
| const |
|
inline |
Convert PMT address translator to string.
The targets target
in the format string fmt
are consecutively replaced by tdc
, ring
and position
.
- Parameters
-
- Returns
- string
Definition at line 66 of file JModuleAddressMap.hh.
70 buffer.replace(target,
tdc, 1);
71 buffer.replace(target,
ring, 1);
◆ getTDC()
int JDETECTOR::JPMTReadoutAddress::getTDC |
( |
| ) |
const |
|
inlineinherited |
◆ less()
Less than method.
- Parameters
-
address | PMT physical address |
- Returns
- true if this address before given address; else false
Definition at line 60 of file JPMTPhysicalAddress.hh.
◆ tdc
int JDETECTOR::JPMTReadoutAddress::tdc |
|
inherited |
◆ ring
char JDETECTOR::JPMTPhysicalAddress::ring |
|
inherited |
◆ position
int JDETECTOR::JPMTPhysicalAddress::position |
|
inherited |
The documentation for this struct was generated from the following file: