45         buffer.push_back(*hit);
 
   60 int main(
int argc, 
char **argv)
 
   64   using namespace KM3NETDAQ;
 
   74     JParser<> zap(
"Example program to remove PMT(s) from data (and set corresponding rate to 0).");
 
   78     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   84   catch(
const exception& error) {
 
   85     FATAL(error.what() << endl);
 
  102     for (
counter_type counter = 0; in.
hasNext() && counter != inputFile.getLimit(); ++counter) {
 
  104       STATUS(
"event: " << setw(10) << counter << 
'\r'); 
DEBUG(endl);
 
  108       for (JDAQTimeslice::iterator frame = timeslice->begin(); frame != timeslice->end(); ++frame) {
 
  125             buffer[hit->getPMT()].push_back(*hit);
 
  134               copy(buffer[pmt].begin(), buffer[pmt].end(), back_inserter(data));
 
  138           sort(data.begin(), data.end());
 
  141           frame->add(data.size(), data.data());
 
  174       for (JDAQSummaryslice::iterator frame = summaryslice->begin(); frame != summaryslice->end(); ++frame) {
 
  180             (*frame)[pmt].setValue(0.0);
 
Template specialisation of JMultipleFileScanner for trigger parameters. 
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
static const JPBS_t PMT(3, 4, 2, 3)
PBS of photo-multiplier tube (PMT) 
 
Recording of objects on file according a format that follows from the file name extension. 
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
 
Long64_t counter_type
Type definition for counter. 
 
Auxiliary class for multiplexing object iterators. 
 
virtual bool put(const JBase_t &object) override
Object output. 
 
Auxiliary class for defining the range of iterations of objects. 
 
virtual bool hasNext() override
Check availability of next element. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
virtual const pointer_type & next() override
Get next element. 
 
virtual bool hasNext() override
Check availability of next element. 
 
General purpose messaging. 
 
Auxiliary class for demultiplexing object outputs. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
virtual const pointer_type & next() override
Get next element. 
 
void copy(const Head &from, JHead &to)
Copy header from from to to. 
 
counter_type getCounter() const 
Get counter. 
 
const JLimit & getLimit() const 
Get limit. 
 
KM3NeT DAQ constants, bit handling, etc. 
 
static const int NUMBER_OF_PMTS
Total number of PMTs in module. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
 
#define DEBUG(A)
Message macros.