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.
friend JReader & operator>>(JReader &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
JPMTPhysicalAddress()
Default constructor.
char ring
ring number ['A','F']
std::string toString() const
Convert PMT physical address to string.
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 std::istream & operator>>(std::istream &in, JPMTPhysicalAddress &object)
Read PMT physical address from input.
int position
position within ring [1,6]
friend JWriter & operator<<(JWriter &out, const JPMTPhysicalAddress &object)
Write PMT physical address to output.
bool less(const JPMTPhysicalAddress &address) const
Less than method.
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.