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);
55 using namespace KM3NETDAQ;
57 const double factor = 1.0/1000 ;
58 const int Nbins = 90 ;
62 while (inputFile.hasNext()) {
64 STATUS(
"event: " << setw(10) << inputFile.getCounter() <<
'\r');
DEBUG(endl);
68 for (KM3NETDAQ::JDAQSummaryslice::const_iterator summary_frame = summary->begin(); summary_frame != summary->end(); ++summary_frame) {
70 int DOMID = summary_frame->getModuleID() ;
71 TH2D* h_i = SinglesRatedistr[DOMID] ;
74 h_i->Fill(ipmt, summary_frame->getRate(ipmt, factor), summary_frame->getWeight(ipmt, factor));
84 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.
KM3NeT DAQ constants, bit handling, etc.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
#define DEBUG(A)
Message macros.