32int main(
int argc,
char **argv)
39 JLimit_t& numberOfEvents = inputFile.getLimit();
48 JParser<> zap(
"Example program to monitor event duration.");
54 zap[
'T'] =
make_field(T_ns,
"Time limit for event duration [ns]") = 10.0e3;
60 catch(
const exception& error) {
61 FATAL(error.what() << endl);
76 TH1D h1(
"h1", NULL, 100, 0.0, 10.0e3);
107 NOTICE(
"Number of event with duration beyond " <<
FIXED(9,0) << T_ns <<
" [ns] " << N << endl);
Direct access to PMT data in detector data structure for DAQ hits.
Data structure for detector geometry and calibration.
int main(int argc, char **argv)
General purpose messaging.
#define DEBUG(A)
Message macros.
#define QAQC(A)
QA/QC output macro.
int qaqc
QA/QC file descriptor.
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.
Simple wrapper around JModuleRouter class for direct addressing of PMT data in detector data structur...
const JPMT & getPMT(const JDAQKeyHit &hit) const
Get PMT parameters.
Utility class to parse command line options.
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.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const char * getTime()
Get current local time conform ISO-8601 standard.
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for floating point format specification.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.