1 #ifndef __JDB__JLOCATION_T_
2 #define __JDB__JLOCATION_T_
13 namespace JDATABASE {}
14 namespace JPP {
using namespace JDATABASE; }
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();
JLocation_t(const int string, const int floor, const int position)
Constructor.
bool less(const JLocation_t &location) const
Less-than method.
int floor
position in string
bool is_valid() const
Check validity of location.
Auxiliary data structure for location of product in detector.
JLocation_t()
Default constructor.
Template definition of auxiliary base class for comparison of data structures.
Auxiliary data structure for sequence of same character.
friend std::ostream & operator<<(std::ostream &out, const JLocation_t &object)
Write location to output stream.
int position
position in floor
int string
position in detector