Jpp
17.3.0-rc.1
the software that should make you happy
|
file Auxiliary data structures and methods for detector calibration. More...
Classes | |
class | JAnchor |
Data structure for anchor position on sea bed. More... | |
class | JCalibration |
Data structure for time calibration. More... | |
struct | JCalibrator |
Auxiliary class to apply (de-)calibration to template hit. More... | |
struct | JCalibrator< T, true > |
Template specialisation of JCalibrator for primitive data types. More... | |
struct | JCalibrator< JHit_t, false > |
Template specialisation of JCalibrator for non-primitive data types. More... | |
class | JTransferFunction1D |
Auxiliary class for a non-linear transfer function of TDC inside FPGA. More... | |
class | JCLBDefaultSimulator |
Default CLB simulation. More... | |
class | JCLBDefaultSimulatorInterface |
Default CLB simulation. More... | |
struct | JCLBInput |
Wrapper for CLB input. More... | |
class | JCLBSimulator |
Interface for CLB simulation. More... | |
class | JCompass |
Data structure for compass in three dimensions. More... | |
class | JDAQHitRouter |
Simple wrapper around JModuleRouter class for direct addressing of PMT data in detector data structure for DAQ hits. More... | |
class | JDetector |
Detector data structure. More... | |
class | JDetectorAddressMap |
Lookup table for PMT addresses in detector. More... | |
struct | JPPM_DU_t |
Type definitions for different detectors.PPM_DU. More... | |
struct | JKM3NeT_t |
KM3NeT More... | |
struct | JMonteCarlo_t |
Monte Carlo. More... | |
struct | JAntares_t |
Antares More... | |
struct | JObsolete_t |
obsolete detector More... | |
struct | JKM3NeTDB_t |
KM3NeT with cable swaps according database (see JPMTSwapDB.cc) More... | |
class | JTemplateDetectorAddressMap |
Template lookup table for PMT addresses in detector. More... | |
class | JTemplateDetectorAddressMap< JObsolete_t > |
Template specialisation of JTemplateDetectorAddressMap for obsolete detector. More... | |
class | JTemplateDetectorAddressMap< JPPM_DU_t > |
Template specialisation of JTemplateDetectorAddressMap for PPM_DU detector. More... | |
class | JTemplateDetectorAddressMap< JKM3NeT_t > |
Template specialisation of JTemplateDetectorAddressMap for KM3NeT detector. More... | |
class | JTemplateDetectorAddressMap< JMonteCarlo_t > |
Template specialisation of JTemplateDetectorAddressMap for Monte Carlo detector. More... | |
class | JTemplateDetectorAddressMap< JKM3NeTDB_t > |
Template specialisation of JTemplateDetectorAddressMap for KM3NeT detector. More... | |
struct | JDetectorAddressMap_t |
Auxiliary class to extract detector address map from detector identifier. More... | |
struct | JDetectorAddressMap_t< JTypeList< JHead_t, JTail_t > > |
struct | JDetectorAddressMap_t< JTypeList< JHead_t, JNullType > > |
struct | JModuleMap_t |
Auxiliary data structure for module address map. More... | |
struct | JPMTCalibration_t |
Auxiliary data structure for PMT time calibration. More... | |
struct | JPMTStatus_t |
Auxiliary data structure for PMT status. More... | |
struct | JHVCalibration_t |
Data structure for PMT high-voltage calibration. More... | |
struct | JPMTThresholdCalibration_t |
Data structure for PMT threshold calibration. More... | |
struct | JModulePosition_t |
Auxiliary data structure for module position. More... | |
struct | JModuleRotation_t |
Auxiliary data structure for module rotation. More... | |
struct | JModuleStatus_t |
Auxiliary data structure for module status. More... | |
struct | JModuleCalibration_t |
Auxiliary data structure for module time calibration. More... | |
struct | JCompassRotation_t |
Auxiliary data structure for compass rotation. More... | |
class | JDetectorHeader |
Data structure for detector header. More... | |
class | JDetectorParameters |
Data structure for parameters for detector geometry. More... | |
class | JDetectorParametersHelper |
Auxiliary class for I/O of JDetectorParameters data structure. More... | |
class | JDetectorSimulator |
Detector simulation. More... | |
class | JDetectorSubset_t |
Detector subset without binary search functionality. More... | |
class | JDetectorSubset |
Detector subset with binary search functionality. More... | |
struct | JRotation |
Auxiliary class to get rotation matrix between two optical modules. More... | |
struct | JDetectorVersion |
Detector version. More... | |
struct | JGetDetectorVersion |
Auxiliary class to map detector version to numerical value. More... | |
struct | JPutDetectorVersion |
Auxiliary class to map numerical value to detector version. More... | |
struct | JHydrophone |
Type definition of hydrophone. More... | |
class | JK40DefaultSimulator |
Default implementation of the simulation of K40 background. More... | |
class | JK40DefaultSimulatorInterface |
Default K40 simulator interface. More... | |
class | JK40Simulator |
Interface for simulation of K40 background. More... | |
class | JLocation |
Logical location of module. More... | |
class | JModule |
Data structure for a composite optical module. More... | |
class | JModuleAddress |
Address of module in detector data structure. More... | |
struct | JPMTAddressTranslator |
Data structure to translate PMT physical to readout address. More... | |
class | JModuleAddressMap |
Lookup table for PMT addresses in optical module. More... | |
struct | JModuleComparator3Z_t |
Module comparator according its z-position. More... | |
struct | JModuleComparator3D_t |
Module comparator according its distance to origin. More... | |
class | JModuleGeometry |
Module geometry. More... | |
struct | JUTCDistance |
Auxiliary class for distance beteen UTC times. More... | |
struct | JModuleAttributes |
Data structure for module address and module attributes. More... | |
struct | JMaximalDistance |
Auxiliary class to match modules according maximal distance. More... | |
class | JModuleMapper |
Mapper for directly addressing of associated modules in the detector data structure. More... | |
class | JModuleRouter |
Router for direct addressing of module data in detector data structure. More... | |
struct | JGetModuleStatusBit |
Auxiliary class to map key to module status bit. More... | |
class | JMonteCarloDetector |
Monte Carlo detector (i.e. so-called .det file). More... | |
class | JPMT |
Data structure for PMT geometry, calibration and status. More... | |
class | JPMTAddress |
Address of PMT in detector data structure. More... | |
struct | JPMTAnalogueSignalProcessor |
PMT analogue signal processor. More... | |
class | JPMTChannel |
Auxiliary class to uniquely identify PMT readout channel. More... | |
struct | JModuleAnalogueSignalProcessor |
Auxiliary container for PMT analogue signal processors in same optical module. More... | |
class | JPMTDefaultSimulator |
Default PMT simulation. More... | |
class | JPMTDefaultSimulatorInterface |
Default PMT simulation interface. More... | |
class | JPMTIdentifier |
PMT identifier. More... | |
class | JPMTParameters |
Data structure for PMT parameters. More... | |
class | JPMTParametersMap |
Auxiliary class for map of PMT parameters. More... | |
class | JPMTPhysicalAddress |
Data structure for PMT physical address. More... | |
struct | JPMTRateRange |
Data structure for range of PMT rates. More... | |
class | JPMTReadoutAddress |
Data structure for PMT readout address. More... | |
class | JPMTRouter |
Router for direct addressing of PMT data in detector data structure. More... | |
class | JPMTSignalProcessorInterface |
PMT signal processor interface. More... | |
struct | JPhotoElectron |
Data structure for single photo-electron. More... | |
struct | JPMTSignal |
Data structure for PMT analogue signal. More... | |
struct | JPMTPulse |
Data structure for PMT digital pulse. More... | |
class | JPMTData |
Template data structure for PMT I/O. More... | |
class | JModuleData |
Data structure for PMT data corresponding to a detector module. More... | |
class | JPMTSimulator |
Interface for PMT simulation. More... | |
struct | JGetPMTStatusBit |
Auxiliary class to map key to PMT status bit. More... | |
struct | JTransitionTimeGenerator_t |
Auxiliary base class to generate PMT transition times based on measurements. More... | |
struct | JTransitionTimeGenerator |
Implementation to generate PMT transition times based on measurements by Oleg Kalekin et al. (see also examples/JDetector/JTTS.cc). More... | |
struct | JTransitionTimeGenerator38 |
Implementation to generate PMT transition times based on measurements. More... | |
struct | JTransitionTimeGenerator41 |
Implementation to generate PMT transition times based on measurements. More... | |
struct | JTransitionTimeGenerator67 |
Implementation to generate PMT transition times based on measurements. More... | |
struct | JTransitionTimeGeneratorXX |
Implementation to generate PMT transition times based on measurements. More... | |
struct | getTransitionTime |
struct | JTransitionTimeProbability_t |
Auxiliary base class for probability distibution of the PMT transition times based on measurements. More... | |
struct | JTransitionTimeProbability |
Implementation of probability distibution of the PMT transition times based on measurements by Oleg Kalekin et al. More... | |
struct | JTransitionTimeProbability38 |
Implementation of probability distibution of the PMT transition times based on measurements. More... | |
struct | JTransitionTimeProbability41 |
Implementation of probability distibution of the PMT transition times based on measurements. More... | |
struct | JTransitionTimeProbability67 |
Implementation of probability distibution of the PMT transition times based on measurements. More... | |
struct | JTransitionTimeProbabilityXX |
Implementation of probability distibution of the PMT transition times based on measurements. More... | |
struct | getTransitionTimeProbability |
class | JTransitionTimeProbability2D |
Auxiliary class to generate twofold PMT transition times. More... | |
struct | JStringCounter |
Auxiliary class for counting unique strings. More... | |
struct | JStringRouter |
Router for mapping of string identifier to index. More... | |
struct | JTransmitter |
Type definition of transmitter. More... | |
class | JTripod |
Data structure for tripod. More... | |
struct | JVersion |
Auxiliary class for version identifier. More... | |
Typedefs | |
typedef JPMTData< JPMTPulse > | JPMTOutput |
Type definition of PMT base output. More... | |
typedef JTYPELIST< JPPM_DU_t, JKM3NeTDB_t, JKM3NeT_t, JMonteCarlo_t >::typelist | JDetectorTypes_t |
Type list of KM3NeT detector types (specific detectors first). More... | |
typedef std::vector < JHVCalibration_t > | JHVCalibration |
PMT high voltage calibration. More... | |
typedef std::vector < JPMTThresholdCalibration_t > | JPMTThresholdCalibration |
PMT threshold calibration. More... | |
typedef std::vector< JModuleMap_t > | JModuleMap |
module map More... | |
typedef std::vector < JPMTCalibration_t > | JPMTCalibration |
PMT time calibration. More... | |
typedef std::vector< JPMTStatus_t > | JPMTStatus |
PMT status. More... | |
typedef std::vector < JModulePosition_t > | JModulePosition |
Module position. More... | |
typedef std::vector < JModuleRotation_t > | JModuleRotation |
Module rotation. More... | |
typedef std::vector < JModuleStatus_t > | JModuleStatus |
Module status. More... | |
typedef std::vector < JModuleCalibration_t > | JModuleCalibration |
Module time calibration. More... | |
typedef std::vector < JCompassRotation_t > | JCompassRotation |
Compass rotation. More... | |
typedef JLANG::JObjectID | JDetectorID |
Type definition of detector identifier. More... | |
typedef JTOOLS::JRange< int > | floor_range |
Type definition for range of floors. More... | |
typedef JLANG::JComparator < double(JVector3D::*)() const > | JModuleComparator |
Type definition of a module comparator using 3D position information. More... | |
typedef JLANG::JObjectID | JModuleIdentifier |
typedef JPutStatusBit | JPutModuleStatusBit |
Type definition to map module status bit to key. More... | |
typedef std::map < JPMTIdentifier, JPMTParameters > | JPMTParametersMap_t |
Type definition of map PMT identifier to PMT parameters. More... | |
typedef JPutStatusBit | JPutPMTStatusBit |
Type definition to map PMT status bit to key. More... | |
typedef JTOOLS::JRange< double > | JTimeRange |
Type definition for time range (unit [ns]). More... | |
Functions | |
bool | operator< (const JAnchor &first, const JAnchor &second) |
Sort anchors in ascending distance from (0,0). More... | |
template<class T > | |
double | getTime (const T &t1, const JCalibration &cal) |
Get calibrated time. More... | |
template<class T > | |
double | putTime (const T &t1, const JCalibration &cal) |
Get de-calibrated time. More... | |
template<class T > | |
double | getToT (const T &tot, const JCalibration &cal) |
Get calibrated time-over-threshold of hit. More... | |
template<class T > | |
double | putToT (const T &tot, const JCalibration &cal) |
Get de-calibrated time-over-threshold of hit. More... | |
bool | hasDetector (JType< JPPM_DU_t > type, const int id) |
Check validity of detector identifier. More... | |
bool | hasDetector (JType< JKM3NeTDB_t > type, const int id) |
bool | hasDetector (JType< JKM3NeT_t > type, const int id) |
bool | hasDetector (JType< JMonteCarlo_t > type, const int id) |
template<class JDetector_t > | |
JDetectorAddressMap & | getDetectorAddressMap () |
Get detector address map. More... | |
template<class JDetector_t > | |
JModuleAddressMap & | getModuleAddressMap (int id) |
Get module address map. More... | |
template<class JDetector_t > | |
const JPMTAddressTranslator & | getPMTAddressTranslator (int id, int tdc) |
Get PMT address translator for given module identifier and TDC channel. More... | |
template<class JDetector_t > | |
int | getPMTLogicalIndex (int id, int tdc) |
Get PMT logical index for given module identifier and TDC channel. More... | |
JDetectorAddressMap & | getDetectorAddressMap (const int id) |
Get detector address map. More... | |
bool | hasDetectorAddressMap (const int id) |
Check if detector address map is available. More... | |
template<class T > | |
std::vector< std::string > | get_string_array (T value) |
Cast single value to array of strings, conform the DB-format. More... | |
double | retrieve_value (std::vector< std::string > string_value_array) |
Retrieve value from json array of strings. More... | |
JUTMGrid | getARCAUTMGrid () |
Get UTM grid for ARCA. More... | |
JUTMGrid | getORCAUTMGrid () |
Get UTM grid for ORCA. More... | |
JDetectorHeader | getARCADetectorHeader () |
Get detector header for ARCA. More... | |
JDetectorHeader | getORCADetectorHeader () |
Get detector header for ORCA. More... | |
bool | isARCADetector (const JDetectorHeader &header) |
Check if given detector header is compatible with tat of ARCA. More... | |
bool | isORCADetector (const JDetectorHeader &header) |
Check if given detector header is compatible with that of ORCA. More... | |
double | getMaximalDistance (const JDetector &detector, const bool option=false) |
Get maximal distance between modules in detector. More... | |
double | GetXrotationG4 (const JVersor3D dir) |
Get rotation over X axis in Geant4 coordinate system. More... | |
double | GetYrotationG4 (const JVersor3D dir) |
Get rotation over Y axis in Geant4 coordinate system. More... | |
void | read_gdml (std::istream &, JDetector &) |
void | write_gdml (std::ostream &out, const JDetector &detector) |
Writes KM3Sim GDML input file from detector. More... | |
double | getMaximalTime (const JDetector &detector) |
Get maximal time between optical modules in detector following causality. More... | |
double | getMaximalTime (const JDetector &detector, const double roadWidth_m) |
Get maximal time between optical modules in detector following causality. More... | |
JTimeRange | getTimeRange (const JTimeRange &timeRange, const JModule &module) |
Get de-calibrated time range. More... | |
int | getNumberOfPMTs (const JModule &module) |
Get number of PMTs. More... | |
int | getNumberOfPMTs (const JDetector &detector) |
Get number of PMTs. More... | |
std::set< int > | getStringIDs (const JDetector &detector) |
Get list of strings identifiers. More... | |
int | getNumberOfFloors (const JDetector &detector) |
Get number of floors. More... | |
floor_range | getRangeOfFloors (const JDetector &detector) |
Get range of floors. More... | |
int | getNumberOfModules (const JDetector &detector) |
Get number of modules. More... | |
void | load (const std::string &file_name, JDetector &detector) |
Load detector from input file. More... | |
void | store (const std::string &file_name, const JDetector &detector) |
Store detector to output file. More... | |
const JModule & | getModule (const JModuleAddressMap &memo, const int id=-1, const JLocation &location=JLocation()) |
Get module according module address map. More... | |
template<class JDetector_t > | |
const JModule & | getModule (const JType< JDetector_t > type, const int id, const JLocation &location=JLocation()) |
Get module according given detector type. More... | |
const JModule & | 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 JModule & | getModule (const int id, const JLocation &location=JLocation()) |
Get module according detector template. More... | |
JPosition3D | getPosition (const JModule &first, const JModule &second) |
Get position to go from first to second module. More... | |
JCalibration | getCalibration (const JCalibration &first, const JCalibration &second) |
Get calibration to go from first to second calibration. More... | |
std::vector< std::string > | getDetectorVersions (const JType< std::string > &type) |
Get detector versions. More... | |
std::vector < JDetectorVersion::JVersion_t > | getDetectorVersions (const JType< JDetectorVersion::JVersion_t > &type) |
Get detector versions. More... | |
template<class T > | |
std::vector< T > | getDetectorVersions () |
Get detector versions. More... | |
std::string | getLatestDetectorVersion (const JType< std::string > &type) |
Get latest detector version. More... | |
JVersion | getLatestDetectorVersion (const JType< JVersion > &type) |
Get latest detector version. More... | |
JDetectorVersion::JVersion_t | getLatestDetectorVersion (const JType< JDetectorVersion::JVersion_t > &type) |
Get latest detector version. More... | |
template<class T > | |
T | getLatestDetectorVersion () |
Get latest detector version. More... | |
std::string | getLabel (const JLocation &location) |
Get module label for monitoring and other applications. More... | |
template<class JAttributes_t > | |
void | setAttributes (const JModule &first, const JModule &second, JAttributes_t &attributes) |
Template method to set module attributes. More... | |
template<> | |
void | setAttributes< JNullType > (const JModule &first, const JModule &second, JNullType &attributes) |
Template specialisation to set no attributes for the default empty object. More... | |
std::vector< std::string > | getModuleStatusBits (const JType< std::string > &type) |
Get module status bits. More... | |
std::vector< int > | getModuleStatusBits (const JType< int > &type) |
Get module status bits. More... | |
template<class T > | |
std::vector< T > | getModuleStatusBits () |
Get module status bits. More... | |
JPosition3D | getPiezoPosition () |
Get relative position of piezo in optical module. More... | |
double | getTimeOverThresholdProbability (const JPMTAnalogueSignalProcessor &pmt, const double tot_ns, const double NPE, const double precision=1.0e-4) |
Get time-over-threshold probability. More... | |
bool | operator< (const JPMTIdentifier &first, const JPMTIdentifier &second) |
Less than operator for PMT identifiers. More... | |
bool | operator== (const JPMTIdentifier &first, const JPMTIdentifier &second) |
Equal operator for PMT identifiers. More... | |
std::string | getLabel (const JPMTIdentifier &id) |
Get PMT label for monitoring and other applications. More... | |
double | getSurvivalProbability (const JPMTParameters ¶meters) |
Get model dependent probability that a one photo-electron hit survives the simulation of the PMT assuming QE = 1. More... | |
double | getHitProbability (const double QE, const double mu) |
Get ratio of hit probabilities for given QE and expectation value of the number of photo-electrons. More... | |
double | getMaximalHitProbability (const double mu) |
Get maximal ratio of hit probabilities for given QE and expectation value of the number of photo-electrons. More... | |
double | getQE (const double R, const double mu) |
Get QE for given ratio of hit probabilities and expectation value of the number of photo-electrons. More... | |
double | getChargeProbability (const JPMTSignalProcessorInterface &pmt, const double npe, const double NPE, const double precision=1.0e-4) |
Get charge probability. More... | |
bool | operator< (const JPhotoElectron &first, const JPhotoElectron &second) |
Less than operator for photo-elecrons. More... | |
bool | operator< (const JPMTSignal &first, const JPMTSignal &second) |
Less than operator for PMT signals. More... | |
bool | operator< (const JPMTPulse &first, const JPMTPulse &second) |
Less than operator for PMT pulses. More... | |
JTimeRange | getTimeRange (const JPMTData< JPMTSignal > &input) |
Get time range (i.e. earlist and latest hit time) of PMT data. More... | |
JTimeRange | getTimeRange (const JModuleData &input) |
Get time range (i.e. earlist and latest hit time) of module data. More... | |
std::vector< std::string > | getPMTStatusBits (const JType< std::string > &type) |
Get PMT status bits. More... | |
std::vector< int > | getPMTStatusBits (const JType< int > &type) |
Get PMT status bits. More... | |
template<class T > | |
std::vector< T > | getPMTStatusBits () |
Get PMT status bits. More... | |
Variables | |
const double | TIME_OVER_THRESHOLD_NS = 25.08 |
Specification for time-over-threshold corresponding to a one photo-electron pulse. More... | |
const double | NOMINAL_GAIN = 1.0 |
Specification for normalized gain corresponding to a one photo-electron pulse. More... | |
static const double | ORCA_TBARZ_M = 0.91 |
ORCA T-bar position relative to seabed [m]. More... | |
static const double | ARCA_TBARZ_M = 0.95 |
ORCA T-bar position relative to seabed [m]. More... | |
static const char *const | GENDET_DETECTOR_FILE_FORMAT = "det" |
File name extensions. More... | |
static const char *const | BINARY_DETECTOR_FILE_FORMAT [] = { "dat", "datx" } |
JIO binary file format. More... | |
static const char *const | KM3NET_DETECTOR_FILE_FORMAT = "detx" |
KM3NeT standard ASCII format More... | |
static const char *const | ZIPPED_DETECTOR_FILE_FORMAT = "gz" |
zipped KM3NeT standard ASCII format More... | |
static const char *const | GDML_DETECTOR_FILE_FORMAT = "gdml" |
KM3Sim input format. More... | |
static const char *const | GDML_SCHEMA = getenv("GDML_SCHEMA_DIR") |
directory necessary for correct GDML header output More... | |
static const char *const | CAN_MARGIN_M = getenv("CAN_MARGIN_M") |
extension of the detector size to comply with the can definition More... | |
static const char *const | G4GDML_DEFAULT_SCHEMALOCATION = "http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd" |
static JRotation | getRotation |
Function object to get rotation matrix to go from first to second module. More... | |
static const JGetDetectorVersion | getDetectorVersion |
Function object to map detector version to numerical value. More... | |
static const JPutDetectorVersion | putDetectorVersion (getDetectorVersion) |
Function object to map numerical value to detector version. More... | |
static const JGetModuleStatusBit | getModuleStatusBit |
Function object to map key to module status bit. More... | |
static const JPutModuleStatusBit | putModuleStatusBit (getModuleStatusBit) |
Function object to map module status bit to key. More... | |
static const double | PIEZO_V1_DELAYTIME_US = 170.3 |
Piezo delay time [us]. More... | |
static const double | PIEZO_V2_DELAYTIME_US = 242.1 |
Piezo delay time [us]. More... | |
static const double | PIEZO_V3_DELAYTIME_US = 242.1 |
Piezo delay time [us]. More... | |
static const double | HYDROPHONE_DELAYTIME_US = 50.7 |
Hydrophone delay time [us]. More... | |
static const int | LED_BEACON_PMT_TYPE = 2 |
PMT type of LED beacon. More... | |
static const JGetPMTStatusBit | getPMTStatusBit |
Function object to map key to PMT status bit. More... | |
static const JPutPMTStatusBit | putPMTStatusBit (getPMTStatusBit) |
Function object to map PMT status bit to key. More... | |
JDETECTOR::getTransitionTime | getTransitionTime |
Function object to generate transition time. More... | |
JDETECTOR::getTransitionTimeProbability | getTransitionTimeProbability |
Function object of transition time prabability. More... | |
static const JTransitionTimeProbability2D | getTransitionTimeProbability2D |
Function object of twofold transition time prabability. More... | |
static const JStringCounter | getNumberOfStrings |
Function object to count unique strings. More... | |
file Auxiliary data structures and methods for detector calibration.
Auxiliary classes and methods for detector calibration and simulation.
Auxiliary classes and methods for detector calibration.
typedef JPMTData<JPMTPulse> JDETECTOR::JPMTOutput |
Type definition of PMT base output.
Definition at line 27 of file JCLBSimulator.hh.
typedef JTYPELIST<JPPM_DU_t, JKM3NeTDB_t, JKM3NeT_t, JMonteCarlo_t>::typelist JDETECTOR::JDetectorTypes_t |
Type list of KM3NeT detector types (specific detectors first).
Definition at line 44 of file JDetectorAddressMapToolkit.hh.
PMT high voltage calibration.
Definition at line 809 of file JDetectorCalibration.hh.
PMT threshold calibration.
Definition at line 810 of file JDetectorCalibration.hh.
typedef std::vector<JModuleMap_t> JDETECTOR::JModuleMap |
module map
Definition at line 811 of file JDetectorCalibration.hh.
PMT time calibration.
Definition at line 812 of file JDetectorCalibration.hh.
typedef std::vector<JPMTStatus_t> JDETECTOR::JPMTStatus |
PMT status.
Definition at line 813 of file JDetectorCalibration.hh.
Module position.
Definition at line 814 of file JDetectorCalibration.hh.
Module rotation.
Definition at line 815 of file JDetectorCalibration.hh.
Module status.
Definition at line 816 of file JDetectorCalibration.hh.
Module time calibration.
Definition at line 817 of file JDetectorCalibration.hh.
Compass rotation.
Definition at line 818 of file JDetectorCalibration.hh.
Type definition of detector identifier.
Definition at line 19 of file JDetectorID.hh.
typedef JTOOLS::JRange<int> JDETECTOR::floor_range |
Type definition for range of floors.
Definition at line 435 of file JDetectorToolkit.hh.
typedef JLANG::JComparator<double (JVector3D::*)() const> JDETECTOR::JModuleComparator |
Type definition of a module comparator using 3D position information.
Definition at line 22 of file JModuleComparator.hh.
Definition at line 16 of file JModuleIdentifier.hh.
Type definition to map module status bit to key.
Definition at line 58 of file JModuleStatus.hh.
Type definition of map PMT identifier to PMT parameters.
Definition at line 47 of file JPMTParametersMap.hh.
Type definition to map PMT status bit to key.
Definition at line 59 of file JPMTStatus.hh.
typedef JTOOLS::JRange<double> JDETECTOR::JTimeRange |
Type definition for time range (unit [ns]).
Definition at line 19 of file JDetector/JTimeRange.hh.
Sort anchors in ascending distance from (0,0).
first | first anchor |
second | second anchor |
Definition at line 99 of file JAnchor.hh.
|
inline |
Get calibrated time.
t1 | time [ns] |
cal | calibration |
Definition at line 222 of file JDetector/JCalibration.hh.
|
inline |
Get de-calibrated time.
t1 | time [ns] |
cal | calibration |
Definition at line 236 of file JDetector/JCalibration.hh.
|
inline |
Get calibrated time-over-threshold of hit.
tot | time-over-threshold [ns] |
cal | calibration |
Definition at line 250 of file JDetector/JCalibration.hh.
|
inline |
Get de-calibrated time-over-threshold of hit.
tot | time-over-threshold [ns] |
cal | calibration |
Definition at line 264 of file JDetector/JCalibration.hh.
|
inline |
Check validity of detector identifier.
type | detector type |
id | detector identifier |
Definition at line 54 of file JDetectorAddressMapToolkit.hh.
|
inline |
Definition at line 55 of file JDetectorAddressMapToolkit.hh.
|
inline |
Definition at line 56 of file JDetectorAddressMapToolkit.hh.
|
inline |
Definition at line 57 of file JDetectorAddressMapToolkit.hh.
|
inline |
Get detector address map.
Definition at line 388 of file JDetectorAddressMapToolkit.hh.
|
inline |
Get module address map.
id | module identifier |
Definition at line 403 of file JDetectorAddressMapToolkit.hh.
|
inline |
Get PMT address translator for given module identifier and TDC channel.
id | module identifier |
tdc | TDC |
Definition at line 417 of file JDetectorAddressMapToolkit.hh.
|
inline |
Get PMT logical index for given module identifier and TDC channel.
id | module identifier |
tdc | TDC |
Definition at line 431 of file JDetectorAddressMapToolkit.hh.
|
inline |
Get detector address map.
id | detector identifier |
Definition at line 512 of file JDetectorAddressMapToolkit.hh.
|
inline |
Check if detector address map is available.
id | detector identifier |
Definition at line 524 of file JDetectorAddressMapToolkit.hh.
|
inline |
Cast single value to array of strings, conform the DB-format.
value | value |
Definition at line 62 of file JDetectorCalibration.hh.
|
inline |
Retrieve value from json array of strings.
string_value_array | array of string-casted values |
Definition at line 76 of file JDetectorCalibration.hh.
|
inline |
|
inline |
|
inline |
Get detector header for ARCA.
Definition at line 274 of file JDetectorHeader.hh.
|
inline |
Get detector header for ORCA.
Definition at line 285 of file JDetectorHeader.hh.
|
inline |
Check if given detector header is compatible with tat of ARCA.
header | header |
Definition at line 297 of file JDetectorHeader.hh.
|
inline |
Check if given detector header is compatible with that of ORCA.
header | header |
Definition at line 309 of file JDetectorHeader.hh.
|
inline |
Get maximal distance between modules in detector.
The option can be used to include base modules, if any.
detector | detector |
option | option |
Definition at line 80 of file JDetectorToolkit.hh.
|
inline |
Get rotation over X axis in Geant4 coordinate system.
dir | direction |
Definition at line 110 of file JDetectorToolkit.hh.
|
inline |
Get rotation over Y axis in Geant4 coordinate system.
dir | direction |
Definition at line 131 of file JDetectorToolkit.hh.
|
inline |
Definition at line 139 of file JDetectorToolkit.hh.
|
inline |
Writes KM3Sim GDML input file from detector.
out | output stream |
detector | detector |
Definition at line 151 of file JDetectorToolkit.hh.
|
inline |
Get maximal time between optical modules in detector following causality.
detector | detector |
Definition at line 306 of file JDetectorToolkit.hh.
|
inline |
Get maximal time between optical modules in detector following causality.
The road width corresponds to the maximal distance traveled by the light.
detector | detector |
roadWidth_m | road width [m] |
Definition at line 322 of file JDetectorToolkit.hh.
|
inline |
Get de-calibrated time range.
The de-calibrated time range is corrected for minimal and maximal time offset of PMTs in given module.
timeRange | time range [ns] |
module | module |
Definition at line 343 of file JDetectorToolkit.hh.
|
inline |
Get number of PMTs.
module | module |
Definition at line 372 of file JDetectorToolkit.hh.
|
inline |
Get number of PMTs.
detector | detector |
Definition at line 384 of file JDetectorToolkit.hh.
Get list of strings identifiers.
detector | detector |
Definition at line 402 of file JDetectorToolkit.hh.
|
inline |
Get number of floors.
detector | detector |
Definition at line 420 of file JDetectorToolkit.hh.
|
inline |
Get range of floors.
detector | detector |
Definition at line 444 of file JDetectorToolkit.hh.
|
inline |
Get number of modules.
detector | detector |
Definition at line 462 of file JDetectorToolkit.hh.
|
inline |
Load detector from input file.
Supported file formats:
file_name | file name |
detector | detector |
Definition at line 486 of file JDetectorToolkit.hh.
|
inline |
Store detector to output file.
Supported file formats:
file_name | file name |
detector | detector |
Definition at line 579 of file JDetectorToolkit.hh.
|
inline |
Get module according module address map.
memo | module address map |
id | module identifier |
location | module location |
Definition at line 647 of file JDetectorToolkit.hh.
|
inline |
Get module according given detector type.
type | detector type |
id | module identifier |
location | module location |
Definition at line 712 of file JDetectorToolkit.hh.
|
inline |
Get module according Antares detector type.
type | Antares detector type |
id | module identifier |
location | module location |
Definition at line 728 of file JDetectorToolkit.hh.
|
inline |
Get module according detector template.
id | module identifier |
location | module location |
Definition at line 769 of file JDetectorToolkit.hh.
|
inline |
Get position to go from first to second module.
first | first module |
second | second module |
Definition at line 910 of file JDetectorToolkit.hh.
|
inline |
Get calibration to go from first to second calibration.
first | first calibration |
second | second calibration |
Definition at line 923 of file JDetectorToolkit.hh.
|
inline |
Get detector versions.
Note that the order of the versions is descending.
type | type |
Definition at line 317 of file JDetectorVersion.hh.
|
inline |
Get detector versions.
Note that the order of the versions is descending.
type | type |
Definition at line 331 of file JDetectorVersion.hh.
|
inline |
Get detector versions.
Definition at line 343 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
type | type |
Definition at line 355 of file JDetectorVersion.hh.
Get latest detector version.
type | type |
Definition at line 367 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
type | type |
Definition at line 379 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
Definition at line 391 of file JDetectorVersion.hh.
|
inline |
Get module label for monitoring and other applications.
The format is "(XXXX,YY)", where XXXX is the string number and YY the floor.
location | module location |
Definition at line 246 of file JLocation.hh.
void JDETECTOR::setAttributes | ( | const JModule & | first, |
const JModule & | second, | ||
JAttributes_t & | attributes | ||
) |
Template method to set module attributes.
This method should be overloaded for each type of module attributes.
first | first module |
second | second module |
attributes | module attributes |
void JDETECTOR::setAttributes< JNullType > | ( | const JModule & | first, |
const JModule & | second, | ||
JNullType & | attributes | ||
) |
Template specialisation to set no attributes for the default empty object.
first | first module |
second | second module |
attributes | module attributes |
Definition at line 49 of file JModuleMapper.hh.
|
inline |
Get module status bits.
type | type |
Definition at line 79 of file JModuleStatus.hh.
|
inline |
Get module status bits.
type | type |
Definition at line 91 of file JModuleStatus.hh.
|
inline |
Get module status bits.
Definition at line 103 of file JModuleStatus.hh.
|
inline |
Get relative position of piezo in optical module.
Definition at line 30 of file JModuleSupportkit.hh.
|
inline |
Get time-over-threshold probability.
pmt | PMT signal processor |
tot_ns | time-over-threshold [ns] |
NPE | expected number of photo-electrons |
precision | precision |
Definition at line 880 of file JPMTAnalogueSignalProcessor.hh.
|
inline |
Less than operator for PMT identifiers.
first | PMT identifier |
second | PMT identifier |
Definition at line 187 of file JPMTIdentifier.hh.
|
inline |
Equal operator for PMT identifiers.
first | PMT identifier |
second | PMT identifier |
Definition at line 203 of file JPMTIdentifier.hh.
|
inline |
Get PMT label for monitoring and other applications.
The format is "(XXXXXXXXXX,YY)", where XXXXXXXXXX is the module idetifier and YY the PMT readout channel.
id | PMT identifier |
Definition at line 217 of file JPMTIdentifier.hh.
|
inline |
Get model dependent probability that a one photo-electron hit survives the simulation of the PMT assuming QE = 1.
parameters | PMT parameters |
Definition at line 32 of file JPMTParametersToolkit.hh.
|
inline |
Get ratio of hit probabilities for given QE and expectation value of the number of photo-electrons.
The ratio corresponds to the hit probability with given QE divided by that with QE = 1.
The expectation value is defined for a two-fold (or higher) coincidence.
QE | QE |
mu | expectation value |
Definition at line 52 of file JPMTParametersToolkit.hh.
|
inline |
Get maximal ratio of hit probabilities for given QE and expectation value of the number of photo-electrons.
The ratio corresponds to the hit probability with infinite QE divided by that with QE = 1.
The expectation value is defined for a two-fold (or higher) coincidence.
mu | expectation value |
Definition at line 69 of file JPMTParametersToolkit.hh.
|
inline |
Get QE for given ratio of hit probabilities and expectation value of the number of photo-electrons.
The ratio corresponds to the hit probability with given QE divided by that with QE = 1.
The expectation value is defined for a two-fold (or higher) coincidence.
R | ratio |
mu | expectation value |
Definition at line 89 of file JPMTParametersToolkit.hh.
|
inline |
Get charge probability.
pmt | PMT signal processor |
npe | measured number of photo-electrons |
NPE | expected number of photo-electrons |
precision | precision |
Definition at line 352 of file JPMTSignalProcessorInterface.hh.
|
inline |
Less than operator for photo-elecrons.
first | first photo-electron |
second | second photo-electron |
Definition at line 70 of file JPMTSimulator.hh.
|
inline |
Less than operator for PMT signals.
first | first PMT signal |
second | second PMT signal |
Definition at line 114 of file JPMTSimulator.hh.
Less than operator for PMT pulses.
first | first PMT pulse |
second | second PMT pulse |
Definition at line 158 of file JPMTSimulator.hh.
|
inline |
Get time range (i.e. earlist and latest hit time) of PMT data.
input | PMT data |
Definition at line 287 of file JPMTSimulator.hh.
|
inline |
Get time range (i.e. earlist and latest hit time) of module data.
input | module data |
Definition at line 305 of file JPMTSimulator.hh.
|
inline |
Get PMT status bits.
type | type |
Definition at line 80 of file JPMTStatus.hh.
|
inline |
Get PMT status bits.
type | type |
Definition at line 92 of file JPMTStatus.hh.
|
inline |
Get PMT status bits.
Definition at line 104 of file JPMTStatus.hh.
const double JDETECTOR::TIME_OVER_THRESHOLD_NS = 25.08 |
Specification for time-over-threshold corresponding to a one photo-electron pulse.
Definition at line 30 of file JDetector/JCalibration.hh.
const double JDETECTOR::NOMINAL_GAIN = 1.0 |
Specification for normalized gain corresponding to a one photo-electron pulse.
Definition at line 35 of file JDetector/JCalibration.hh.
|
static |
ORCA T-bar position relative to seabed [m].
Definition at line 17 of file JDetectorSupportkit.hh.
|
static |
ORCA T-bar position relative to seabed [m].
Definition at line 18 of file JDetectorSupportkit.hh.
|
static |
|
static |
JIO binary file format.
Definition at line 62 of file JDetectorToolkit.hh.
|
static |
KM3NeT standard ASCII format
Definition at line 63 of file JDetectorToolkit.hh.
|
static |
zipped KM3NeT standard ASCII format
Definition at line 64 of file JDetectorToolkit.hh.
|
static |
KM3Sim input format.
Definition at line 65 of file JDetectorToolkit.hh.
|
static |
directory necessary for correct GDML header output
Definition at line 67 of file JDetectorToolkit.hh.
|
static |
extension of the detector size to comply with the can definition
Definition at line 68 of file JDetectorToolkit.hh.
|
static |
Definition at line 69 of file JDetectorToolkit.hh.
|
static |
Function object to get rotation matrix to go from first to second module.
Definition at line 900 of file JDetectorToolkit.hh.
|
static |
Function object to map detector version to numerical value.
Definition at line 300 of file JDetectorVersion.hh.
|
static |
Function object to map numerical value to detector version.
|
static |
Function object to map key to module status bit.
Definition at line 64 of file JModuleStatus.hh.
|
static |
Function object to map module status bit to key.
|
static |
Piezo delay time [us].
Definition at line 19 of file JModuleSupportkit.hh.
|
static |
Piezo delay time [us].
Definition at line 20 of file JModuleSupportkit.hh.
|
static |
Piezo delay time [us].
Definition at line 21 of file JModuleSupportkit.hh.
|
static |
Hydrophone delay time [us].
Definition at line 22 of file JModuleSupportkit.hh.
|
static |
PMT type of LED beacon.
Definition at line 37 of file JMonteCarloDetector.hh.
|
static |
Function object to map key to PMT status bit.
Definition at line 65 of file JPMTStatus.hh.
|
static |
Function object to map PMT status bit to key.
Function object to generate transition time.
Function object of transition time prabability.
|
static |
Function object of twofold transition time prabability.
Definition at line 2659 of file JPMTTransitTimeProbability.hh.
|
static |
Function object to count unique strings.
Definition at line 95 of file JStringCounter.hh.