Data structure for PMT physical address.
More...
#include <JPMTPhysicalAddress.hh>
Data structure for PMT physical address.
Definition at line 29 of file JPMTPhysicalAddress.hh.
◆ JPMTPhysicalAddress() [1/2]
JDETECTOR::JPMTPhysicalAddress::JPMTPhysicalAddress |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 36 of file JPMTPhysicalAddress.hh.
char ring
ring number ['A','F']
int position
position within ring [1,6]
◆ JPMTPhysicalAddress() [2/2]
JDETECTOR::JPMTPhysicalAddress::JPMTPhysicalAddress |
( |
const char |
ring, |
|
|
const int |
position |
|
) |
| |
|
inline |
◆ less()
Less than method.
- Parameters
-
address | PMT physical address |
- Returns
- true if this address before given address; else false
Definition at line 63 of file JPMTPhysicalAddress.hh.
◆ toString()
std::string JDETECTOR::JPMTPhysicalAddress::toString |
( |
| ) |
const |
|
inline |
Convert PMT physical address to string.
- Returns
- string
Definition at line 141 of file JPMTPhysicalAddress.hh.
143 std::ostringstream os;
◆ operator>> [1/2]
Read PMT physical address from input.
- Parameters
-
in | input stream |
object | PMT physical address |
- Returns
- input stream
Definition at line 79 of file JPMTPhysicalAddress.hh.
82 in >>
object.position;
◆ operator<< [1/2]
Write PMT physical address to output.
- Parameters
-
out | output stream |
object | PMT physical address |
- Returns
- output stream
Definition at line 95 of file JPMTPhysicalAddress.hh.
98 out <<
object.position;
◆ operator>> [2/2]
Read PMT physical address from input.
- Parameters
-
in | reader |
object | PMT physical address |
- Returns
- reader
Definition at line 111 of file JPMTPhysicalAddress.hh.
114 in >>
object.position;
◆ operator<< [2/2]
Write PMT physical address to output.
- Parameters
-
out | writer |
object | PMT physical address |
- Returns
- writer
Definition at line 127 of file JPMTPhysicalAddress.hh.
130 out <<
object.position;
◆ ring
char JDETECTOR::JPMTPhysicalAddress::ring |
◆ position
int JDETECTOR::JPMTPhysicalAddress::position |
The documentation for this class was generated from the following file: