Jpp  master_rocky-40-g5f0272dcd
the software that should make you happy
Classes | Namespaces | Typedefs | Functions | Variables
JDetectorSupportkit.hh File Reference

Detector support kit. More...

#include "JLang/JTypeList.hh"
#include "JLang/JNullType.hh"
#include "JLang/JType.hh"
#include "JLang/JException.hh"
#include "JMath/JConstants.hh"
#include "JDetector/JModule.hh"
#include "JDetector/JModuleAddressMap.hh"
#include "JDetector/JModuleSupportkit.hh"
#include "JDetector/JDetectorAddressMap.hh"

Go to the source code of this file.

Classes

struct  JDETECTOR::JPPM_DU_t
 Type definitions for different detectors.PPM_DU. More...
 
struct  JDETECTOR::JKM3NeT_t
 KM3NeT default detector More...
 
struct  JDETECTOR::JMonteCarlo_t
 Monte Carlo. More...
 
struct  JDETECTOR::JAntares_t
 Antares More...
 
struct  JDETECTOR::JObsolete_t
 obsolete detector More...
 
struct  JDETECTOR::JKM3NeTFit_t
 KM3NeT with cable swaps, etc. (see e.g. JPMTSwapDB.cc) More...
 
struct  JDETECTOR::JDetectorBuilder
 Auxiliary interface for building detector. More...
 
class  JDETECTOR::JDetectorBuilder_t< JObsolete_t >
 Template specialisation of JDetectorBuilder for obsolete detector. More...
 
class  JDETECTOR::JDetectorBuilder_t< JPPM_DU_t >
 Template specialisation of JDetectorBuilder for PPM_DU detector. More...
 
class  JDETECTOR::JDetectorBuilder_t< JKM3NeT_t >
 Template specialisation of JDetectorBuilder for KM3NeT detector. More...
 
class  JDETECTOR::JDetectorBuilder_t< JMonteCarlo_t >
 Template specialisation of JDetectorBuilder for Monte Carlo detector. More...
 
class  JDETECTOR::JDetectorBuilder_t< JKM3NeTFit_t >
 Template specialisation of JDetectorBuilder for KM3NeT detector with all known features. More...
 
struct  JDETECTOR::JDetectorHelper_t< JTypeList< JHead_t, JTail_t > >
 
struct  JDETECTOR::JDetectorHelper_t< JTypeList< JHead_t, JNullType > >
 

Namespaces

 JDETECTOR
 file Auxiliary data structures and methods for detector calibration.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Typedefs

typedef JTYPELIST< JPPM_DU_t, JKM3NeTFit_t, JKM3NeT_t, JMonteCarlo_t >::typelist JDETECTOR::JDetectorTypes_t
 Type list of KM3NeT detector types (specific detectors first). More...
 

Functions

bool JDETECTOR::hasDetector (JType< JPPM_DU_t > type, const int id)
 Check validity of detector identifier. More...
 
bool JDETECTOR::hasDetector (JType< JKM3NeTFit_t > type, const int id)
 
bool JDETECTOR::hasDetector (JType< JKM3NeT_t > type, const int id)
 
bool JDETECTOR::hasDetector (JType< JMonteCarlo_t > type, const int id)
 
template<class JDetector_t >
JDetectorBuilderJDETECTOR::getDetectorBuilder ()
 Get detector builder. More...
 
template<class JDetector_t >
JDetectorAddressMapJDETECTOR::getDetectorAddressMap ()
 Get detector address map. More...
 
template<class JDetector_t >
JModuleAddressMapJDETECTOR::getModuleAddressMap (int id)
 Get module address map. More...
 
template<class JDetector_t >
const JPMTAddressTranslatorJDETECTOR::getPMTAddressTranslator (int id, int tdc)
 Get PMT address translator for given module identifier and TDC channel. More...
 
template<class JDetector_t >
int JDETECTOR::getPMTLogicalIndex (int id, int tdc)
 Get PMT logical index for given module identifier and TDC channel. More...
 
JDetectorBuilderJDETECTOR::getDetectorBuilder (const int id)
 Get detector builder. More...
 
JDetectorAddressMapJDETECTOR::getDetectorAddressMap (const int id)
 Get detector address map. More...
 
bool JDETECTOR::hasDetectorBuilder (const int id)
 Check if detector builder is available. More...
 
bool JDETECTOR::hasDetectorAddressMap (const int id)
 Check if detector address map is available. More...
 
template<class JDetector_t >
const JModuleJDETECTOR::getModule (const JType< JDetector_t > type, const int id, const JLocation &location=JLocation())
 Get module according given detector type. More...
 
const JModuleJDETECTOR::getModule (const JType< JAntares_t > type, const int id, const JLocation &location=JLocation())
 Get module according Antares detector type. More...
 
template<class JDetector_t >
const JModuleJDETECTOR::getModule (const int id, const JLocation &location=JLocation())
 Get module according detector template. More...
 

Variables

static const double JDETECTOR::ORCA_TBARZ_M = 0.91
 ORCA T-bar position relative to seabed [m]. More...
 
static const double JDETECTOR::ARCA_TBARZ_M = 0.95
 ORCA T-bar position relative to seabed [m]. More...
 

Detailed Description

Detector support kit.

Author
mdejong

Definition in file JDetectorSupportkit.hh.