73 JLimit_t& numberOfEvents = inputFile.getLimit();
84 JParser<> zap(
"Application to fit position calibration model to acoustic data.");
86 zap[
'f'] =
make_field(inputFile,
"output of JAcousticEventBuilder[.sh]");
100 catch(
const exception &error) {
104 ROOT::EnableThreadSafety();
117 for (tripods_container::const_iterator i = tripods.begin(); i != tripods.end(); ++i) {
120 i->getUTMPosition() -
detector.getUTMPosition());
124 for (transmitters_container::const_iterator i = transmitters.begin(); i != transmitters.end(); ++i) {
127 i->getPosition() +
detector.getModule(i->getLocation()).getPosition());
129 catch(
const exception&) {}
142 catch(
const exception& error) {
143 FATAL(
"main " << error.what());
ROOT TTree parameter settings.
Data structure for detector geometry and calibration.
General purpose class for hash map of unique elements.
Data structure for hydrophone.
Fit functions of acoustic model.
General purpose messaging.
Data structure for optical module.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Auxiliary class to define a range between two values.
Scanning of objects from a single file according a format that follows from the extension of each fil...
Data structure for transmitter.
Data structure for tripod.
Thread pool for global fits using super events.
static JMATH::JQuantile_t Q
chi2/NDF
Template definition of a multi-dimensional oscillation probability interpolation table.
JContainer< std::vector< JTripod > > tripods_container
JContainer< std::vector< JTransmitter > > transmitters_container
JContainer< std::vector< JHydrophone > > hydrophones_container
static const JSoundVelocity getSoundVelocity(1541.0, -17.0e-3, -2000.0)
Function object for velocity of sound.
static JDetectorMechanics getMechanics
Function object to get string mechanics.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template definition of fit function of acoustic model.
Implementation for depth dependend velocity of sound.
JSoundVelocity & set(const double z0)
Set depth.
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.
Auxiliary data structure for floating point format specification.