star-travex
|
Processes and controls user options provided in the command line. More...
#include <StiHifyPrgOptions.h>
Public Member Functions | |
StiHifyPrgOptions () | |
StiHifyPrgOptions (int argc, char **argv, const std::string &stiTreeName="t") | |
bool | AcceptCandidateHit () const |
bool | SplitHistsByVolume () const |
double | GetHistZMin () const |
double | GetHistZMax () const |
double | GetHistYMin () const |
double | GetHistYMax () const |
void | SetHistZRange (double minZ, double maxZ) |
void | SetHistYRange (double minY, double maxY) |
![]() | |
PrgOptionProcessor () | |
PrgOptionProcessor (int argc, char **argv, const std::string &stiTreeName="t") | |
~PrgOptionProcessor () | |
std::string | PathToStiTreeFile () const |
std::string | PathToGeometryFile () const |
const std::set< std::string > & | GetVolumeList () const |
TChain * | GetStiTChain () |
void | ProcessOptions () |
Takes the standard command line arguments and parses them with the boost program_options utility. More... | |
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 options is empty. More... | |
Private Attributes | |
bool | fAcceptCandidateHit |
A flag to force closest candidate hit to be the accepted track node hit. More... | |
bool | fSplitHistsByVolume |
A flag to produce separate histograms for each volume matching the regex. More... | |
double | fHistZMin |
double | fHistZMax |
double | fHistYMin |
double | fHistYMax |
Additional Inherited Members | |
![]() | |
void | BuildInputChains () |
virtual void | VerifyOptions () |
virtual void | AddToInputChains (std::string stiTreeRootFileName) |
This private method takes a path to a valid ROOT file as input. More... | |
![]() | |
std::string | fGeomFilePath |
Full path to a ROOT file with TGeo geometry. More... | |
std::string | fVolumeListFile |
Full path to a text file with Sti/TGeo volume names. More... | |
std::string | fVolumePattern |
Regex pattern provided by the user in the command line. More... | |
std::set< std::string > | fVolumeList |
A list of volume names to consider. More... | |
TChain * | fStiTChain |
A (chained) TTree from the input file. More... | |
Processes and controls user options provided in the command line.
Definition at line 21 of file StiHifyPrgOptions.h.
StiHifyPrgOptions::StiHifyPrgOptions | ( | ) |
Definition at line 4 of file StiHifyPrgOptions.cxx.
StiHifyPrgOptions::StiHifyPrgOptions | ( | int | argc, |
char ** | argv, | ||
const std::string & | stiTreeName = "t" |
||
) |
Definition at line 7 of file StiHifyPrgOptions.cxx.
|
inline |
Definition at line 28 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 33 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 32 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 31 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 30 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 35 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 34 of file StiHifyPrgOptions.h.
|
inline |
Definition at line 29 of file StiHifyPrgOptions.h.
|
private |
A flag to force closest candidate hit to be the accepted track node hit.
Definition at line 40 of file StiHifyPrgOptions.h.
|
private |
Definition at line 48 of file StiHifyPrgOptions.h.
|
private |
Definition at line 47 of file StiHifyPrgOptions.h.
|
private |
Definition at line 46 of file StiHifyPrgOptions.h.
|
private |
Definition at line 45 of file StiHifyPrgOptions.h.
|
private |
A flag to produce separate histograms for each volume matching the regex.
Definition at line 43 of file StiHifyPrgOptions.h.