|
Crombie Tools
|
Classes | |
| class | DirectoryInfo |
| Holds information for the files to run over as well as relevant processes. More... | |
| class | FileConfig |
| A single object that holds all of the information about the files to run on. More... | |
| class | FileInfo |
| Hold the necessary information for running over a single file. More... | |
| struct | Process |
| The processes that a directory can be divided between. More... | |
Typedefs | |
| template<typename M > | |
| using | MapFunc = std::function< M(const FileInfo &)> |
| The type that is used for the mapping function. More... | |
| template<typename R , typename M > | |
| using | MergeFunc = std::function< R(const ToMerge< M > &)> |
| A functional type that is not necessary, but might be a useful shortcut. More... | |
| template<typename M > | |
| using | ToMerge = Types::map< std::list< M >> |
| The parameter passed to the FileConfig::runfiles reduce function. More... | |
Enumerations | |
| enum | Type { Type::Data, Type::Background, Type::Signal } |
| The kinds of processes. More... | |
Functions | |
| bool | operator< (const FileInfo &a, const FileInfo &b) |
| Compares FileInfo objects based on the size of the files; used for queue priority. More... | |
| std::istream & | operator>> (std::istream &is, FileConfig &config) |
| FileConfig | read (const std::string &indir, const std::string &config) |
| Reads a configuration file for file info. More... | |
| using crombie::FileConfig::MapFunc = typedef std::function<M(const FileInfo&)> |
The type that is used for the mapping function.
Definition at line 136 of file FileConfig.h.
| using crombie::FileConfig::MergeFunc = typedef std::function<R(const ToMerge<M>&)> |
A functional type that is not necessary, but might be a useful shortcut.
| R | The output of the reduction formula |
| M | The output of the map formula |
Definition at line 149 of file FileConfig.h.
| using crombie::FileConfig::ToMerge = typedef Types::map<std::list<M>> |
The parameter passed to the FileConfig::runfiles reduce function.
| M | is the type given by a SingleOut mapping function |
Definition at line 142 of file FileConfig.h.
|
strong |
The kinds of processes.
| Enumerator | |
|---|---|
| Data | |
| Background | |
| Signal | |
Definition at line 45 of file FileConfig.h.
Compares FileInfo objects based on the size of the files; used for queue priority.
Definition at line 309 of file FileConfig.h.
References crombie::FileConfig::FileInfo::size.
| std::istream & crombie::FileConfig::operator>> | ( | std::istream & | is, |
| FileConfig & | config | ||
| ) |
Definition at line 254 of file FileConfig.h.
References crombie::FileConfig::FileConfig::_has_data, crombie::FileConfig::FileConfig::_has_mc, Background, Data, crombie::FileConfig::FileConfig::dirinfos, crombie::FileConfig::FileConfig::inputdir, crombie::Parse::parse(), Signal, and crombie::Misc::tokenize().
| FileConfig crombie::FileConfig::read | ( | const std::string & | indir, |
| const std::string & | config | ||
| ) |
Reads a configuration file for file info.
Definition at line 196 of file FileConfig.h.
References hadd::input.