1 #ifndef __JDB__JLOCATION_T_
2 #define __JDB__JLOCATION_T_
73 if (this->
string == location.
string) {
82 return this->
string < location.
string;
99 return out <<
FILL(4,
'0') <<
object.string <<
'.'
100 <<
FILL(2,
'0') <<
object.floor <<
'.'
101 <<
FILL(2,
'0') <<
object.position <<
FILL();
Auxiliary classes and methods for database I/O.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for sequence of same character.
Auxiliary data structure for location of product in detector.
friend std::ostream & operator<<(std::ostream &out, const JLocation_t &object)
Write location to output stream.
JLocation_t()
Default constructor.
int string
position in detector
JLocation_t(const int string, const int floor, const int position)
Constructor.
bool is_valid() const
Check validity of location.
int floor
position in string
int position
position in floor
bool less(const JLocation_t &location) const
Less-than method.
Template definition of auxiliary base class for comparison of data structures.