11 #include <type_traits> 
   62 int main(
int argc, 
char **argv)
 
   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(jobs,            
"number of parallel jobs")        = 1;
 
  100   catch(
const exception &error) {
 
  101     FATAL(error.what() << endl);
 
  104   ROOT::EnableThreadSafety();
 
  106   const int sleep_us = 100;                                           
 
  119   for (tripods_container::const_iterator 
i = 
tripods.begin(); 
i != 
tripods.end(); ++
i) {
 
  122                                        i->getUTMPosition() - 
detector.getUTMPosition());
 
  126   for (transmitters_container::const_iterator 
i = transmitters.begin(); 
i != transmitters.end(); ++
i) {
 
  131     catch(
const exception&) {}                                        
 
  145     while (inputFile.hasNext()) {
 
  147       STATUS(
"event: " << setw(8) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
  151       while (platypus.
backlog() > jobs) {
 
  152         this_thread::sleep_for(chrono::microseconds(sleep_us));
 
  159   catch(
const exception& error) {
 
  160     FATAL(
"main " << error.what());
 
Utility class to parse command line options. 
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
int main(int argc, char *argv[])
 
JContainer< std::vector< JTransmitter > > transmitters_container
 
static JDetectorMechanics getMechanics
Function object to get string mechanics. 
 
General purpose class for hash map of unique elements. 
 
ROOT TTree parameter settings. 
 
size_t backlog()
Get number of pending data. 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
 
V(JDAQEvent-JTriggerReprocessor)*1.0/(JDAQEvent+1.0e-10)
 
Data structure for detector geometry and calibration. 
 
Data structure for hydrophone. 
 
Scanning of objects from a single file according a format that follows from the extension of each fil...
 
Auxiliary class for defining the range of iterations of objects. 
 
static const JSoundVelocity getSoundVelocity(1541.0,-17.0e-3,-2000.0)
Function object for velocity of sound. 
 
JContainer< std::vector< JHydrophone > > hydrophones_container
 
Data structure for transmitter. 
 
Auxiliary wrapper for I/O of container with optional comment (see JComment). 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
JPosition3D getPosition(const Vec &pos)
Get position. 
 
JContainer< std::vector< JTripod > > tripods_container
 
General purpose messaging. 
 
Implementation for depth dependend velocity of sound. 
 
Acoustic super event fit. 
 
Thread pool for global fits. 
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file. 
 
Auxiliary class to define a range between two values. 
 
Utility class to parse command line options. 
 
Fit functions of acoustic model. 
 
Object reading from a list of files. 
 
const JLimit & getLimit() const 
Get limit. 
 
do set_variable DETECTOR_TXT $WORKDIR detector
 
Data structure for tripod. 
 
Auxiliary data structure for floating point format specification. 
 
void enqueue(const JSuperEvt &evt)
Queue super event. 
 
Template definition of fit function of acoustic model. 
 
#define DEBUG(A)
Message macros. 
 
Data structure for optical module.