30int main(
int argc,
char **argv)
36 JLimit_t& numberOfEvents = inputFile.getLimit();
43 JParser<> zap(
"Example program to monitor acoustic events.");
45 zap[
'f'] =
make_field(inputFile,
"output of JAcousticTriggerProcessor[.sh]");
53 catch(
const exception &error) {
54 FATAL(error.what() << endl);
75 const double t1 =
event->begin()->getToE();
79 for (JEvent::const_iterator i = event->begin(); i != event->end(); ++i) {
81 Q2.
put(log10(i->getQ()));
84 AddPoint(GA[event->getID()], t1, event->size());
85 AddPoint(GD[event->getID()], t1, Q1.getSTDev());
88 AddPoint(GN[event->getID()], t1, event->getOverlays());
94 out << GA << GD << GQ <<
G1 << GN;
int main(int argc, char **argv)
ROOT TTree parameter settings.
Dynamic ROOT object management.
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
I/O formatting auxiliaries.
Double_t G1(const Double_t x)
Integral of method g1.
Utility class to parse command line options.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys.
void Write(TDirectory &out, const bool wm=false)
Write objects to file.
General purpose class for object reading from a list of file names.
virtual bool hasNext() override
Check availability of next element.
counter_type getCounter() const
Get counter.
virtual const pointer_type & next() override
Get next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
void AddPoint(TGraph *g1, const Double_t x, const Double_t y)
Add point to TGraph.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.