29 int main(
int argc, 
char **argv)
 
   33   using namespace KM3NETDAQ;
 
   43     JParser<> zap(
"Example program to filter out-of-time hits in Evt data.");
 
   47     zap[
'n'] = 
make_field(numberOfEvents)      = JLimit::max();
 
   53   catch(
const exception& error) {
 
   54     FATAL(error.what() << endl);
 
   66   while (inputFile.hasNext()) {
 
   68     STATUS(
"event: " << setw(10) << inputFile.getCounter() << 
'\r'); 
DEBUG(endl);
 
   70     Evt*   evt = inputFile.next();
 
   72     double t0  = numeric_limits<double>::max();
 
   86         iter_swap(hit, --__end);
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
ROOT TTree parameter settings of various packages. 
 
Recording of objects on file according a format that follows from the file name extension. 
 
double getTime(const Hit &hit)
Get true time of hit. 
 
Head getHeader(const JMultipleFileScanner_t &file_list)
Get Monte Carlo header. 
 
Auxiliary class for defining the range of iterations of objects. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
double getFrameTime()
Get frame time duration. 
 
General purpose messaging. 
 
Scanning of objects from multiple files according a format that follows from the extension of each fi...
 
General purpose class for object reading from a list of file names. 
 
Utility class to parse command line options. 
 
std::vector< Hit > mc_hits
MC: list of MC truth hits. 
 
then usage $script< input_file >< detector_file > fi set_variable OUTPUT_DIR set_variable SELECTOR JDAQTimesliceL1 set_variable DEBUG case set_variable DEBUG
 
const JLimit & getLimit() const 
Get limit. 
 
The Evt class respresent a Monte Carlo (MC) event as well as an offline event.