11 #include <type_traits> 
   62 int main(
int argc, 
char **argv)
 
   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]");
 
   87     zap[
'n'] = 
make_field(numberOfEvents)                                    = JLimit::max();
 
   95     zap[
'N'] = 
make_field(threads,         
"number of threads")              = 1;
 
  100   catch(
const exception &error) {
 
  101     FATAL(error.what() << endl);
 
  104   ROOT::EnableThreadSafety();
 
  117   for (tripods_container::const_iterator i = tripods.begin(); i != tripods.end(); ++i) {
 
  119       emitters[i->getID()]  = 
JEmitter(i->getID(),
 
  120                                        i->getUTMPosition() - 
detector.getUTMPosition());
 
  124   for (transmitters_container::const_iterator i = transmitters.begin(); i != transmitters.end(); ++i) {
 
  126       emitters[i->getID()]  = 
JEmitter(i->getID(),
 
  127                                        i->getPosition()    + 
detector.getModule(i->getLocation()).getPosition());
 
  129     catch(
const exception&) {}                                        
 
  140     JPlatypus platypus(geometry, emitters, V, parameters, inputFile, threads);
 
  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.
 
Utility class to parse command line options.
 
Object reading from a list of files.
 
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.
 
Auxiliary wrapper for I/O of container with optional comment (see JComment).
 
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.
 
Auxiliary data structure for floating point format specification.