34 inline double operator()(
const Evt& first,
const Evt& second)
const
52int main(
int argc,
char **argv)
66 JParser<> zap(
"Auxiliary program for time sorting of Monte-Carlo events.");
75 catch(
const exception& error) {
76 FATAL(error.what() << endl);
80 STATUS(
"Processing " << inputFile <<
"." << flush);
85 buffer.push_back(*in.next());
90 sort(buffer.begin(), buffer.end(), compare);
98 for (vector<Evt>::const_iterator i = buffer.begin(); i != buffer.end(); ++i) {
Recording of objects on file according a format that follows from the file name extension.
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Scanning of objects from a single file according a format that follows from the extension of each fil...
ROOT TTree parameter settings of various packages.
Utility class to parse command line options.
Object reading from a list of files.
virtual bool hasNext() override
Check availability of next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
int mc_id
identifier of the MC event (as found in ascii or antcc file).
TTimeStamp mc_event_time
MC: true generation time (UTC) of the event, (default: 01 Jan 1970 00:00:00)
Auxiliary class for defining the range of iterations of objects.
static counter_type max()
Get maximum counter value.