38     JToAshort_t( 
const JToAshort& data, 
const int counter) :
 
   51     friend inline std::ostream& 
operator<<(std::ostream& out, 
const JToAshort_t& 
object)
 
   56       out << setw(6)     << 
object.RUN           << 
' ' 
   57           << setw(8)     << 
object.counter       << 
' '  
   58           << 
FIXED(20,5) << 
object.UNIXTIMEBASE  << 
' ' 
   59           << setw(10)    << 
object.DOMID         << 
' ' 
   60           << 
FIXED(9,6)  << 
object.TOA_S         << 
' '  
   61           << 
FIXED(5,0)  << 
object.QUALITYFACTOR;
 
   77 int main(
int argc, 
char **argv)
 
   90     JParser<> zap(
"Example program to test acoustic data.");
 
  100   catch(
const exception &error) {
 
  101     FATAL(error.what() << endl);
 
  109   for (
int counter = 0; inputFile.hasNext(); ++counter) {
 
  111     STATUS(
"counter: " << setw(8) << counter << 
'\r' << flush); 
DEBUG(endl);
 
  115     data[parameters->
EMITTERID][parameters->
DOMID].push_back(JToAshort_t(*parameters, counter));
 
  124       const buffer_type& buffer = module->second;
 
  126       for (buffer_type::const_iterator p = buffer.begin(); p != buffer.end(); ++p) {
 
  127         for (buffer_type::const_iterator q = buffer.begin(); q != p; ++q) {
 
  129           if (labs(p->DOMID  - q->DOMID)                   == 0          &&
 
  130               fabs(p->QUALITYFACTOR   - q->QUALITYFACTOR)  <= precision  &&
 
  131               fabs((p->UNIXTIMEBASE + p->TOA_S) - 
 
  132                    (q->UNIXTIMEBASE + q->TOA_S))           <= precision) {
 
  134             if (!allowed || (p->TOA_S < 
TOAMAX_S &&
 
  140               cout << 
"Difference between absolute times "  
  141                    << 
SCIENTIFIC(12,3) << ((p->UNIXTIMEBASE + p->TOA_S) - 
 
  142                                            (q->UNIXTIMEBASE + q->TOA_S)) << endl;
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
*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
 
static counter_type max()
Get maximum counter value. 
 
Auxiliary data structure for floating point format specification. 
 
Auxiliary class for defining the range of iterations of objects. 
 
static const double TOAMAX_S
Maximal allowed time-of-arrival [s]. 
 
I/O formatting auxiliaries. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
ROOT TTree parameter settings. 
 
General purpose messaging. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
const JLimit & getLimit() const 
Get limit. 
 
Auxiliary data structure for floating point format specification. 
 
int EMITTERID
waveform identifier