Go to the documentation of this file.    1 #ifndef __JDETECTOR__JDETECTORCALIBRATION__ 
    2 #define __JDETECTOR__JDETECTORCALIBRATION__ 
   36   static const std::string  
Data_t          =  
"Data";
 
   44   static const std::string  
DOMId_t         =  
"DOMId";
 
   45   static const std::string  
T0_t            =  
"T0";
 
   46   static const std::string  
PX_t            =  
"PX";
 
   47   static const std::string  
PY_t            =  
"PY";
 
   48   static const std::string  
PZ_t            =  
"PZ";
 
   49   static const std::string  
Q0_t            =  
"Q0";
 
   50   static const std::string  
QX_t            =  
"QX";
 
   51   static const std::string  
QY_t            =  
"QY";
 
   52   static const std::string  
QZ_t            =  
"QZ";
 
   54   static const std::string  
OK_t            =  
"OK";
 
  106                { 
T0_t,        
object.getT0() } };
 
  120     object.setT0(js.at(
T0_t).get<
double>());
 
  159     js = json{ { 
DOMId_t, 
object.getID() },
 
  160                { 
PX_t,    
object.getX()  },
 
  161                { 
PY_t,    
object.getY()  },
 
  162                { 
PZ_t,    
object.getZ()  } };
 
  177                                    js.at(
PY_t).get<
double>(),
 
  178                                    js.at(
PZ_t).get<
double>()));
 
  217     js = json{ { 
DOMId_t, 
object.getID() },
 
  218                { 
Q0_t,    
object.getA()  },
 
  219                { 
QX_t,    
object.getB()  },
 
  220                { 
QY_t,    
object.getC()  },
 
  221                { 
QZ_t,    
object.getD()  } };
 
  236                                        js.at(
QX_t).get<
double>(),
 
  237                                        js.at(
QY_t).get<
double>(),
 
  238                                        js.at(
QZ_t).get<
double>()));
 
 
std::vector< JModulePosition_t > JModulePosition
Module position.
 
JModuleRotation_t()
Default constructor.
 
static const std::string QZ_t
 
Auxiliary data structure for module position.
 
bool is_valid(const json &js)
Check validity of JSon data.
 
Data structure for PMT calibration.
 
JModulePosition_t(const JObjectID &id, const JPosition3D &position)
Constructor.
 
static const std::string PZ_t
 
static const std::string Q0_t
 
static const std::string T0_t
 
JModuleRotation_t(const JObjectID &id, const JQuaternion3D &rotation)
Constructor.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
JPMTCalibration_t()
Default constructor.
 
void to_json(json &js, const JModuleRotation_t &object)
Convert module rotation to JSon.
 
static const std::string PMTT0s_t
 
Data structure for position in three dimensions.
 
void from_json(const json &js, JModuleRotation_t &object)
Convert JSon to module rotation.
 
static const std::string PY_t
 
std::vector< JPMTCalibration_t > JPMTCalibration
PMT calibration.
 
static const std::string Data_t
 
static const std::string QY_t
 
Data structure for quaternion in three dimensions.
 
static const std::string QX_t
 
static const std::string PX_t
 
Auxiliary class for object identification.
 
std::vector< JModuleRotation_t > JModuleRotation
Module rotation.
 
static const std::string Comment_t
 
static const std::string DOMRotations_t
 
static const std::string DOMPositions_t
 
Auxiliary data structure for PMT calibration.
 
static const std::string OK_t
 
JModulePosition_t()
Default constructor.
 
static const std::string PMTSerial_t
 
static const std::string Result_t
Detector calibration key words for JSON I/O.
 
Auxiliary data structure for module rotation.
 
static const std::string DOMId_t
 
static const std::string DOMSerial_t
 
JPMTCalibration_t(const JObjectID &id, const JCalibration &calibration)
Constructor.
 
Auxiliary classes and methods for detector calibration.