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