Jpp  18.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
JSon/JSupport.hh File Reference

JSon definitions and auxiliaries. More...

#include <string>
#include <vector>
#include <algorithm>
#include "JLang/JPredicate.hh"
#include "JLang/JException.hh"
#include "JSon/JSon.hh"

Go to the source code of this file.

Classes

struct  JSON::JCalibrationType
 Auxiliary data structure for pairwise nick and full name of calibration type. More...
 
struct  JSON::getCalibrationType
 Auxiliary data structure for correspondence between nick and full name of calibration types. More...
 

Namespaces

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

Functions

bool JSON::is_valid (const json &js)
 Check validity of JSon data. More...
 

Variables

static const std::string JSON::TCAL = "tcal"
 PMT time offsets. More...
 
static const std::string JSON::PCAL = "pcal"
 (optical|base) module positions More...
 
static const std::string JSON::RCAL = "rcal"
 optical module orientations More...
 
static const std::string JSON::ACAL = "acal"
 acoustic time offsets (piezo sensor or hydrophone) More...
 
static const std::string JSON::CCAL = "ccal"
 compass alignment (a.k.a. quaternion calibration) More...
 
static const std::string JSON::SCAL = "scal"
 (module|PMT) status More...
 
static const std::string JSON::PMT_T0_CALIBRATION_t = "PMT_T0_CALIBRATION"
 PMT time offsets. More...
 
static const std::string JSON::DOM_POSITION_CALIBRATION_t = "DOM_POSITION_CALIBRATION"
 (optical|base) module positions More...
 
static const std::string JSON::DOM_ROTATION_CALIBRATION_t = "DOM_ROTATION_CALIBRATION"
 optical module orientations More...
 
static const std::string JSON::ACOUSTIC_T0_CALIBRATION_t = "ACOUSTIC_T0_CALIBRATION"
 acoustic time offsets (piezo sensor or hydrophone) More...
 
static const std::string JSON::COMPASS_CALIBRATION_t = "COMPASS_CALIBRATION"
 compass alignment (a.k.a. quaternion calibration) More...
 
static const std::string JSON::STATUS_CALIBRATION_t = "STATUS_CALIBRATION"
 (module|PMT) status More...
 
JSON::getCalibrationType JSON::getCalibrationType
 
static const std::string JSON::User_t = "User"
 
static const std::string JSON::UserId_t = "UserId"
 
static const std::string JSON::TypeId_t = "TypeId"
 
static const std::string JSON::Location_t = "Location"
 
static const std::string JSON::LocationId_t = "LocId"
 
static const std::string JSON::Time_t = "Time"
 
static const std::string JSON::Start_t = "Start"
 
static const std::string JSON::End_t = "End"
 
static const std::string JSON::Comment_t = "Comment"
 
static const std::string JSON::Encoding_t = "Encoding"
 
static const std::string JSON::Input_t = "Inputs"
 
static const std::string JSON::Error_t = "Error"
 
static const std::string JSON::Message_t = "Message"
 
static const std::string JSON::Code_t = "Code"
 
static const std::string JSON::Provenance_t = "Provenance"
 
static const std::string JSON::Info_t = "Info"
 
static const std::string JSON::Configuration_t = "Configuration"
 
static const std::string JSON::Arguments_t = "Arguments"
 
static const std::string JSON::Inputs_t = "Inputs"
 
static const std::string JSON::UUID_t = "UUID"
 
static const std::string JSON::APIVersion_t = "APIVersion"
 
static const std::string JSON::Result_t = "Result"
 
static const std::string JSON::Status_t = "StatusId"
 
static const std::string JSON::Decision_t = "DecisionId"
 
static const std::string JSON::OK_t = "OK"
 
static const std::string JSON::Fail_t = "FAIL"
 
static const std::string JSON::ValidFrom_t = "ValidFrom"
 
static const std::string JSON::ValidThrough_t = "ValidThrough"
 
static const std::string JSON::StartTime_t = "StartTime"
 
static const std::string JSON::EndTime_t = "EndTime"
 
static const std::string JSON::Tags_t = "Tags"
 
static const std::string JSON::Type_t = "Type"
 
static const std::string JSON::Test_t = "Test"
 
static const std::string JSON::Tests_t = "Tests"
 
static const std::string JSON::Data_t = "Data"
 
static const std::string JSON::URL_t = "URL"
 
static const std::string JSON::Name_t = "Name"
 
static const std::string JSON::Unit_t = "Unit"
 
static const std::string JSON::Values_t = "Values"
 
static const std::string JSON::Parameters_t = "Parameters"
 
static const std::string JSON::RunNumber_t = "RUN_NUMBER"
 
static const std::string JSON::PMTT0s_t = "PMTT0s"
 
static const std::string JSON::DOMPositions_t = "DOMPositions"
 
static const std::string JSON::DOMRotations_t = "DOMRotations"
 
static const std::string JSON::DOMAcousticT0_t = "DOMAcousticT0s"
 
static const std::string JSON::DOMCompassRotations_t = "DOMCompassRotations"
 
static const std::string JSON::DOMStatusInfo_t = "DOMStatusInfo"
 
static const std::string JSON::BasePositions_t = "BasePositions"
 
static const std::string JSON::BaseAcousticT0_t = "BaseAcousticT0s"
 
static const std::string JSON::BaseCompassRotations_t = "BaseCompassRotations"
 
static const std::string JSON::BaseStatusInfo_t = "BaseStatusInfo"
 
static const std::string JSON::DOMMap_t = "DOMMap"
 
static const std::string JSON::PMTThreshold_t = "PMT_Threshold"
 
static const std::string JSON::PMTStatusInfo_t = "PMTStatusInfo"
 
static const std::string JSON::PMTSupplyVoltage_t = "PMT_Supply_Voltage"
 
static const std::string JSON::PMTGain_t = "PMT_Gain"
 
static const std::string JSON::UPI_t = "UPI"
 
static const std::string JSON::PBS_t = "PBS"
 
static const std::string JSON::Variant_t = "Variant"
 
static const std::string JSON::DetOID_t = "DetOID"
 
static const std::string JSON::DetID_t = "DetID"
 
static const std::string JSON::Serial_t = "Serial"
 
static const std::string JSON::DOMId_t = "DOMId"
 
static const std::string JSON::Id_t = "Id"
 
static const std::string JSON::T0_t = "T0"
 
static const std::string JSON::PX_t = "PX"
 
static const std::string JSON::PY_t = "PY"
 
static const std::string JSON::PZ_t = "PZ"
 
static const std::string JSON::Q0_t = "Q0"
 
static const std::string JSON::QX_t = "QX"
 
static const std::string JSON::QY_t = "QY"
 
static const std::string JSON::QZ_t = "QZ"
 
static const std::string JSON::STATUS_t = "Status"
 
static const std::string JSON::Unitless_t = "-"
 
static const std::string JSON::Volt_t = "V"
 

Detailed Description

JSon definitions and auxiliaries.

Author
mdejong, bjung, acreusot

Definition in file JSon/JSupport.hh.