35 int main(
int argc, 
char **argv)
 
   46     JParser<> zap(
"Example application to print acoustics event.");
 
   48     zap[
'f'] = 
make_field(inputFile,       
"output of JAcousticEventBuilder[.sh]");
 
   49     zap[
'n'] = 
make_field(numberOfEvents)                                    = JLimit::max();
 
   54   catch(
const exception &error) {
 
   55     FATAL(error.what() << endl);
 
   61   while (inputFile.hasNext()) {
 
   63     STATUS(
"event: " << setw(8) << inputFile.getCounter() << 
'\r' << flush); 
DEBUG(endl);
 
   65     const JEvent* evt = inputFile.next();
 
   69     for (JEvent::const_iterator hit = evt->begin(); hit != evt->end(); ++hit) {
 
   70       buffer[hit->getID()].push_back(*hit);
 
   73     size_t duplicates = 0;
 
   79       if (ps->second.size() >= 2
u) {
 
   89             cout << setw (8)    << 
i->getRunNumber() << 
' ' 
   90                  << setw (2)    << evt->
getID()      << 
' ' 
   91                  << setw (10)   << 
i->getID()        << 
' ' 
   92                  << 
FIXED(10,0) << 
i->getQ()         << 
' ' 
   93                  << 
FIXED(15,6) << 
i->getToA()       << 
' ';
 
   99                 if (
i->getQ() == 
j->getQ()) {
 
  105             cout << (n == 0 ? 
"" : 
"*") << endl;
 
  115   for (
const auto& 
Q : { Q0, Q1 }) {
 
  116     if (
Q.getCount() > 0) {
 
Utility class to parse command line options. 
 
Q(UTCMax_s-UTCMin_s)-livetime_s
 
int main(int argc, char *argv[])
 
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member. 
 
ROOT TTree parameter settings. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
Auxiliary data structure for floating point format specification. 
 
Auxiliary class for defining the range of iterations of objects. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
double getQ(const double D_m, const double f_kHz, const double d_m)
Get relative quality for given frequency at given distance. 
 
General purpose messaging. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
Auxiliary data structure for average. 
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
void put(const double x)
Put value. 
 
const JLimit & getLimit() const 
Get limit. 
 
int getID() const 
Get emitter identifier. 
 
#define DEBUG(A)
Message macros.