1 #ifndef __JDB_JAHRSCALIBRATIONTOOLKIT__
2 #define __JDB_JAHRSCALIBRATIONTOOLKIT__
13 namespace JDATABASE {}
14 namespace JPP {
using namespace JDATABASE; }
102 size_t pos = version.find_last_of(
"vV");
104 if (pos != string::npos)
105 return to_value<int>(version.substr(pos+1));
195 const std::string& second)
const
200 if (!first.empty() && !second.empty()) {
202 if (first[0] == second[0])
203 return to_value<int>(first.substr(1)) > to_value<int>(second.substr(1));
205 return first[0] > second[0];
209 return first > second;
bool operator()(const JAHRSCalibration &first, const JAHRSCalibration &second) const
Comparison of AHRS calibrations.
bool operator()(const JAHRSCalibration &calibration) const
Check validity of AHRS calibration data.
int getVersion(const std::string &version)
Get numerical value of AHRS calibration version.
Auxiliary data structure for floating point format specification.
Auxiliary data structure for sorting of AHRS calibrations.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
std::istream & operator>>(std::istream &in, JAANET::JHead &header)
Read header from input.
bool operator()(const std::string &first, const std::string &second) const
Comparison of operation identifiers.
Auxiliary class to define a range between two values.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Auxiliary data structure to check validity of AHRS calibration data.
JTOOLS::JRange< double > range_type
JAHRSCalibrationValidity()
Default constructor.