|
ATLAS Offline Software
|
Go to the documentation of this file.
26 #ifndef CMDLINE_PARSER_PACKAGE
28 #define CMDLINE_PARSER_PACKAGE "iLumiCalc.exe"
31 #ifndef CMDLINE_PARSER_PACKAGE_NAME
33 #define CMDLINE_PARSER_PACKAGE_NAME "iLumiCalc.exe"
36 #ifndef CMDLINE_PARSER_VERSION
38 #define CMDLINE_PARSER_VERSION "00-00-00"
199 int override,
int initialize,
int check_required);
276 const char *prog_name);
char * lartag_arg
LAr noise burst database tag (default='LARBadChannelsOflEventVeto-UPD4-01').
unsigned int help_given
Whether help was given.
char * d3pd_dir_orig
Name of TDirectory in input ROOT file where Lumi string is stored original value given at command lin...
char * xml_out_orig
Output XML file name original value given at command line.
char ** tag_arg
Input TAG file name.
unsigned int tag_given
Whether tag was given.
int online_flag
Use online luminosity estimates instead of offline database (default=off).
const char * lumimethod_help
Luminosity estimate method by string help description.
unsigned int beamspot_given
Whether beamspot was given.
int * lbend_arg
LumiBlock number end.
const char * beamspottag_help
Online beamspot database tag help description.
const char * gengetopt_args_info_purpose
the purpose string of the program
struct cmdline_parser_params * cmdline_parser_params_create(void)
Allocates dynamically a cmdline_parser_params structure and initializes all its fields to their defau...
unsigned int lumitag_given
Whether lumitag was given.
const char * verbose_help
Verbose output level help description.
int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info)
Save the contents of the option struct into a (text) file.
unsigned int runnumber_min
Run number, range, or comma separated list, e.g.
char * xml_blacklist_orig
Input XML file of blacklist original value given at command line.
int verbose_flag
Verbose output level (default=off).
int quiet_flag
Quiet output level (default=off).
unsigned int trigger_given
Whether trigger was given.
const char * scale_lumi_help
Scale luminosity with a constant value help description.
unsigned int tree_given
Whether tree was given.
const char * xml_blacklist_help
Input XML file of blacklist help description.
char * d3pd_dir_arg
Name of TDirectory in input ROOT file where Lumi string is stored.
int xml_collisionlist_flag
Output XML file of lists of collision candidates (default=off).
const char * tree_help
Name of TTree in input ROOT file to which Lumi string is attached help description.
void cmdline_parser_init(struct gengetopt_args_info *args_info)
Initializes the passed gengetopt_args_info structure's fields (also set default values for options th...
int cmdline_parser_dump(FILE *outfile, struct gengetopt_args_info *args_info)
Save the contents of the option struct into an already open FILE stream.
unsigned int lbstart_max
LumiBlock number begin's maximum occurreces.
void cmdline_parser_free(struct gengetopt_args_info *args_info)
Deallocates the string fields of the gengetopt_args_info structure (but does not deallocate the struc...
unsigned int root_max
Input ROOT file name's maximum occurreces.
void cmdline_parser_print_help(void)
Print the help.
int cmdline_parser(int argc, char **argv, struct gengetopt_args_info *args_info)
The command line parser.
char ** lbstart_orig
LumiBlock number begin original value given at command line.
int lumichannel_arg
Luminosity estimate method by value (default='0').
char * beamspottag_orig
Online beamspot database tag original value given at command line.
unsigned int lartag_given
Whether lartag was given.
int * lbstart_arg
LumiBlock number begin.
unsigned int tag_max
Input TAG file name's maximum occurreces.
char * lumitag_orig
Offline luminosity database tag original value given at command line.
char * lumimethod_arg
Luminosity estimate method by string (default='ATLAS_PREFERRED').
char ** runnumber_orig
Run number, range, or comma separated list, e.g.
const char * lbstart_help
LumiBlock number begin help description.
const char * xml_collisionlist_help
Output XML file of lists of collision candidates help description.
char ** trigger_arg
Trigger chain name used for prescale calculation.
void cmdline_parser_print_version(void)
Print the version.
char * scale_lumi_orig
Scale luminosity with a constant value original value given at command line.
unsigned int verbose_given
Whether verbose was given.
unsigned int version_given
Whether version was given.
char ** xml_arg
Input XML file name.
unsigned int root_given
Whether root was given.
char * lumichannel_orig
Luminosity estimate method by value original value given at command line.
const char * lumitag_help
Offline luminosity database tag help description.
char * tree_orig
Name of TTree in input ROOT file to which Lumi string is attached original value given at command lin...
unsigned int lbend_min
LumiBlock number end's minimum occurreces.
const char * lartag_help
LAr noise burst database tag help description.
double scale_lumi_arg
Scale luminosity with a constant value (default='1.0').
unsigned int lbend_max
LumiBlock number end's maximum occurreces.
unsigned int runnumber_given
Whether runnumber was given.
int beamspot_flag
Require online beamspot valid in trigger livefraction (default=off).
char * xml_blacklist_arg
Input XML file of blacklist.
const char * gengetopt_args_info_help[]
all the lines making the help output
char * lartag_orig
LAr noise burst database tag original value given at command line.
int cmdline_parser_ext(int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params)
The command line parser (version with additional parameters)
int lar_flag
Calculate LAr defect fraction (default=off).
void cmdline_parser_params_init(struct cmdline_parser_params *params)
Initializes all the fields a cmdline_parser_params structure to their default values.
unsigned int lbstart_given
Whether lbstart was given.
char ** xml_orig
Input XML file name original value given at command line.
const char * lar_help
Calculate LAr defect fraction help description.
unsigned int lumimethod_given
Whether lumimethod was given.
unsigned int lbstart_min
LumiBlock number begin's minimum occurreces.
int check_ambiguity
whether to check for options already specified in the option structure gengetopt_args_info (default 0...
char * lumitag_arg
Offline luminosity database tag (default='OflLumi-8TeV-002').
unsigned int xml_min
Input XML file name's minimum occurreces.
unsigned int xml_blacklist_given
Whether xml_blacklist was given.
unsigned int trigger_min
Trigger chain name used for prescale calculation's minimum occurreces.
unsigned int plots_given
Whether plots was given.
unsigned int xml_collisionlist_given
Whether xml_collisionlist was given.
unsigned int runnumber_max
Run number, range, or comma separated list, e.g.
unsigned int xml_out_given
Whether xml_out was given.
char * xml_out_arg
Output XML file name.
unsigned int tag_min
Input TAG file name's minimum occurreces.
unsigned int livetrigger_given
Whether livetrigger was given.
const char * tag_help
Input TAG file name help description.
char ** lbend_orig
LumiBlock number end original value given at command line.
char ** tag_orig
Input TAG file name original value given at command line.
unsigned int quiet_given
Whether quiet was given.
const char * version_help
Print version and exit help description.
unsigned int scale_lumi_given
Whether scale_lumi was given.
const char * beamspot_help
Require online beamspot valid in trigger livefraction help description.
char * lumimethod_orig
Luminosity estimate method by string original value given at command line.
int print_errors
whether getopt_long should print an error message for a bad option (default 1)
const char * xml_help
Input XML file name help description.
char * livetrigger_orig
L1 Trigger used for livetime calculation original value given at command line.
int cmdline_parser2(int argc, char **argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required)
The command line parser (version with additional parameters - deprecated)
unsigned int d3pd_dir_given
Whether d3pd_dir was given.
const char * root_help
Input ROOT file name help description.
unsigned int lbend_given
Whether lbend was given.
char * beamspottag_arg
Online beamspot database tag (default='IndetBeamposOnl-HLT-UPD1-001-00').
unsigned int online_given
Whether online was given.
unsigned int root_min
Input ROOT file name's minimum occurreces.
int cmdline_parser_required(struct gengetopt_args_info *args_info, const char *prog_name)
Checks that all the required options were specified.
Where the command line options are stored.
unsigned int xml_given
Whether xml was given.
char ** runnumber_arg
Run number, range, or comma separated list, e.g.
The additional parameters to pass to parser functions.
const char * livetrigger_help
L1 Trigger used for livetime calculation help description.
unsigned int lar_given
Whether lar was given.
const char * help_help
Print help and exit help description.
char ** root_orig
Input ROOT file name original value given at command line.
const char * plots_help
Create some plots on demand help description.
char * livetrigger_arg
L1 Trigger used for livetime calculation (default='L1_EM30').
unsigned int lumichannel_given
Whether lumichannel was given.
const char * quiet_help
Quiet output level help description.
const char * xml_out_help
Output XML file name help description.
const char * runnumber_help
Run number, range, or comma separated list, e.g.
int initialize
whether to initialize the option structure gengetopt_args_info (default 1)
const char * online_help
Use online luminosity estimates instead of offline database help description.
char * tree_arg
Name of TTree in input ROOT file to which Lumi string is attached.
int check_required
whether to check that all required options were provided (default 1)
char ** root_arg
Input ROOT file name.
const char * lbend_help
LumiBlock number end help description.
int plots_flag
Create some plots on demand (default=off).
char ** trigger_orig
Trigger chain name used for prescale calculation original value given at command line.
const char * lumichannel_help
Luminosity estimate method by value help description.
const char * trigger_help
Trigger chain name used for prescale calculation help description.
const char * gengetopt_args_info_usage
the usage string of the program
unsigned int xml_max
Input XML file name's maximum occurreces.
unsigned int trigger_max
Trigger chain name used for prescale calculation's maximum occurreces.
const char * d3pd_dir_help
Name of TDirectory in input ROOT file where Lumi string is stored help description.
unsigned int beamspottag_given
Whether beamspottag was given.