|
Crombie Tools
|
#include <Uncertainty.h>
Classes | |
| class | Envelope |
Public Member Functions | |
| std::string | expr (const std::string &key, const std::string &inexpr, const std::string &suff) const |
| Change the expression for an uncertainty given by the key. More... | |
| template<typename A , typename... Args> | |
| Types::strings | exprs (A arg, Args... args) const |
| Get all the needed expressions to cover the loaded uncertainties, along with the original expressions. More... | |
| Types::strings | exprs (const Types::strings &args) const |
| Types::strings | exprs (const std::string &arg) const |
| const std::list< SysInfo > & | full_systematic_infos () const |
| Returns a list maintained by this object of parameters needed to implement all sysematics. More... | |
| Types::strings | systematics () const |
| Get a list of the uncertainty names. More... | |
Private Attributes | |
| Types::map< Envelope > | env_branches |
| Key is the name of the uncertainty, the first member of the pair is which bin to use for total events. More... | |
| std::list< SysInfo > | full_infos |
| A central list of all the systematics needed to make plots. Maintained here to avoid needing to duplicate it. More... | |
| Types::map< std::pair< std::string, Types::strings > > | updown_branches |
| Key is the name of the uncertainty, the first member of the pair is how the branches are named. More... | |
Friends | |
| std::istream & | operator>> (std::istream &is, UncertaintyInfo &config) |
Definition at line 35 of file Uncertainty.h.
| std::string UncertaintyInfo::expr | ( | const std::string & | key, |
| const std::string & | inexpr, | ||
| const std::string & | suff | ||
| ) | const |
Change the expression for an uncertainty given by the key.
| key | The name of the uncertainty switched to. This pulls out the branch name |
| inexpr | The expression to change in order to match the uncertainty |
| suff | The suffix to change to, typically "Up" or "Down", but can be any envelope expression too |
Definition at line 135 of file Uncertainty.h.
References oldmaketree::branch, and crombie::Uncertainty::SysInfo::suff.
| Types::strings UncertaintyInfo::exprs | ( | A | arg, |
| Args... | args | ||
| ) | const |
Get all the needed expressions to cover the loaded uncertainties, along with the original expressions.
Definition at line 183 of file Uncertainty.h.
| Types::strings UncertaintyInfo::exprs | ( | const Types::strings & | args | ) | const |
Definition at line 173 of file Uncertainty.h.
| Types::strings UncertaintyInfo::exprs | ( | const std::string & | arg | ) | const |
Definition at line 160 of file Uncertainty.h.
References Debug::Debug().
|
inline |
Returns a list maintained by this object of parameters needed to implement all sysematics.
Definition at line 54 of file Uncertainty.h.
| Types::strings UncertaintyInfo::systematics | ( | ) | const |
Get a list of the uncertainty names.
Definition at line 196 of file Uncertainty.h.
Referenced by crombie::Datacard::dumpplots().
|
friend |
Definition at line 78 of file Uncertainty.h.
|
private |
Key is the name of the uncertainty, the first member of the pair is which bin to use for total events.
Definition at line 70 of file Uncertainty.h.
Referenced by crombie::Uncertainty::operator>>().
|
private |
A central list of all the systematics needed to make plots. Maintained here to avoid needing to duplicate it.
Definition at line 72 of file Uncertainty.h.
Referenced by crombie::Uncertainty::operator>>().
|
private |
Key is the name of the uncertainty, the first member of the pair is how the branches are named.
Definition at line 58 of file Uncertainty.h.
Referenced by crombie::Uncertainty::operator>>().