1 #ifndef PrgOptionProcessor_h
2 #define PrgOptionProcessor_h
7 #include <boost/program_options/options_description.hpp>
8 #include <boost/program_options/variables_map.hpp>
9 #include <boost/program_options/parsers.hpp>
13 #include "travex/ProgramOptions.h"
17 namespace po = boost::program_options;
std::string PathToStiTreeFile() const
Processes and controls user options provided in the command line.
TChain * fStiTChain
A (chained) TTree from the input file.
virtual void AddToInputChains(std::string stiTreeRootFileName)
This private method takes a path to a valid ROOT file as input.
std::string fGeomFilePath
Full path to a ROOT file with TGeo geometry.
std::set< std::string > fVolumeList
A list of volume names to consider.
virtual void VerifyOptions()
bool MatchedVolName(const std::string &volName) const
Note that the function returns true when the internal list of regex'es formed by the user specified o...
void ProcessOptions()
Takes the standard command line arguments and parses them with the boost program_options utility...
std::string PathToGeometryFile() const
std::string fVolumeListFile
Full path to a text file with Sti/TGeo volume names.
std::string fVolumePattern
Regex pattern provided by the user in the command line.
const std::set< std::string > & GetVolumeList() const