38inline void print(std::ostream& out, 
const char* 
const title, T __begin, T __end)
 
   44  for (T i = __begin; i != __end; ++i) {
 
   45    out << 
' ' << setw(4) << (int) i->getT();
 
 
   58int main(
int argc, 
char **argv)
 
   71    JParser<> zap(
"Example program to test hit pre-processing with user data."\
 
   72                  "\nformat: -u \"(<PMT> <time> <time-over-threshold>)+\"");
 
   81  catch(
const exception &error) {
 
   82    FATAL(error.what() << endl);
 
   90  const JModule module = getModule<JKM3NeT_t>(1001);
 
  102  frame.
add(data.size(), data.data());
 
  104  timeslice.push_back(frame);
 
  111    JSuperFrame2D_t& buffer = JSuperFrame2D_t::demultiplex(timeslice[0], module);
 
  116    vector  <JHitR0> output;
 
  118    buildL0(buffer, back_inserter(output));
 
  120    print(cout, 
"L0:", output.begin(), output.end());
 
  125    vector  <JHitL0> output;
 
  129    buildL0(timeslice, router, back_inserter(output));
 
  131    print(cout, 
"L0:", output.begin(), output.end());
 
  135    vector  <JHitR1> output;
 
  139    buildL1(timeslice, router, back_inserter(output)); 
 
  141    print(cout, 
"L1:", output.begin(), output.end());
 
  145    vector  <JHitR2> output;
 
  149    buildL2(timeslice, router, back_inserter(output)); 
 
  151    print(cout, 
"L2:", output.begin(), output.end());
 
 
Data structure for detector geometry and calibration.
 
Basic data structure for L0 hit.
 
Reduced data structure for L1 hit.
 
Basic data structure for R2 hit.
 
Match operator for consecutive hits.
 
General purpose messaging.
 
#define DEBUG(A)
Message macros.
 
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
 
int main(int argc, char **argv)
 
Auxiliaries for pre-processing of hits.
 
Router for direct addressing of module data in detector data structure.
 
Data structure for a composite optical module.
 
int getID() const
Get identifier.
 
Utility class to parse command line options.
 
static void setSlewing(const bool slewing)
Set slewing option.
 
2-dimensional frame with time calibrated data from one optical module.
 
const JDAQChronometer & getDAQChronometer() const
Get DAQ chronometer.
 
Data frame of one optical module.
 
JDAQSuperFrame & add(const JDAQSuperFrame &super_frame)
Add data from same optical module.
 
std::ostream & print(std::ostream &out, const JTestSummary &summary, const char delimiter=' ', const bool useColors=true)
Print test summary.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
KM3NeT DAQ data structures and auxiliaries.
 
void setDAQLongprint(const bool option)
Set DAQ print option.
 
Auxiliary data structure for L1 build parameters.
 
void setPreprocessor(const JPreprocessor::JOption_t option, const match_type &match)
Set pre-processor of consecutive hits.
 
Data structure for L2 parameters.
 
Auxiliary class for specifying the way of pre-processing of hits.
 
static std::vector< JPreprocessor > getOptions()
Get options.