Go to the documentation of this file. 1 #ifndef __JDB__JPRODUCTROUTER__
2 #define __JDB__JPRODUCTROUTER__
64 if (this->
string == location.
string) {
73 return this->
string < location.
string;
89 return out << setw(3) <<
object.string <<
' ' << setw(2) <<
object.floor <<
' ' << setw(2) <<
object.position;
124 if (trace.size() ==
getSize(pbs)) {
137 if (trace.size() ==
getSize(pbs)) {
150 if (trace.size() ==
getSize(pbs)) {
175 if (p != this->end())
JLocation_t(const int string, const int floor, const int position)
Constructor.
const_iterator end() const
end of integration data
static const JPBS DETECTION_UNIT(3)
int floor
position in string
bool less(const JLocation_t &location) const
Less-than method.
Auxiliary classes and methods for database I/O.
JLocation_t()
Default constructor.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class to map UPI to location in detector.
const_iterator begin() const
begin of integration data
int position
position in floor
size_t getSize(T(&array)[N])
Get size of c-array.
data_type::const_iterator const_iterator
friend std::ostream & operator<<(std::ostream &out, const JLocation_t &object)
Write location to output stream.
static const JPBS DOM(3, 4)
Auxiliary data structure for location of product in detector.
Auxiliary class to trace product.
Product breakdown structure (PBS).
Template definition of auxiliary base class for comparison of data structures.
JLocation_t getLocation(const JUPI &upi) const
Get location of product with given UPI.
static const JPBS DETECTOR(0)
Fixed PBS.
static const JPBS BASE_CONTAINER(3, 2, 2)
const std::vector< JValue_t > make_array(const JValue_t(&array)[N])
Method to create array of values.
static const JPBS BASE(3, 2)
Universal product identifier (UPI).
JProductRouter(const JDetectorIntegration &detector)
Constructor.
int string
position in detector