1 #ifndef __JDETECTOR__JPMTPHYSICALADDRESS__
2 #define __JDETECTOR__JPMTPHYSICALADDRESS__
15 namespace JDETECTOR {}
16 namespace JPP {
using namespace JDETECTOR; }
79 in >>
object.position;
95 out <<
object.position;
111 in >>
object.position;
127 out <<
object.position;
140 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.
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.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in