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));
187 public std::binary_function<const JAHRSCalibration&, const JAHRSCalibration&, bool>
197 const std::string& second)
const
202 if (!first.empty() && !second.empty()) {
204 if (first[0] == second[0])
205 return to_value<int>(first.substr(1)) < to_value<int>(second.substr(1));
207 return first[0] < second[0];
211 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.
Auxiliary data structure to check validity of AHRS calibration data.
JTOOLS::JRange< double > range_type
JAHRSCalibrationValidity()
Default constructor.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in