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();
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) {
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);
120 print(
cout,
"L0:", output.begin(), output.end());
131 print(
cout,
"L0:", output.begin(), output.end());
141 print(
cout,
"L1:", output.begin(), output.end());
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.
Template definition of a multi-dimensional oscillation probability interpolation table.
static void setSlewing(const bool slewing)
Set slewing option.
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, T __begin, T __end, const bool useColors=true, const JFormat_t &formatting=JFormat_t(18, 3, std::ios::fixed))
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.
Data structure for L2 parameters.
Auxiliary class for specifying the way of pre-processing of hits.
static std::vector< JPreprocessor > getOptions()
Get options.