1 #ifndef __JDETECTOR__JLOCATIONROUTER__
2 #define __JDETECTOR__JLOCATIONROUTER__
47 for (
const_iterator module = detector.begin(); module != detector.end(); ++module) {
Data structure for detector geometry and calibration.
General purpose class for hash map of unique elements.
Logical location of module.
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
Router for direct addressing of location data in detector data structure.
bool hasLocation(const JLocation &location) const
Has module.
JTOOLS::JHashMap< int, JTOOLS::JHashMap< int, JModuleAddress > > router
JReference< const JDetector > JReference_t
const JModule & getModule(const JLocation &location) const
Get module parameters.
JDetector::const_iterator const_iterator
const JLocationRouter & getLocationRouter() const
Get location router.
const JModuleAddress & getAddress(const JLocation &location) const
Get address of location.
const int getIndex(const JLocation &location) const
Get index of location.
JLocationRouter(const JDetector &detector)
Constructor.
Logical location of module.
int getFloor() const
Get floor number.
int getString() const
Get string number.
Address of module in detector data structure.
int first
index of module in detector data structure
Data structure for a composite optical module.
The template JReference class can be used to reference an object.
const JClass_t & getReference() const
Get reference to object.
file Auxiliary data structures and methods for detector calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).