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< AnalysisName > &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) |
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.
Definition at line 15 of file Commandline.cc.
References Rivet::getKnownAnalysisNames().
Referenced by main().
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.
Definition at line 31 of file Commandline.cc.
References Rivet::getKnownHistoFormatNames().
Referenced by main().
void addLoggingArgs | ( | TCLAP::CmdLine & | cmd, | |
TCLAP::MultiArg< string > *& | logsArg | |||
) |
Add command line options to control the logging system.
Definition at line 44 of file Commandline.cc.
Referenced by main().
void useAnalysisArgs | ( | TCLAP::CmdLine & | cmd, | |
TCLAP::MultiArg< string > * | analysesArg, | |||
TCLAP::SwitchArg * | analysesAllArg, | |||
set< AnalysisName > & | cfgAnalyses | |||
) |
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 53 of file Commandline.cc.
References Rivet::getKnownAnalysesR(), and Rivet::getKnownAnalysisEnums().
Referenced by main().
void useHistoArgs | ( | TCLAP::CmdLine & | cmd, | |
TCLAP::ValueArg< string > * | histoNameArg, | |||
TCLAP::ValueArg< string > * | histoTypeArg, | |||
string & | cfgHistoFileName, | |||
HistoFormat & | cfgHistoFormat | |||
) |
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 92 of file Commandline.cc.
References Rivet::AIDAML, Rivet::FLAT, and Rivet::ROOT.
Referenced by main().
void useLoggingArgs | ( | TCLAP::CmdLine & | cmd, | |
TCLAP::MultiArg< string > * | logsArg, | |||
Log::LevelMap & | cfgLogLevels | |||
) |
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 120 of file Commandline.cc.
References Log::getLevelFromName().
Referenced by main().