Jpp  17.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions | Variables
JDetectorCalibration.hh File Reference
#include <string>
#include <vector>
#include "JSon/JSon.hh"
#include "JDB/JPBS_t.hh"
#include "JDB/JUPI_t.hh"
#include "JLang/JObjectID.hh"
#include "JLang/JException.hh"
#include "Jeep/JPrint.hh"
#include "Jeep/JStatus.hh"
#include "JDetector/JCalibration.hh"
#include "JGeometry3D/JPosition3D.hh"
#include "JGeometry3D/JQuaternion3D.hh"

Go to the source code of this file.

Classes

struct  JDETECTOR::JPMTCalibration_t
 Auxiliary data structure for PMT time calibration. More...
 
struct  JDETECTOR::JPMTStatus_t
 Auxiliary data structure for PMT status. More...
 
struct  JDETECTOR::JHVCalibration_t
 Data structure for PMT high-voltage calibration. More...
 
struct  JDETECTOR::JPMTThresholdCalibration_t
 Data structure for PMT threshold calibration. More...
 
struct  JDETECTOR::JModulePosition_t
 Auxiliary data structure for module position. More...
 
struct  JDETECTOR::JModuleRotation_t
 Auxiliary data structure for module rotation. More...
 
struct  JDETECTOR::JModuleStatus_t
 Auxiliary data structure for module status. More...
 
struct  JDETECTOR::JModuleCalibration_t
 Auxiliary data structure for module time calibration. More...
 
struct  JDETECTOR::JCompassRotation_t
 Auxiliary data structure for compass rotation. More...
 

Namespaces

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

Typedefs

typedef std::vector
< JHVCalibration_t
JDETECTOR::JHVCalibration
 PMT high voltage calibration. More...
 
typedef std::vector
< JPMTThresholdCalibration_t
JDETECTOR::JPMTThresholdCalibration
 PMT threshold calibration. More...
 
typedef std::vector
< JPMTCalibration_t
JDETECTOR::JPMTCalibration
 PMT time calibration. More...
 
typedef std::vector< JPMTStatus_tJDETECTOR::JPMTStatus
 PMT status. More...
 
typedef std::vector
< JModulePosition_t
JDETECTOR::JModulePosition
 Module position. More...
 
typedef std::vector
< JModuleRotation_t
JDETECTOR::JModuleRotation
 Module rotation. More...
 
typedef std::vector
< JModuleStatus_t
JDETECTOR::JModuleStatus
 Module status. More...
 
typedef std::vector
< JModuleCalibration_t
JDETECTOR::JModuleCalibration
 Module time calibration. More...
 
typedef std::vector
< JCompassRotation_t
JDETECTOR::JCompassRotation
 Compass rotation. More...
 

Functions

bool JDETECTOR::is_valid (const json &js)
 Check validity of JSon data. More...
 
template<class T >
std::vector< std::string > JDETECTOR::get_string_array (T value)
 Cast single value to array of strings, conform the DB-format. More...
 
double JDETECTOR::retrieve_value (std::vector< std::string > string_value_array)
 Retrieve value from json array of strings. More...
 
void JDETECTOR::to_json (json &js, const JPMTCalibration_t &object)
 Convert PMT time calibration to JSon. More...
 
void JDETECTOR::from_json (const json &js, JPMTCalibration_t &object)
 Convert JSon to PMT time calibration. More...
 
void JDETECTOR::to_json (json &js, const JPMTStatus_t &object)
 Convert PMT status to JSon. More...
 
void JDETECTOR::from_json (const json &js, JPMTStatus_t &object)
 Convert JSon to PMT status. More...
 
void JDETECTOR::to_json (json &js, const JHVCalibration_t &object)
 Convert PMT high-voltage calibration to JSon. More...
 
void JDETECTOR::from_json (const json &js, JHVCalibration_t &object)
 Convert JSon to PMT high-voltage calibration. More...
 
void JDETECTOR::to_json (json &js, const JPMTThresholdCalibration_t &object)
 Convert PMT threshold calibration to JSon. More...
 
void JDETECTOR::from_json (const json &js, JPMTThresholdCalibration_t &object)
 Convert JSon to PMT threshold calibration. More...
 
void JDETECTOR::to_json (json &js, const JModulePosition_t &object)
 Convert module position to JSon. More...
 
void JDETECTOR::from_json (const json &js, JModulePosition_t &object)
 Convert JSon to module position. More...
 
void JDETECTOR::to_json (json &js, const JModuleRotation_t &object)
 Convert module rotation to JSon. More...
 
void JDETECTOR::from_json (const json &js, JModuleRotation_t &object)
 Convert JSon to module rotation. More...
 
void JDETECTOR::to_json (json &js, const JModuleStatus_t &object)
 Convert module status to JSon. More...
 
void JDETECTOR::from_json (const json &js, JModuleStatus_t &object)
 Convert JSon to module status. More...
 
void JDETECTOR::to_json (json &js, const JModuleCalibration_t &object)
 Convert module time calibration to JSon. More...
 
void JDETECTOR::from_json (const json &js, JModuleCalibration_t &object)
 Convert JSon to module time calibration. More...
 
void JDETECTOR::to_json (json &js, const JCompassRotation_t &object)
 Convert compass rotation to JSon. More...
 
void JDETECTOR::from_json (const json &js, JCompassRotation_t &object)
 Convert JSon to compass rotation. More...
 

