53 h0(
"h0", NULL, numeric_limits<
JDAQHit::JPMT_t>::max(), -0.5, numeric_limits<
JDAQHit::JPMT_t>::max() - 0.5),
54 h1(
"h1", NULL, numeric_limits<
JDAQHit::JTOT_t>::max(), -0.5, numeric_limits<
JDAQHit::JTOT_t>::max() - 0.5),
55 h2(
"h2", NULL, 100, -0.5, getFrameTime() + 0.5),
89 for (JDAQTimeslice::const_iterator frame = timeslice.begin(); frame != timeslice.end(); ++frame) {
93 h0.Fill(hit->getPMT());
94 h1.Fill(hit->getToT());
124 JLimit_t& numberOfEvents = inputFile.getLimit();
129 JParser<> zap(
"Example program to histogram timeslice data.");
140 catch(
const exception& error) {
141 FATAL(error.what() << endl);
int main(int argc, char **argv)
JDAQPMTIdentifier PMT
Command line options.
General purpose messaging.
#define DEBUG(A)
Message macros.
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
Implementation of pipe operation for object iterators.
ROOT TTree parameter settings of various packages.
Template interface of object output for single data type.
Auxiliary class for selection of data type.
Utility class to parse command line options.
General purpose class for object reading from a list of file names.
static bool compare(const JDAQPMTIdentifier &first, const JDAQPMTIdentifier &second)
Compare PMT identifiers.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::set< JROOTClassSelector > getROOTClassSelection(const bool option=false)
Get ROOT class selection.
Long64_t counter_type
Type definition for counter.
KM3NeT DAQ data structures and auxiliaries.
Example class for data analysis.
virtual bool put(const JDAQTimeslice ×lice)
Process data.
Auxiliary class for a type holder.
Auxiliary class to select ROOT class based on class name.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.