LCIO
02.17
|
#include <getopt.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <sstream>
#include <cmath>
#include "lcio.h"
#include "IO/LCReader.h"
#include "IMPL/LCTOOLS.h"
#include "IMPL/LCCollectionVec.h"
Go to the source code of this file.
Classes | |
struct | opts_t |
Functions | |
void | display_usage (const char *progName, const std::string &errmsg="") |
void | showopts (void) |
int | main (int argc, char **argv) |
Variables | |
struct opts_t | opts |
static const int | min_args = 2 |
static const char * | optString = "s:n:x:m:M:pavh?" |
static struct option | longOpts [] |
void display_usage | ( | const char * | progName, |
const std::string & | errmsg = "" |
||
) |
Definition at line 89 of file lcio_check_col_elements.cc.
References std::endl(), std::exit(), and std::stringstream::str().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 202 of file lcio_check_col_elements.cc.
References opts_t::abselementerror, opts_t::abseventerror, std::atof(), std::atoi(), opts_t::average, opts_t::colName, display_usage(), opts_t::elementsTotal, std::endl(), event, opts_t::eventsFailed, opts_t::eventsSkipped, opts_t::eventsTotal, opts_t::expelements, opts_t::inputFiles, opts_t::inputFilesNum, lcReader, longOpts, opts_t::maxelements, opts_t::maxevents, min_args, opts_t::minelements, opts, optString, opts_t::pedantic, std::vector< T >::push_back(), opts_t::relelementerror, opts_t::releventerror, std::round(), showopts(), opts_t::startevent, std::strcmp(), and opts_t::verbosity.
void showopts | ( | void | ) |
Definition at line 172 of file lcio_check_col_elements.cc.
References opts_t::abselementerror, opts_t::abseventerror, opts_t::average, opts_t::colName, opts_t::elementsTotal, std::endl(), opts_t::eventsFailed, opts_t::eventsSkipped, opts_t::eventsTotal, opts_t::expelements, opts_t::maxelements, opts_t::maxevents, opts_t::minelements, opts, opts_t::pedantic, opts_t::relelementerror, opts_t::releventerror, and opts_t::startevent.
Referenced by main().
|
static |
Definition at line 70 of file lcio_check_col_elements.cc.
Referenced by main().
|
static |
Definition at line 63 of file lcio_check_col_elements.cc.
Referenced by main().
struct opts_t opts |
Referenced by main(), and showopts().
|
static |
Definition at line 67 of file lcio_check_col_elements.cc.
Referenced by main().