1 #ifndef __JDETECTOR__JDETECTORADDRESSMAPTOOLKIT__ 
    2 #define __JDETECTOR__JDETECTORADDRESSMAPTOOLKIT__ 
   18 namespace JDETECTOR {}
 
   19 namespace JPP { 
using namespace JDETECTOR; }
 
   66   template<
class JDetector_t>
 
  156       get(103).swap(24,30);
 
  373       get(817802210).swapTDC(14,18);
 
  374       get(817802210).swapTDC(18,26);
 
  375       get(817802210).swapTDC(19,26);
 
  376       get(817802210).swapTDC(24,25);
 
  377       get(817802210).swapTDC(25,26);
 
  387   template<
class JDetector_t>
 
  402   template<
class JDetector_t>
 
  405     return getDetectorAddressMap<JDetector_t>().
get(
id);
 
  416   template<
class JDetector_t>
 
  419     return getModuleAddressMap<JDetector_t>(id).getAddressTranslator(tdc);
 
  430   template<
class JDetector_t>
 
  433     return getModuleAddressMap<JDetector_t>(id).
getIndex(tdc);
 
  444   template<
class JHead_t, 
class JTail_t>
 
  456         return getDetectorAddressMap<JHead_t>();
 
  468     static bool has(
const int id)
 
  475   template<
class JHead_t>
 
  487         return getDetectorAddressMap<JHead_t>();
 
  499     static bool has(
const int id)
 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const override
Get default module address map. 
JTemplateDetectorAddressMap()
Default constructor. 
static bool has(const int id)
Has detector address map. 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const override
Get default module address map. 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const override
Get default module address map. 
bool hasDetectorAddressMap(const int id)
Check if detector address map is available. 
T get(const JHead &header)
Get object from header. 
Lookup table for PMT addresses in detector. 
Auxiliary class for a type holder. 
JTemplateDetectorAddressMap()
Default constructor. 
JTYPELIST< JPPM_DU_t, JKM3NeTDB_t, JKM3NeT_t, JMonteCarlo_t >::typelist JDetectorTypes_t
Type list of KM3NeT detector types (specific detectors first). 
JTemplateDetectorAddressMap()
Default constructor. 
Lookup table for PMT addresses in optical module. 
JTemplateDetectorAddressMap()
Default constructor. 
bool hasDetector(JType< JPPM_DU_t > type, const int id)
Check validity of detector identifier. 
Template lookup table for PMT addresses in detector. 
Auxiliary class for recursive type list generation. 
const JPMTAddressTranslator & getPMTAddressTranslator(int id, int tdc)
Get PMT address translator for given module identifier and TDC channel. 
Type definitions for different detectors.PPM_DU. 
Auxiliary class for no type definition. 
JModuleAddressMap & getModuleAddressMap(int id)
Get module address map. 
Data structure to translate PMT physical to readout address. 
int getPMTLogicalIndex(int id, int tdc)
Get PMT logical index for given module identifier and TDC channel. 
int getIndex()
Get index for user I/O manipulation. 
JDetectorAddressMap & getDetectorAddressMap()
Get detector address map. 
Auxiliary class to extract detector address map from detector identifier. 
KM3NeT with cable swaps according database (see JPMTSwapDB.cc) 
Data structure for PMT readout address. 
JTemplateDetectorAddressMap()
Default constructor. 
Data structure for PMT physical address. 
Exception for accessing an index in a collection that is outside of its range. 
void configure()
Configure internal router. 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const override
Get default module address map. 
static bool has(const int id)
Has detector address map.