Commandline.cc File Reference

#include "Rivet/Rivet.hh"
#include "Rivet/HistoFormat.hh"
#include "Rivet/Analysis/Analysis.fhh"
#include "Rivet/Tools/Commandline.hh"
#include <tclap/CmdLine.h>
#include <fstream>
#include <iostream>

Include dependency graph for Commandline.cc:

Go to the source code of this file.


Namespaces

namespace  Rivet
namespace  Rivet::Commandline

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)