31 int main(
int argc, 
char **argv)
 
   35   using namespace KM3NETDAQ;
 
   43     JParser<> zap(
"Monitoring of PMT time over threshold distributions.");
 
   50   catch(
const exception &error) {
 
   51     FATAL(error.what() << endl);
 
   56   using namespace KM3NETDAQ;
 
   58   const double factor = 1.0/1000 ;
 
   59   const int Nbins = 90 ; 
 
   63   while (inputFile.hasNext()) {
 
   65     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
   69     for (KM3NETDAQ::JDAQSummaryslice::const_iterator summary_frame = summary->begin(); summary_frame != summary->end(); ++summary_frame) {
 
   71       int DOMID = summary_frame->getModuleID() ;
 
   72       TH2D* h_i = SinglesRatedistr[DOMID] ;
 
   75         h_i->Fill(ipmt, summary_frame->getRate(ipmt, factor), summary_frame->getWeight(ipmt, factor));
 
   85   SinglesRatedistr.
Write(out) ;
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
Dynamic ROOT object management. 
 
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
void Write(TDirectory &out, const bool wm=false)
Write objects to file. 
 
General purpose messaging. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
Direct access to module in detector data structure. 
 
Auxiliary class to define a range between two values. 
 
Utility class to parse command line options. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
KM3NeT DAQ constants, bit handling, etc. 
 
static const int NUMBER_OF_PMTS
Total number of PMTs in module.