38 int main(
int argc,
char **argv)
63 catch(
const exception& error) {
64 FATAL(error.what() << endl);
69 if (pos == string::npos) {
70 FATAL(
"Valid wildcard must be specified (<" <<
outputFile <<
"> does not contain \'" << wildcard <<
"\').");
84 const string name = string(
outputFile).replace(pos, 1, identifier.c_str());
86 NOTICE(
"Writing " << name <<
"..." << endl);
102 while (scanner->hasNext()) {
104 const Evt*
event = scanner->next();
108 STATUS(
"Event:" <<
RIGHT(10) << scanner->getCounter() <<
'\r');
DEBUG(endl);
113 WARNING(
"Event " << scanner->getCounter() <<
" is empty; skip.");
Recording of objects on file according a format that follows from the file name extension.
General purpose messaging.
#define DEBUG(A)
Message macros.
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
I/O formatting auxiliaries.
int main(int argc, char **argv)
ROOT TTree parameter settings of various packages.
Data structure for set of track fit results.
virtual bool put(const T &object)=0
Object output.
Utility class to parse command line options.
virtual void open(const char *file_name) override
Open file.
General purpose class for object reading from a list of file names.
virtual bool hasNext() override
Check availability of next element.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header.
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.
The Head class reflects the header of Monte-Carlo event files, which consists of keys (also referred ...
virtual void close() override
Close device.
Auxiliary class for recursive type list generation.
Auxiliary class for organising Monte Carlo file scanners associated with event weighters.
std::vector< filescanner_type >::iterator iterator
std::string getUniqueIdentifier(const_iterator p) const
Get unique identifier for a file-scanner contained within this set of event-weighter-associated file-...
Auxiliary base class for list of file names.