36 using namespace JLANG;
46 template<class T, bool is_daq = std::is_convertible<T, JDAQHeader>::value>
51 virtual bool accept(
const T&
object)
const override
65 virtual bool accept(
const Evt&
object)
const override
67 return (*
this)(
JDAQUTCExtended(
object.t.GetSec(),
object.t.GetNanoSec() / 16));
79 virtual bool accept(
const T&
object)
const override
81 return (*
this)(
object.getTimesliceStart());
88 template<
class JHead_t,
class JTail_t>
98 template<
class JHead_t>
126 int main(
int argc,
char **argv)
135 JLimit_t& numberOfEvents = inputFile.getLimit();
143 JParser<> zap(
"Auxiliary program to convert data formats and/or to select data.");
149 "Precede name of data structure by a '+' or '-' "
150 "to add or remove data types in the output, respectively."
152 zap[
'm'] =
make_field(merge,
"Allow merging of files w/o Monte Carlo headers");
158 catch(
const exception& error) {
159 FATAL(error.what() << endl);
int main(int argc, char **argv)
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
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.
Auxiliary class to define a range between two values.
ROOT TTree parameter settings of various packages.
Auxiliary class for specifying selection of database data.
Interface for selection of objects.
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.
Data structure for UTC time.
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
JTOOLS::JRange< JDAQUTCExtended > JDAQUTCTimeRange
Type definition for DAQ UTC time range.
KM3NeT DAQ data structures and auxiliaries.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
Auxiliary class for no type definition.
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
Auxiliary class for ROOT class selection.
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.