#include "Rivet/Rivet.hh"
#include "Rivet/HistoFormat.hh"
#include "Rivet/AnalysisLoader.hh"
#include "Rivet/Tools/Logging.hh"
#include <tclap/CmdLine.h>
Include dependency graph for Commandline.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Rivet |
namespace | Rivet::Commandline |
Defines | |
#define | RIVET_COMMANDLINE_HH 1 |
Functions | |
void | addAnalysisArgs (TCLAP::CmdLine &cmd, TCLAP::MultiArg< string > *&analysesArg, TCLAP::SwitchArg *&analysesAllArg, TCLAP::ValuesConstraint< string > *&anaNameConstraint) |
Add command line parsing of analyses and their negations. | |
void | addHistoArgs (TCLAP::CmdLine &cmd, TCLAP::ValueArg< string > *&histoNameArg, TCLAP::ValueArg< string > *&histoTypeArg, TCLAP::ValuesConstraint< string > *&histoTypeConstraint) |
Add command line parsing of histogram file and format specifications. | |
void | addLoggingArgs (TCLAP::CmdLine &cmd, TCLAP::MultiArg< string > *&logsArg) |
Add command line options to control the logging system. | |
void | useAnalysisArgs (TCLAP::CmdLine &cmd, TCLAP::MultiArg< string > *analysesArg, TCLAP::SwitchArg *analysesAllArg, set< string > &cfgAnalyses) |
void | useHistoArgs (TCLAP::CmdLine &cmd, TCLAP::ValueArg< string > *histoNameArg, TCLAP::ValueArg< string > *histoTypeArg, string &cfgHistoFileName, HistoFormat &cfgHistoFormat) |
void | useLoggingArgs (TCLAP::CmdLine &cmd, TCLAP::MultiArg< string > *logsArg, Log::LevelMap &cfgLogLevels) |
|
Definition at line 3 of file Commandline.hh. |
|
Add command line parsing of analyses and their negations.
Definition at line 17 of file Commandline.cc. Referenced by main(). |
|
Add command line parsing of histogram file and format specifications.
Definition at line 34 of file Commandline.cc. References Rivet::getKnownHistoFormatNames(). Referenced by main(). |
|
Add command line options to control the logging system.
Definition at line 47 of file Commandline.cc. Referenced by main(). |
|
Set the Rivet analysis components of the Configuration object based on the command line arguments. Be careful - this function deletes the argument objects. Definition at line 56 of file Commandline.cc. References Rivet::toUpper(). Referenced by main(). |
|
Set the histogramming components of the Configuration object based on the command line arguments. Be careful - this function deletes the argument objects.
Definition at line 89 of file Commandline.cc. Referenced by main(). |
|
Set the logging components of the Configuration object based on the command line arguments. Be careful - this function deletes the argument object. Definition at line 117 of file Commandline.cc. References Log::LevelMap. Referenced by main(). |