45 buffer.push_back(*
hit);
67 JLimit_t& numberOfEvents = inputFile.getLimit();
74 JParser<> zap(
"Example program to remove PMT(s) from data (and set corresponding rate to 0).");
84 catch(
const exception& error) {
100 for (
counter_type counter = 0; in.hasNext() && counter != inputFile.getLimit(); ++counter) {
106 for (JDAQTimeslice::iterator frame = timeslice->begin(); frame != timeslice->end(); ++frame) {
123 buffer[
hit->getPMT()].push_back(*
hit);
136 sort(data.begin(), data.end());
139 frame->add(data.size(), data.data());
150 while (in.hasNext()) {
166 while (in.hasNext()) {
178 (*frame)[pmt].setValue(0.0);
JDAQPMTIdentifier PMT
Command line options.
KM3NeT DAQ constants, bit handling, etc.
Recording of objects on file according a format that follows from the file name extension.
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
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
Template definition of a multi-dimensional oscillation probability interpolation table.
void copy(const Head &from, JHead &to)
Copy header from from to to.
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.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.