41 JLimit_t& numberOfEvents = inputFile.getLimit();
46 JParser<> zap(
"Example application to print acoustics event.");
48 zap[
'f'] =
make_field(inputFile,
"output of JAcousticEventBuilder[.sh]");
54 catch(
const exception &error) {
61 while (inputFile.hasNext()) {
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);
79 if (ps->second.size() >= 2u) {
89 cout <<
setw (8) << i->getRunNumber() <<
' '
91 <<
setw (10) << i->getID() <<
' '
92 <<
FIXED(10,0) << i->getQ() <<
' '
93 <<
FIXED(15,6) << i->getToA() <<
' ';
99 if (i->getQ() ==
j->getQ()) {
115 for (
const auto& Q : { Q0, Q1 }) {
116 if (Q.getCount() > 0) {
ROOT TTree parameter settings.
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
#define DEBUG(A)
Message macros.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Template definition of a multi-dimensional oscillation probability interpolation table.
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
int getID() const
Get emitter identifier.
double getQ() const
Get quality.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.