|
Crombie Tools
|
Classes | |
| class | Selection |
| class | SelectionConfig |
Typedefs | |
| using | Selections = Types::map< const Selection > |
Functions | |
| std::string | nminus1 (const std::string &var, const std::string &cut) |
| Returns the a cut with a variable taken out. More... | |
| std::istream & | operator>> (std::istream &is, SelectionConfig &config) |
| SelectionConfig | read (const std::string &mchistname, const std::string &config) |
| Reads a configuration file that maps regions to selections Reads a configuration file for file info. More... | |
| using crombie::Selection::Selections = typedef Types::map<const Selection> |
Definition at line 31 of file Selection.h.
| std::string crombie::Selection::nminus1 | ( | const std::string & | var, |
| const std::string & | cut | ||
| ) |
Returns the a cut with a variable taken out.
The function only removes expressions where the variable name is to the left of an operator.
Definition at line 67 of file Selection.h.
Referenced by crombie::Plotter::SingleFile().
| std::istream & crombie::Selection::operator>> | ( | std::istream & | is, |
| SelectionConfig & | config | ||
| ) |
Definition at line 72 of file Selection.h.
References crombie::Selection::Selection::cut, crombie::Parse::parse(), crombie::Selection::Selection::Selection(), crombie::Selection::SelectionConfig::selections, and crombie::Misc::tokenize().
| SelectionConfig crombie::Selection::read | ( | const std::string & | mchistname, |
| const std::string & | config | ||
| ) |
Reads a configuration file that maps regions to selections Reads a configuration file for file info.
Definition at line 56 of file Selection.h.
References hadd::input.