27 int main(
int argc, 
char **argv)
 
   34   JLimit_t&      numberOfEvents = inputFile.getLimit();
 
   40     JParser<> zap(
"Example program to histogram summary data.");
 
   44     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   49   catch(
const exception& error) {
 
   50     FATAL(error.what() << endl);
 
   54   const double factor = 1.0e-3;   
 
   60   TH1D h0(
"h0", NULL, JDAQRate::getN(), JDAQRate::getData(factor));
 
   61   TH1D h1(
"h1", NULL,  32,-0.5, 32.5);
 
   73           << setw(6) << summaryslice->size()          << endl);
 
   75     for (JDAQSummaryslice::const_iterator frame = summaryslice->begin(); frame != summaryslice->end(); ++frame) {
 
   78         h0.Fill(frame->getRate(pmt, factor), frame->getWeight(pmt, factor));
 
   79         h1.Fill((Double_t) pmt, frame->testHighRateVeto(pmt));
 
   82       if (frame->testWhiteRabbitStatus()) {
 
   83         h1.Fill((Double_t) 32);