25int main(
int argc,
char **argv)
31 JLimit_t& numberOfEvents = calibrationFile.getLimit();
40 JParser<> zap(
"Example program to apply dynamic position and orientation calibration.");
42 zap[
'f'] =
make_field(calibrationFile,
"output of JBallarat[.sh] / JKatoomba[.sh]");
53 catch(
const exception &error) {
54 FATAL(error.what() << endl);
71 STATUS(
"loading calibration from file(s)" << endl);
77 dynamics.
load(calibrationFile);
Data structure for detector geometry and calibration.
int main(int argc, char **argv)
Dynamic detector calibration.
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
static JDetectorMechanics getMechanics
Function object to get string mechanics.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
void store(const std::string &file_name, const JDetector &detector)
Store detector to output file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
double getCoverage(const JDetector &detector, const double t1_s) const
Get coverage.
double getCoverage(const JDetector &detector, const double t1_s) const
Get coverage.
Dynamic detector calibration.
JPosition position
position calibration
JOrientation orientation
orientation calibration
bool update(const double t1_s)
Get detector calibrated at given time.
void load(JObjectIterator_t &input)
Load calibration data.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.