Crombie Tools
crombie::Selection Namespace Reference

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...
 

Typedef Documentation

§ Selections

Definition at line 31 of file Selection.h.

Function Documentation

§ nminus1()

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().

§ operator>>()

std::istream & crombie::Selection::operator>> ( std::istream &  is,
SelectionConfig config 
)

§ read()

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.