1 #ifndef __JDETECTOR__JPMTPHYSICALADDRESS__
2 #define __JDETECTOR__JPMTPHYSICALADDRESS__
82 in >>
object.position;
98 out <<
object.position;
114 in >>
object.position;
130 out <<
object.position;
143 std::ostringstream os;
Data structure for PMT physical address.
JPMTPhysicalAddress()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JPMTPhysicalAddress &object)
Write PMT physical address to output.
friend std::istream & operator>>(std::istream &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
char ring
ring number ['A','F']
std::string toString() const
Convert PMT physical address to string.
JPMTPhysicalAddress(const char ring, const int position)
Constructor.
int position
position within ring [1,6]
friend JReader & operator>>(JReader &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
bool less(const JPMTPhysicalAddress &address) const
Less than method.
friend JWriter & operator<<(JWriter &out, const JPMTPhysicalAddress &object)
Write PMT physical address to output.
Interface for binary input.
Interface for binary output.
file Auxiliary data structures and methods for detector calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template definition of auxiliary base class for comparison of data structures.