Data structure for PMT physical address.
More...
#include <JPMTPhysicalAddress.hh>
Data structure for PMT physical address.
Definition at line 29 of file JPMTPhysicalAddress.hh.
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]
JDETECTOR::JPMTPhysicalAddress::JPMTPhysicalAddress |
( |
const char |
ring, |
|
|
const int |
position |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
ring | ring |
position | position |
Definition at line 49 of file JPMTPhysicalAddress.hh.
char ring
ring number ['A','F']
int position
position within ring [1,6]
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.
char ring
ring number ['A','F']
int position
position within ring [1,6]
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;
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;
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
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;
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;
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
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;
char JDETECTOR::JPMTPhysicalAddress::ring |
int JDETECTOR::JPMTPhysicalAddress::position |
The documentation for this class was generated from the following file: