Jpp test-rotations-new
the software that should make you happy
|
file Auxiliary data structures and methods for detector calibration. More...
Classes | |
struct | getTransitionTime |
struct | getTransitionTimeProbability |
class | JAnchor |
Data structure for anchor position on sea bed. More... | |
struct | JAntares_t |
Antares More... | |
class | JCalibration |
Data structure for time calibration. More... | |
struct | JCalibrator |
Auxiliary class to apply (de-)calibration to template hit. More... | |
struct | JCalibrator< JHit_t, false > |
Template specialisation of JCalibrator for non-primitive data types. More... | |
struct | JCalibrator< T, true > |
Template specialisation of JCalibrator for primitive data types. 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... | |
struct | JCompassRotation_t |
Auxiliary data structure for compass rotation. 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 | JDetectorBuilder |
Auxiliary interface for building detector. More... | |
class | JDetectorBuilder_t |
Template lookup table for detector builder. More... | |
class | JDetectorBuilder_t< JKM3NeT_t > |
Template specialisation of JDetectorBuilder for KM3NeT detector. More... | |
class | JDetectorBuilder_t< JKM3NeTFit_t > |
Template specialisation of JDetectorBuilder for KM3NeT detector with all known features. More... | |
class | JDetectorBuilder_t< JMonteCarlo_t > |
Template specialisation of JDetectorBuilder for Monte Carlo detector. More... | |
class | JDetectorBuilder_t< JObsolete_t > |
Template specialisation of JDetectorBuilder for obsolete detector. More... | |
class | JDetectorBuilder_t< JPPM_DU_t > |
Template specialisation of JDetectorBuilder for PPM_DU detector. More... | |
class | JDetectorHeader |
Data structure for detector header. More... | |
struct | JDetectorHelper_t |
Auxiliary class to extract detector address map from detector identifier. More... | |
struct | JDetectorHelper_t< JTypeList< JHead_t, JNullType > > |
struct | JDetectorHelper_t< JTypeList< JHead_t, JTail_t > > |
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 |
Detector subset with binary search functionality. More... | |
class | JDetectorSubset_t |
Detector subset without binary search functionality. More... | |
struct | JDetectorVersion |
Detector version. More... | |
struct | JGetDetectorVersion |
Auxiliary class to map detector version to numerical value. More... | |
struct | JGetModuleStatusBit |
Auxiliary class to map key to module status bit. More... | |
struct | JGetPMTStatusBit |
Auxiliary class to map key to PMT status bit. More... | |
struct | JHVCalibration_t |
Data structure for PMT high-voltage calibration. 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... | |
struct | JKM3NeT_t |
KM3NeT default detector More... | |
struct | JKM3NeTFit_t |
KM3NeT with cable swaps, etc. (see e.g. JPMTSwapDB.cc) More... | |
class | JLocation |
Logical location of module. More... | |
class | JLocationRouter |
Router for direct addressing of location data in detector data structure. More... | |
struct | JMaximalDistance |
Auxiliary class to match modules according maximal distance. More... | |
class | JModule |
Data structure for a composite optical module. More... | |
class | JModuleAddress |
Address of module in detector data structure. More... | |
class | JModuleAddressMap |
Lookup table for PMT addresses in optical module. More... | |
struct | JModuleAnalogueSignalProcessor |
Auxiliary container for PMT analogue signal processors in same optical module. More... | |
struct | JModuleAttributes |
Data structure for module address and module attributes. More... | |
struct | JModuleCalibration_t |
Auxiliary data structure for module time calibration. More... | |
struct | JModuleComparator3D_t |
Module comparator according its distance to origin. More... | |
struct | JModuleComparator3Z_t |
Module comparator according its z-position. More... | |
class | JModuleData |
Data structure for PMT data corresponding to a detector module. More... | |
class | JModuleGeometry |
Module geometry. More... | |
struct | JModuleMap_t |
Auxiliary data structure for module address map. More... | |
class | JModuleMapper |
Mapper for directly addressing of associated modules in the detector data structure. More... | |
struct | JModulePosition_t |
Auxiliary data structure for module position. More... | |
struct | JModuleRotation_t |
Auxiliary data structure for module rotation. More... | |
class | JModuleRouter |
Router for direct addressing of module data in detector data structure. More... | |
struct | JModuleStatus_t |
Auxiliary data structure for module status. More... | |
struct | JMonteCarlo_t |
Monte Carlo. More... | |
class | JMonteCarloDetector |
Monte Carlo detector (i.e. ".det" file). More... | |
struct | JObsolete_t |
obsolete detector More... | |
struct | JPhotoElectron |
Data structure for single photo-electron. More... | |
class | JPMT |
Data structure for PMT geometry, calibration and status. More... | |
class | JPMTAddress |
Address of PMT in detector data structure. More... | |
struct | JPMTAddressTranslator |
Data structure to translate PMT physical to readout address. More... | |
struct | JPMTAnalogueSignalProcessor |
PMT analogue signal processor. More... | |
struct | JPMTCalibration_t |
Auxiliary data structure for PMT time calibration. More... | |
class | JPMTChannel |
Auxiliary class to uniquely identify PMT readout channel. More... | |
class | JPMTData |
Template data structure for PMT I/O. 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 | JPMTPulse |
Data structure for PMT digital pulse. 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... | |
struct | JPMTSignal |
Data structure for PMT analogue signal. More... | |
class | JPMTSignalProcessorInterface |
PMT signal processor interface. More... | |
class | JPMTSimulator |
Interface for PMT simulation. More... | |
struct | JPMTStatus_t |
Auxiliary data structure for PMT status. More... | |
struct | JPMTThresholdCalibration_t |
Data structure for PMT threshold calibration. More... | |
struct | JPPM_DU_t |
Type definitions for different detectors.PPM_DU. More... | |
struct | JPutDetectorVersion |
Auxiliary class to map numerical value to detector version. More... | |
struct | JRotation |
Auxiliary class to get rotation matrix between two optical modules. More... | |
struct | JStringCounter |
Auxiliary class for counting unique strings. More... | |
struct | JStringRouter |
Router for mapping of string identifier to index. More... | |
class | JTransferFunction1D |
Auxiliary class for a non-linear transfer function of TDC inside FPGA. 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 (see Calibration e-log entry 467). More... | |
struct | JTransitionTimeGenerator_t |
Auxiliary base class to generate PMT transition times based on measurements. More... | |
struct | JTransitionTimeGeneratorXX |
Implementation to generate 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... | |
class | JTransitionTimeProbability2D |
Auxiliary class to generate twofold PMT transition times. 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 (see Calibration e-log entry 467). More... | |
struct | JTransitionTimeProbability_t |
Auxiliary base class for 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 | JTransmitter |
Type definition of transmitter. More... | |
class | JTripod |
Data structure for tripod. More... | |
struct | JUTCDistance |
Auxiliary class for distance beteen UTC times. More... | |
struct | JVersion |
Auxiliary class for version identifier. More... | |
Typedefs | |
typedef JPMTData< JPMTPulse > | JPMTOutput |
Type definition of PMT base output. | |
typedef std::vector< JHVCalibration_t > | JHVCalibration |
PMT high voltage calibration. | |
typedef std::vector< JPMTThresholdCalibration_t > | JPMTThresholdCalibration |
PMT threshold calibration. | |
typedef std::vector< JModuleMap_t > | JModuleMap |
module map | |
typedef std::vector< JPMTCalibration_t > | JPMTCalibration |
PMT time calibration. | |
typedef std::vector< JPMTStatus_t > | JPMTStatus |
PMT status. | |
typedef std::vector< JModulePosition_t > | JModulePosition |
Module position. | |
typedef std::vector< JModuleRotation_t > | JModuleRotation |
Module rotation. | |
typedef std::vector< JModuleStatus_t > | JModuleStatus |
Module status. | |
typedef std::vector< JModuleCalibration_t > | JModuleCalibration |
Module time calibration. | |
typedef std::vector< JCompassRotation_t > | JCompassRotation |
Compass rotation. | |
typedef JLANG::JObjectID | JDetectorID |
Type definition of detector identifier. | |
typedef JTYPELIST< JPPM_DU_t, JKM3NeTFit_t, JKM3NeT_t, JMonteCarlo_t >::typelist | JDetectorTypes_t |
Type list of KM3NeT detector types (specific detectors first). | |
typedef JTOOLS::JRange< int > | floor_range |
Type definition for range of floors. | |
typedef JLANG::JComparator< double(JVector3D::*)() const > | JModuleComparator |
Type definition of a module comparator using 3D position information. | |
typedef JLANG::JObjectID | JModuleIdentifier |
typedef JPutStatusBit | JPutModuleStatusBit |
Type definition to map module status bit to key. | |
typedef std::map< JPMTIdentifier, JPMTParameters > | JPMTParametersMap_t |
Type definition of map PMT identifier to PMT parameters. | |
typedef JPutStatusBit | JPutPMTStatusBit |
Type definition to map PMT status bit to key. | |
typedef JTOOLS::JRange< double > | JTimeRange |
Type definition for time range (unit [ns]). | |
Functions | |
bool | operator< (const JAnchor &first, const JAnchor &second) |
Sort anchors in ascending distance from (0,0). | |
template<class T > | |
double | getTime (const T &t1, const JCalibration &cal) |
Get calibrated time. | |
template<class T > | |
double | putTime (const T &t1, const JCalibration &cal) |
Get de-calibrated time. | |
template<class T > | |
double | getToT (const T &tot, const JCalibration &cal) |
Get calibrated time-over-threshold of hit. | |
template<class T > | |
double | putToT (const T &tot, const JCalibration &cal) |
Get de-calibrated time-over-threshold of hit. | |
template<class T > | |
std::vector< std::string > | get_string_array (T value) |
Cast single value to array of strings, conform the DB-format. | |
double | retrieve_value (std::vector< std::string > string_value_array) |
Retrieve value from json array of strings. | |
JUTMGrid | getARCAUTMGrid () |
Get UTM grid for ARCA. | |
JUTMGrid | getORCAUTMGrid () |
Get UTM grid for ORCA. | |
JDetectorHeader | getARCADetectorHeader () |
Get detector header for ARCA. | |
JDetectorHeader | getORCADetectorHeader () |
Get detector header for ORCA. | |
bool | isARCADetector (const JDetectorHeader &header) |
Check if given detector header is compatible with tat of ARCA. | |
bool | isORCADetector (const JDetectorHeader &header) |
Check if given detector header is compatible with that of ORCA. | |
bool | hasDetector (JType< JPPM_DU_t > type, const int id) |
Check validity of detector identifier. | |
bool | hasDetector (JType< JKM3NeTFit_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 > | |
JDetectorBuilder & | getDetectorBuilder () |
Get detector builder. | |
template<class JDetector_t > | |
JDetectorAddressMap & | getDetectorAddressMap () |
Get detector address map. | |
template<class JDetector_t > | |
JModuleAddressMap & | getModuleAddressMap (int id) |
Get module address map. | |
template<class JDetector_t > | |
const JPMTAddressTranslator & | getPMTAddressTranslator (int id, int tdc) |
Get PMT address translator for given module identifier and TDC channel. | |
template<class JDetector_t > | |
int | getPMTLogicalIndex (int id, int tdc) |
Get PMT logical index for given module identifier and TDC channel. | |
JDetectorBuilder & | getDetectorBuilder (const int id) |
Get detector builder. | |
JDetectorAddressMap & | getDetectorAddressMap (const int id) |
Get detector address map. | |
bool | hasDetectorBuilder (const int id) |
Check if detector builder is available. | |
bool | hasDetectorAddressMap (const int id) |
Check if detector address map is available. | |
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. | |
const JModule & | getModule (const JType< JAntares_t > type, const int id, const JLocation &location=JLocation()) |
Get module according Antares detector type. | |
template<class JDetector_t > | |
const JModule & | getModule (const int id, const JLocation &location=JLocation()) |
Get module according detector template. | |
double | getMaximalDistance (const JDetector &detector, const bool option=false) |
Get maximal distance between modules in detector. | |
double | getMaximalTime (const JDetector &detector) |
Get maximal time between optical modules in detector following causality. | |
double | getMaximalTime (const JDetector &detector, const double roadWidth_m) |
Get maximal time between optical modules in detector following causality. | |
JTimeRange | getTimeRange (const JTimeRange &timeRange, const JModule &module) |
Get de-calibrated time range. | |
int | getNumberOfPMTs (const JModule &module) |
Get number of PMTs. | |
int | getNumberOfPMTs (const JDetector &detector) |
Get number of PMTs. | |
std::set< int > | getStringIDs (const JDetector &detector) |
Get list of strings identifiers. | |
std::set< int > | getModuleIDs (const JDetector &detector, const bool option=false) |
Get list of modules identifiers. | |
int | getNumberOfFloors (const JDetector &detector) |
Get number of floors. | |
floor_range | getRangeOfFloors (const JDetector &detector) |
Get range of floors. | |
int | getNumberOfModules (const JDetector &detector, const bool option=false) |
Get number of modules. | |
double | GetXrotationG4 (const JVersor3D &dir) |
Get rotation over X axis in Geant4 coordinate system. | |
double | GetYrotationG4 (const JVersor3D &dir) |
Get rotation over Y axis in Geant4 coordinate system. | |
void | read_gdml (std::istream &, JDetector &) |
void | write_gdml (std::ostream &out, const JDetector &detector) |
Writes KM3Sim GDML input file from detector. | |
void | load (const std::string &file_name, JDetector &detector) |
Load detector from input file. | |
void | store (const std::string &file_name, const JDetector &detector) |
Store detector to output file. | |
JPosition3D | getPosition (const JModule &first, const JModule &second) |
Get position to go from first to second module. | |
JCalibration | getCalibration (const JCalibration &first, const JCalibration &second) |
Get calibration to go from first to second calibration. | |
std::vector< std::string > | getDetectorVersions (const JType< std::string > &type) |
Get detector versions. | |
std::vector< JDetectorVersion::JVersion_t > | getDetectorVersions (const JType< JDetectorVersion::JVersion_t > &type) |
Get detector versions. | |
template<class T > | |
std::vector< T > | getDetectorVersions () |
Get detector versions. | |
std::string | getLatestDetectorVersion (const JType< std::string > &type) |
Get latest detector version. | |
JVersion | getLatestDetectorVersion (const JType< JVersion > &type) |
Get latest detector version. | |
JDetectorVersion::JVersion_t | getLatestDetectorVersion (const JType< JDetectorVersion::JVersion_t > &type) |
Get latest detector version. | |
template<class T > | |
T | getLatestDetectorVersion () |
Get latest detector version. | |
std::string | getLabel (const JLocation &location) |
Get module label for monitoring and other applications. | |
template<class JAttributes_t > | |
void | setAttributes (const JModule &first, const JModule &second, JAttributes_t &attributes) |
Template method to set module attributes. | |
template<> | |
void | setAttributes< JNullType > (const JModule &first, const JModule &second, JNullType &attributes) |
Template specialisation to set no attributes for the default empty object. | |
std::vector< std::string > | getModuleStatusBits (const JType< std::string > &type) |
Get module status bits. | |
std::vector< int > | getModuleStatusBits (const JType< int > &type) |
Get module status bits. | |
template<class T > | |
std::vector< T > | getModuleStatusBits () |
Get module status bits. | |
JPosition3D | getPiezoPosition () |
Get relative position of piezo in optical module. | |
double | getTimeOverThresholdProbability (const JPMTAnalogueSignalProcessor &pmt, const double tot_ns, const double NPE, const double precision=1.0e-4) |
Get time-over-threshold probability. | |
std::string | getLabel (const JPMTIdentifier &id) |
Get PMT label for monitoring and other applications. | |
double | getSurvivalProbability (const JPMTParameters ¶meters) |
Get model dependent probability that a one photo-electron hit survives the simulation of the PMT assuming QE = 1. | |
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. | |
double | getMaximalHitProbability (const double mu) |
Get maximal ratio of hit probabilities for given QE and expectation value of the number of photo-electrons. | |
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. | |
double | getChargeProbability (const JPMTSignalProcessorInterface &pmt, const double npe, const double NPE, const double precision=1.0e-4) |
Get charge probability. | |
bool | operator< (const JPhotoElectron &first, const JPhotoElectron &second) |
Less than operator for photo-elecrons. | |
bool | operator< (const JPMTSignal &first, const JPMTSignal &second) |
Less than operator for PMT signals. | |
bool | operator< (const JPMTPulse &first, const JPMTPulse &second) |
Less than operator for PMT pulses. | |
template<class T > | |
JTimeRange | getTimeRange (const JPMTData< T > &input) |
Get time range (i.e. earliest and latest hit time) of PMT data. | |
JTimeRange | getTimeRange (const JModuleData &input) |
Get time range (i.e. earlist and latest hit time) of module data. | |
std::vector< std::string > | getPMTStatusBits (const JType< std::string > &type) |
Get PMT status bits. | |
std::vector< int > | getPMTStatusBits (const JType< int > &type) |
Get PMT status bits. | |
template<class T > | |
std::vector< T > | getPMTStatusBits () |
Get PMT status bits. | |
Variables | |
const double | TIME_OVER_THRESHOLD_NS = 25.08 |
Specification for time-over-threshold corresponding to a one photo-electron pulse. | |
const double | NOMINAL_GAIN = 1.0 |
Specification for normalized gain corresponding to a one photo-electron pulse. | |
static const double | ORCA_TBARZ_M = 0.91 |
ORCA T-bar position relative to seabed [m]. | |
static const double | ARCA_TBARZ_M = 0.95 |
ORCA T-bar position relative to seabed [m]. | |
static const char *const | GENDET_DETECTOR_FILE_FORMAT = "det" |
File name extensions. | |
static const char *const | BINARY_DETECTOR_FILE_FORMAT [] = { "dat", "datx" } |
JIO binary file format. | |
static const char *const | KM3NET_DETECTOR_FILE_FORMAT = "detx" |
KM3NeT standard ASCII format | |
static const char *const | ZIPPED_DETECTOR_FILE_FORMAT = "gz" |
zipped KM3NeT standard ASCII format | |
static const char *const | GDML_DETECTOR_FILE_FORMAT = "gdml" |
KM3Sim input format. | |
static const char *const | GDML_SCHEMA = getenv("GDML_SCHEMA_DIR") |
directory necessary for correct GDML header output | |
static const char *const | CAN_MARGIN_M = getenv("CAN_MARGIN_M") |
extension of the detector size to comply with the can definition | |
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. | |
static const JGetDetectorVersion | getDetectorVersion |
Function object to map detector version to numerical value. | |
static const JPutDetectorVersion | putDetectorVersion (getDetectorVersion) |
Function object to map numerical value to detector version. | |
static const JGetModuleStatusBit | getModuleStatusBit |
Function object to map key to module status bit. | |
static const JPutModuleStatusBit | putModuleStatusBit (getModuleStatusBit) |
Function object to map module status bit to key. | |
static const double | PIEZO_V1_DELAYTIME_US = 170.3 |
Piezo delay time [us]. | |
static const double | PIEZO_V2_DELAYTIME_US = 242.1 |
Piezo delay time [us]. | |
static const double | PIEZO_V3_DELAYTIME_US = 242.1 |
Piezo delay time [us]. | |
static const double | HYDROPHONE_DELAYTIME_US = 50.7 |
Hydrophone delay time [us]. | |
static const int | LED_BEACON_PMT_TYPE = 2 |
PMT type of LED beacon. | |
static const JGetPMTStatusBit | getPMTStatusBit |
Function object to map key to PMT status bit. | |
static const JPutPMTStatusBit | putPMTStatusBit (getPMTStatusBit) |
Function object to map PMT status bit to key. | |
JDETECTOR::getTransitionTime | getTransitionTime |
Function object to generate transition time. | |
JDETECTOR::getTransitionTimeProbability | getTransitionTimeProbability |
Function object of transition time prabability. | |
static const JTransitionTimeProbability2D | getTransitionTimeProbability2D |
Function object of twofold transition time prabability. | |
static const JStringCounter | getNumberOfStrings |
Function object to count unique strings. | |
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.
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 JTYPELIST<JPPM_DU_t,JKM3NeTFit_t,JKM3NeT_t,JMonteCarlo_t>::typelist JDETECTOR::JDetectorTypes_t |
Type list of KM3NeT detector types (specific detectors first).
Definition at line 54 of file JDetectorSupportkit.hh.
typedef JTOOLS::JRange<int> JDETECTOR::floor_range |
Type definition for range of floors.
Definition at line 258 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 |
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 |
Get UTM grid for ARCA.
Definition at line 252 of file JDetectorHeader.hh.
|
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.
Check validity of detector identifier.
type | detector type |
id | detector identifier |
Definition at line 64 of file JDetectorSupportkit.hh.
|
inline |
Definition at line 65 of file JDetectorSupportkit.hh.
Definition at line 66 of file JDetectorSupportkit.hh.
|
inline |
Definition at line 67 of file JDetectorSupportkit.hh.
|
inline |
Get detector builder.
Definition at line 528 of file JDetectorSupportkit.hh.
|
inline |
Get detector address map.
Definition at line 542 of file JDetectorSupportkit.hh.
|
inline |
Get module address map.
id | module identifier |
Definition at line 555 of file JDetectorSupportkit.hh.
|
inline |
Get PMT address translator for given module identifier and TDC channel.
id | module identifier |
tdc | TDC |
Definition at line 569 of file JDetectorSupportkit.hh.
|
inline |
Get PMT logical index for given module identifier and TDC channel.
id | module identifier |
tdc | TDC |
Definition at line 583 of file JDetectorSupportkit.hh.
|
inline |
Get detector builder.
id | detector identifier |
Definition at line 664 of file JDetectorSupportkit.hh.
|
inline |
Get detector address map.
id | detector identifier |
Definition at line 676 of file JDetectorSupportkit.hh.
|
inline |
Check if detector builder is available.
id | detector identifier |
Definition at line 688 of file JDetectorSupportkit.hh.
|
inline |
Check if detector address map is available.
id | detector identifier |
Definition at line 700 of file JDetectorSupportkit.hh.
|
inline |
Get module according given detector type.
type | detector type |
id | module identifier |
location | module location |
Definition at line 715 of file JDetectorSupportkit.hh.
|
inline |
Get module according Antares detector type.
type | Antares detector type |
id | module identifier |
location | module location |
Definition at line 731 of file JDetectorSupportkit.hh.
|
inline |
Get module according detector template.
id | module identifier |
location | module location |
Definition at line 774 of file JDetectorSupportkit.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 78 of file JDetectorToolkit.hh.
|
inline |
Get maximal time between optical modules in detector following causality.
detector | detector |
Definition at line 108 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 124 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 145 of file JDetectorToolkit.hh.
|
inline |
Get number of PMTs.
module | module |
Definition at line 174 of file JDetectorToolkit.hh.
|
inline |
Get number of PMTs.
detector | detector |
Definition at line 186 of file JDetectorToolkit.hh.
Get list of strings identifiers.
detector | detector |
Definition at line 204 of file JDetectorToolkit.hh.
|
inline |
Get list of modules identifiers.
detector | detector |
option | option to include base modules |
Definition at line 223 of file JDetectorToolkit.hh.
|
inline |
Get number of floors.
detector | detector |
Definition at line 243 of file JDetectorToolkit.hh.
|
inline |
Get range of floors.
detector | detector |
Definition at line 267 of file JDetectorToolkit.hh.
|
inline |
Get number of modules.
detector | detector |
option | option to include base modules |
Definition at line 286 of file JDetectorToolkit.hh.
|
inline |
Get rotation over X axis in Geant4 coordinate system.
dir | direction |
Definition at line 306 of file JDetectorToolkit.hh.
|
inline |
Get rotation over Y axis in Geant4 coordinate system.
dir | direction |
Definition at line 327 of file JDetectorToolkit.hh.
|
inline |
Definition at line 335 of file JDetectorToolkit.hh.
|
inline |
Writes KM3Sim GDML input file from detector.
out | output stream |
detector | detector |
Definition at line 347 of file JDetectorToolkit.hh.
|
inline |
Load detector from input file.
Supported file formats:
file_name | file name |
detector | detector |
Definition at line 508 of file JDetectorToolkit.hh.
|
inline |
Store detector to output file.
Supported file formats:
file_name | file name |
detector | detector |
Definition at line 605 of file JDetectorToolkit.hh.
|
inline |
Get position to go from first to second module.
first | first module |
second | second module |
Definition at line 799 of file JDetectorToolkit.hh.
|
inline |
Get calibration to go from first to second calibration.
first | first calibration |
second | second calibration |
Definition at line 812 of file JDetectorToolkit.hh.
|
inline |
Get detector versions.
Note that the order of the versions is descending.
type | type |
Definition at line 328 of file JDetectorVersion.hh.
|
inline |
Get detector versions.
Note that the order of the versions is descending.
type | type |
Definition at line 342 of file JDetectorVersion.hh.
|
inline |
Get detector versions.
Definition at line 354 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
type | type |
Definition at line 366 of file JDetectorVersion.hh.
Get latest detector version.
type | type |
Definition at line 378 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
type | type |
Definition at line 390 of file JDetectorVersion.hh.
|
inline |
Get latest detector version.
Definition at line 402 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 247 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 |
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 193 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 350 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. earliest and latest hit time) of PMT data.
input | PMT data |
Definition at line 288 of file JPMTSimulator.hh.
|
inline |
Get time range (i.e. earlist and latest hit time) of module data.
input | module data |
Definition at line 306 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 36 of file JDetectorSupportkit.hh.
|
static |
ORCA T-bar position relative to seabed [m].
Definition at line 37 of file JDetectorSupportkit.hh.
|
static |
|
static |
JIO binary file format.
Definition at line 60 of file JDetectorToolkit.hh.
|
static |
KM3NeT standard ASCII format
Definition at line 61 of file JDetectorToolkit.hh.
|
static |
zipped KM3NeT standard ASCII format
Definition at line 62 of file JDetectorToolkit.hh.
|
static |
KM3Sim input format.
Definition at line 63 of file JDetectorToolkit.hh.
|
static |
directory necessary for correct GDML header output
Definition at line 65 of file JDetectorToolkit.hh.
|
static |
extension of the detector size to comply with the can definition
Definition at line 66 of file JDetectorToolkit.hh.
|
static |
Definition at line 67 of file JDetectorToolkit.hh.
|
static |
Function object to get rotation matrix to go from first to second module.
Definition at line 789 of file JDetectorToolkit.hh.
|
static |
Function object to map detector version to numerical value.
Definition at line 311 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.
|
static |
Function object to generate transition time.
|
static |
Function object of transition time prabability.
|
static |
Function object of twofold transition time prabability.
Definition at line 2660 of file JPMTTransitTimeProbability.hh.
|
static |
Function object to count unique strings.
Definition at line 95 of file JStringCounter.hh.