25 int main(
int argc,
char **argv)
40 JParser<> zap(
"Example program to apply dynamic position and orientation calibration.");
42 zap[
'f'] =
make_field(calibrationFile,
"output of JBallarat / JKatoomba");
43 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
53 catch(
const exception &error) {
54 FATAL(error.what() << endl);
71 STATUS(
"loading calibration from file(s)" << endl);
77 dynamics.
load(calibrationFile);
Utility class to parse command line options.
int main(int argc, char *argv[])
static JDetectorMechanics getMechanics
Function object to get string mechanics.
JPosition position
position calibration
JOrientation orientation
orientation calibration
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary data structure for floating point format specification.
Data structure for detector geometry and calibration.
void load(JObjectIterator_t &input)
Load calibration data.
Auxiliary class for defining the range of iterations of objects.
I/O formatting auxiliaries.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
void store(const std::string &file_name, const JDetector &detector)
Store detector to output file.
Dynamic detector calibration.
double getCoverage(const JDetector &detector, const double t1_s) const
Get coverage.
General purpose messaging.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
bool update(const double t1_s)
Get detector calibrated at given time.
Dynamic detector calibration.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
General purpose class for object reading from a list of file names.
Utility class to parse command line options.
const JLimit & getLimit() const
Get limit.
double getCoverage(const JDetector &detector, const double t1_s) const
Get coverage.
then usage $script< detector file >< tripodfile >< stage > input file nInput files correspond to the output of JAcousticsEventBuilder[.sh] nFirst stage eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY eval JPrintDetector a $DETECTOR O CAN source JAcoustics sh $DETECTOR_ID typeset A CONFIGURATION for key in Tmax_s