1#ifndef __JCALIBRATE_JCALIBRATEMUON__
2#define __JCALIBRATE_JCALIBRATEMUON__
38 virtual size_t getN()
const = 0;
56 virtual int getID(
const int index)
const = 0;
81 virtual size_t getN()
const override
93 virtual int getIndex(
const int id)
const override
105 virtual int getID(
const int index)
const override
137 virtual size_t getN()
const override
161 virtual int getID(
const int index)
const override
Data structure for detector geometry and calibration.
Direct access to module in detector data structure.
Direct access to string in detector data structure.
int getString() const
Get string number.
Router for direct addressing of module data in detector data structure.
const int getIndex(const JObjectID &id) const
Get index of module.
const JModule & getModule(const JObjectID &id) const
Get module parameters.
const JClass_t & getReference() const
Get reference to object.
Auxiliary classes and methods for PMT calibration.
const char *const module_t
routing by module
const char *const string_t
routing by string
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
virtual int getIndex(const int id) const override
Get index.
virtual int getID(const int index) const override
Get identifier.
JModuleRouter_t(const JDetector &detector)
Constructor.
virtual size_t getN() const override
Get number of indices.
Interface for routing module identifier to index and vice versa.
virtual int getIndex(const int id) const =0
Get index.
virtual int getID(const int index) const =0
Get identifier.
virtual size_t getN() const =0
Get number of indices.
virtual ~JRouter_t()
Virtual destructor.
JModuleRouter moduleRouter
virtual int getIndex(const int id) const override
Get index.
virtual size_t getN() const override
Get number of indices.
JStringRouter_t(const JDetector &detector)
Constructor.
virtual int getID(const int index) const override
Get identifier.
JStringRouter stringRouter
Router for mapping of string identifier to index.