1 #ifndef __JDETECTOR__JDETECTORADDRESSMAPTOOLKIT__ 
    2 #define __JDETECTOR__JDETECTORADDRESSMAPTOOLKIT__ 
   18 namespace JDETECTOR {}
 
   19 namespace JPP { 
using namespace JDETECTOR; }
 
   63   template<
class JDetector_t>
 
  153       get(103).swap(24,30);
 
  362   template<
class JDetector_t>
 
  377   template<
class JDetector_t>
 
  380     return getDetectorAddressMap<JDetector_t>().
get(
id);
 
  391   template<
class JDetector_t>
 
  394     return getModuleAddressMap<JDetector_t>(id).getAddressTranslator(tdc);
 
  405   template<
class JDetector_t>
 
  408     return getModuleAddressMap<JDetector_t>(id).
getIndex(tdc);
 
  419   template<
class JHead_t, 
class JTail_t>
 
  431         return getDetectorAddressMap<JHead_t>();
 
  443     static bool has(
const int id)
 
  450   template<
class JHead_t>
 
  462         return getDetectorAddressMap<JHead_t>();
 
  474     static bool has(
const int id)
 
JTemplateDetectorAddressMap()
Default constructor. 
 
static bool has(const int id)
Has detector address map. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const 
Get default module address map. 
 
bool hasDetectorAddressMap(const int id)
Check if detector address map is available. 
 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const 
Get default module address map. 
 
Lookup table for PMT addresses in detector. 
 
Auxiliary class for a type holder. 
 
JTemplateDetectorAddressMap()
Default constructor. 
 
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. 
 
T get(const JHead &head)
Get object from header. 
 
Template lookup table for PMT addresses in detector. 
 
Auxiliary class for recursive type list generation. 
 
JTYPELIST< JPPM_DU_t, JKM3NeT_t, JMonteCarlo_t >::typelist JDetectorTypes_t
Type list of detector types. 
 
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. 
 
int getIndex()
Get index for user I/O manipulation. 
 
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. 
 
JDetectorAddressMap & getDetectorAddressMap()
Get detector address map. 
 
Auxiliary class to extract detector address map from detector identifier. 
 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const 
Get default module address map. 
 
virtual const JModuleAddressMap & getDefaultModuleAddressMap() const 
Get default module address map. 
 
Data structure for PMT readout address. 
 
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. 
 
static bool has(const int id)
Has detector address map.