36 JLimit_t& numberOfEvents = inputFile.getLimit();
42 JParser<> zap(
"Example program to print DAQ events with associated information.");
51 catch(
const exception& error) {
79 cout <<
"Detector identifier " <<
tev->getDetectorID() <<
endl;
80 cout <<
"Run number " <<
tev->getRunNumber() <<
endl;
81 cout <<
"Frame index " <<
tev->getFrameIndex() <<
endl;
83 cout <<
"Trigger counter " <<
tev->getCounter() <<
endl;
90 cout <<
" module PMT TDC ToT trigger rate [kHz] serial x y z dx dy dz t0 status" <<
endl;
int main(int argc, char **argv)
Data structure for detector geometry and calibration.
General purpose messaging.
Direct access to module in detector data structure.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Scanning of objects from a single file according a format that follows from the extension of each fil...
ROOT TTree parameter settings of various packages.
Router for direct addressing of module data in detector data structure.
const JPMT & getPMT(const JPMTIdentifier &id) const
Get PMT parameters.
bool hasModule(const JObjectID &id) const
Has module.
Template definition of a multi-dimensional oscillation probability interpolation table.
File router for fast addressing of summary data.
void update(const JDAQHeader &header)
Update router.
bool hasSummaryFrame(const JDAQModuleIdentifier &module) const
Has summary frame.
double getRate(const JDAQPMTIdentifier &id) const
Get rate.
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).
KM3NeT DAQ data structures and auxiliaries.
Auxiliary data structure for floating point format specification.
Auxiliary class to set-up Hit.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.