Crombie Tools
|
Holds information for the files to run over as well as relevant processes. More...
#include <FileConfig.h>
Public Member Functions | |
DirectoryInfo (const std::string &line, const Type type, const std::vector< Process > &processes) | |
Public Attributes | |
std::vector< FileInfo > | files {} |
The file infos. More... | |
const std::string | name |
The name of the directory. More... | |
const std::vector< Process > | processes |
const Type | type |
The kind of process this object points to. More... | |
const double | xs |
The cross section of this sample. More... | |
Private Member Functions | |
void | fillfiles () |
Fill the file info for this object. More... | |
Static Private Member Functions | |
static std::string | getname (const std::string &line) |
Helper function to extract directory name from config line. More... | |
static double | getxs (const std::string &line) |
Helper function to extract cross section. More... | |
Holds information for the files to run over as well as relevant processes.
Definition at line 97 of file FileConfig.h.
|
inline |
Definition at line 100 of file FileConfig.h.
References Debug::Debug().
|
private |
Fill the file info for this object.
Definition at line 231 of file FileConfig.h.
References CrombieTools.LoadConfig::cuts, crombie::FileSystem::exists(), sushi::file, crombie_completion::files, and crombie::FileSystem::list().
|
staticprivate |
Helper function to extract directory name from config line.
If the config line is actually a file, then it returns the unchanged file name.
Definition at line 224 of file FileConfig.h.
References crombie_completion::dir.
|
inlinestaticprivate |
Helper function to extract cross section.
Definition at line 121 of file FileConfig.h.
std::vector<FileInfo> crombie::FileConfig::DirectoryInfo::files {} |
The file infos.
Definition at line 110 of file FileConfig.h.
const std::string crombie::FileConfig::DirectoryInfo::name |
The name of the directory.
Definition at line 106 of file FileConfig.h.
Referenced by crombie::Plotter::Plot::add(), and crombie::Plotter::SingleFile().
const std::vector<Process> crombie::FileConfig::DirectoryInfo::processes |
Definition at line 111 of file FileConfig.h.
Referenced by crombie::Plotter::Plot::add().
const Type crombie::FileConfig::DirectoryInfo::type |
The kind of process this object points to.
Definition at line 108 of file FileConfig.h.
Referenced by crombie::Plotter::Plot::add(), and crombie::Plotter::SingleFile().
const double crombie::FileConfig::DirectoryInfo::xs |
The cross section of this sample.
Definition at line 107 of file FileConfig.h.
Referenced by crombie::Plotter::Plot::add().