31 int main(
int argc,
char **argv)
46 JParser<> zap(
"Example program to apply dynamic position and orientation calibration.");
48 zap[
'f'] =
make_field(inputFile,
"output of JBallarat / JKatoomba");
49 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
58 catch(
const exception &error) {
59 FATAL(error.what() << endl);
76 STATUS(
"loading input from file(s)" << endl);
82 dynamics.
load(inputFile);
Utility class to parse command line options.
ROOT TTree parameter settings.
Auxiliary data structure for floating point format specification.
Data structure for detector geometry and calibration.
ROOT TTree parameter settings.
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...
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.
Compass event data types.
do set_variable DETECTOR_TXT $WORKDIR detector
double getCoverage(const JDetector &detector, const double t1_s) const
Get coverage.
int main(int argc, char *argv[])