Variables

static const std::string JDETECTOR::TCAL = "tcal"
 PMT time offsets. More...
 
static const std::string JDETECTOR::PCAL = "pcal"
 (optical|base) module positions More...
 
static const std::string JDETECTOR::RCAL = "rcal"
 (optical|base) module orientations More...
 
static const std::string JDETECTOR::ACAL = "acal"
 acoustic time offsets (piezo sensor or hydrophone) More...
 
static const std::string JDETECTOR::CCAL = "ccal"
 compass alignment (a.k.a. quaternion calibration) More...
 
static const std::string JDETECTOR::SCAL = "scal"
 PMT status. More...
 
static const std::string JDETECTOR::User_t = "User"
 Detector calibration key words for JSON I/O. More...
 
static const std::string JDETECTOR::Location_t = "Location"
 
static const std::string JDETECTOR::Time_t = "Time"
 
static const std::string JDETECTOR::Start_t = "Start"
 
static const std::string JDETECTOR::End_t = "End"
 
static const std::string JDETECTOR::Comment_t = "Comment"
 
static const std::string JDETECTOR::Encoding_t = "Encoding"
 
static const std::string JDETECTOR::Input_t = "Inputs"
 
static const std::string JDETECTOR::Error_t = "Error"
 
static const std::string JDETECTOR::Message_t = "Message"
 
static const std::string JDETECTOR::Code_t = "Code"
 
static const std::string JDETECTOR::Provenance_t = "Provenance"
 
static const std::string JDETECTOR::Info_t = "Info"
 
static const std::string JDETECTOR::Configuration_t = "Configuration"
 
static const std::string JDETECTOR::Arguments_t = "Arguments"
 
static const std::string JDETECTOR::Inputs_t = "Inputs"
 
static const std::string JDETECTOR::UUID_t = "UUID"
 
static const std::string JDETECTOR::APIVersion_t = "APIVersion"
 
static const std::string JDETECTOR::Result_t = "Result"
 
static const std::string JDETECTOR::OK_t = "OK"
 
static const std::string JDETECTOR::Fail_t = "FAIL"
 
static const std::string JDETECTOR::Type_t = "Type"
 
static const std::string JDETECTOR::Test_t = "Test"
 
static const std::string JDETECTOR::Tests_t = "Tests"
 
static const std::string JDETECTOR::Data_t = "Data"
 
static const std::string JDETECTOR::URL_t = "URL"
 
static const std::string JDETECTOR::Name_t = "Name"
 
static const std::string JDETECTOR::Unit_t = "Unit"
 
static const std::string JDETECTOR::Values_t = "Values"
 
static const std::string JDETECTOR::Parameters_t = "Parameters"
 
static const std::string JDETECTOR::RunNumber_t = "RUN_NUMBER"
 
static const std::string JDETECTOR::PMTT0s_t = "PMTT0s"
 
static const std::string JDETECTOR::PMTStatusInfo_t = "PMTStatusInfo"
 
static const std::string JDETECTOR::PMTSupplyVoltage_t = "PMT_Supply_Voltage"
 
static const std::string JDETECTOR::PMTThreshold_t = "PMT_Threshold"
 
static const std::string JDETECTOR::DOMPositions_t = "DOMPositions"
 
static const std::string JDETECTOR::DOMRotations_t = "DOMRotations"
 
static const std::string JDETECTOR::DOMAcousticT0_t = "DOMAcousticT0s"
 
static const std::string JDETECTOR::DOMCompassRotations_t = "DOMCompassRotations"
 
static const std::string JDETECTOR::DOMStatusInfo_t = "DOMStatusInfo"
 
static const std::string JDETECTOR::PMTGain_t = "PMT_Gain"
 
static const std::string JDETECTOR::BasePositions_t = "BasePositions"
 
static const std::string JDETECTOR::BaseRotations_t = "BaseRotations"
 
static const std::string JDETECTOR::BaseStatusInfo_t = "BaseStatusInfo"
 
static const std::string JDETECTOR::UPI_t = "UPI"
 
static const std::string JDETECTOR::PBS_t = "PBS"
 
static const std::string JDETECTOR::Variant_t = "Variant"
 
static const std::string JDETECTOR::DetOID_t = "DetOID"
 
static const std::string JDETECTOR::DetID_t = "DetID"
 
static const std::string JDETECTOR::PMTSerial_t = "Serial"
 
static const std::string JDETECTOR::DOMSerial_t = "DOMSerial"
 
static const std::string JDETECTOR::DOMId_t = "DOMId"
 
static const std::string JDETECTOR::Id_t = "Id"
 
static const std::string JDETECTOR::T0_t = "T0"
 
static const std::string JDETECTOR::PX_t = "PX"
 
static const std::string JDETECTOR::PY_t = "PY"
 
static const std::string JDETECTOR::PZ_t = "PZ"
 
static const std::string JDETECTOR::Q0_t = "Q0"
 
static const std::string JDETECTOR::QX_t = "QX"
 
static const std::string JDETECTOR::QY_t = "QY"
 
static const std::string JDETECTOR::QZ_t = "QZ"
 
static const std::string JDETECTOR::STATUS_t = "Status"
 
static const std::string JDETECTOR::Unitless_t = "-"
 
static const std::string JDETECTOR::Volt_t = "V"