27 int main(
int argc, 
char **argv)
 
   34   JLimit_t&       numberOfEvents = inputFile.getLimit();
 
   41     JParser<> zap(
"Example program to histogram event data.");
 
   45     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   51   catch(
const exception& error) {
 
   52     FATAL(error.what() << endl);
 
   59   TH1D h0(
"h0", NULL, numeric_limits<JDAQHit::JPMT_t>::max(), -0.5, numeric_limits<JDAQHit::JPMT_t>::max() - 0.5);
 
   60   TH1D h1(
"h1", NULL, numeric_limits<JDAQHit::JTOT_t>::max(), -0.5, numeric_limits<JDAQHit::JTOT_t>::max() - 0.5);
 
   63   TH1D hn(
"hn", NULL, 1001, -0.5, 1000.5);
 
   64   TH1D hs(
"hs", NULL, 1001, -0.5, 1000.5);
 
   65   TH1D ho(
"ho", NULL,  101, -0.5, 100.5);
 
   67   TH1D ha(
"ha", NULL,  101, -0.5, 100.5);
 
   68   TH1D hb(
"hb", NULL,  101, -0.5, 100.5);
 
   77     if (event->hasTriggerMask(trigger_mask)) {
 
   83           h0.Fill(hit->getPMT());
 
   84           h1.Fill(hit->getToT());
 
   91       ho.Fill((
double) event->getOverlays());
 
   97           if (hit->hasTriggerMask(trigger_mask)) {
 
   98             buffer.insert(hit->getModuleID());
 
  102         ha.Fill((
double) buffer.size());
 
  109           buffer.insert(hit->getModuleID());
 
  112         hb.Fill((
double) buffer.size());
 
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
 
ROOT TTree parameter settings of various packages.
 
Utility class to parse command line options.
 
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.
 
Auxiliary class for trigger mask.
 
int main(int argc, char **argv)
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
KM3NeT DAQ data structures and auxiliaries.
 
static const JDAQTriggerMask TRIGGER_MASK_ON
Trigger mask on;.
 
double getFrameTime()
Get frame time duration.
 
Auxiliary class to set-up Hit.
 
Auxiliary class for defining the range of iterations of objects.