41{
   45 
   47  JLimit_t&          numberOfEvents = inputFile.getLimit();
 
   49  string             detectorFile;
   52 
   53  try { 
   54 
   55    JParser<> zap(
"Example program to histogram string and floor hits.");
 
   56    
   63    
   64    zap(argc, argv);
   65  }
   66  catch(const exception& error) {
   67    FATAL(error.what() << endl);
 
   68  }
   69 
   70 
   72 
   73  try {
   75  }
   78  }
   79 
   81 
   84 
   85 
   87                                  string.size(), -0.5, string.size() - 0.5,
   89  
   90  for (Int_t i = 1; i <= H2->GetXaxis()->GetNbins(); ++i) {
   91    H2->GetXaxis()->SetBinLabel(i, 
MAKE_CSTRING(
string.at(i-1)));
 
   92  }
   93  for (Int_t i = 1; i <= H2->GetYaxis()->GetNbins(); ++i) {
   95  }
   96 
   97 
   99 
  100  for (
counter_type counter = 0; in.hasNext() && counter != inputFile.getLimit(); ++counter) {
 
  101 
  102    STATUS(
"event: " << setw(10) << counter << 
'\r'); 
DEBUG(endl);
 
  103 
  105 
  106    for (JDAQTimeslice::const_iterator frame = timeslice->begin(); frame != timeslice->end(); ++frame) {
  107 
  108      const JModule module = router.getModule(frame->getModuleID());
 
  109 
  111 
  114      }
  115    }
  116  }
  118 
  120 
  121  out << H2;
  122 
  123  out.Write();
  124  out.Close();
  125}
#define DEBUG(A)
Message macros.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
#define MAKE_CSTRING(A)
Make C-string.
 
int getFloor() const
Get floor number.
 
int getString() const
Get string number.
 
Router for direct addressing of module data in detector data structure.
 
Data structure for a composite optical module.
 
Auxiliary class for multiplexing object iterators.
 
Utility class to parse command line options.
 
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys.
 
General purpose class for object reading from a list of file names.
 
floor_range getRangeOfFloors(const JDetector &detector)
Get range of floors.
 
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
 
int getIndex()
Get index for user I/O manipulation.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
std::set< JROOTClassSelector > getROOTClassSelection(const bool option=false)
Get ROOT class selection.
 
Long64_t counter_type
Type definition for counter.
 
static const JChecksum checksum
Function object to perform check-sum of raw data.
 
KM3NeT DAQ data structures and auxiliaries.
 
Router for mapping of string identifier to index.
 
Auxiliary class to select ROOT class based on class name.
 
Auxiliary class for defining the range of iterations of objects.
 
static counter_type max()
Get maximum counter value.
 
Auxiliary data structure for result of checksum.
 
result_type::const_iterator const_iterator