1 #ifndef __JDETECTOR__JPMTPHYSICALADDRESS__
2 #define __JDETECTOR__JPMTPHYSICALADDRESS__
16 namespace JDETECTOR {}
17 namespace JPP {
using namespace JDETECTOR; }
82 in >>
object.position;
98 out <<
object.position;
114 in >>
object.position;
130 out <<
object.position;
143 std::ostringstream os;
Interface for binary output.
JPMTPhysicalAddress(const char ring, const int position)
Constructor.
friend std::ostream & operator<<(std::ostream &out, const JPMTPhysicalAddress &object)
Write PMT physical address to output.
friend JReader & operator>>(JReader &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
friend std::istream & operator>>(std::istream &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
char ring
ring number ['A','F']
Interface for binary input.
Template definition of auxiliary base class for comparison of data structures.
friend JWriter & operator<<(JWriter &out, const JPMTPhysicalAddress &object)
Write PMT physical address to output.
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
std::string toString() const
Convert PMT physical address to string.
int position
position within ring [1,6]
JPMTPhysicalAddress()
Default constructor.
Data structure for PMT physical address.
bool less(const JPMTPhysicalAddress &address) const
Less than method.