31 int main(
int argc,
char **argv)
43 JParser<> zap(
"Monitoring of PMT time over threshold distributions.");
50 catch(
const exception &error) {
51 FATAL(error.what() << endl);
57 const double factor = 1.0/1000 ;
58 const int Nbins = 90 ;
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) ;
KM3NeT DAQ constants, bit handling, etc.
Dynamic ROOT object management.
General purpose messaging.
#define DEBUG(A)
Message macros.
Direct access to module in detector data structure.
int main(int argc, char **argv)
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
Auxiliary class to define a range between two values.
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys.
void Write(TDirectory &out, const bool wm=false)
Write objects to file.
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.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.