|
| DefaultBranchNamer (const std::vector< std::string > &systematics, bool systNameFirst=true, bool inputFromFriends=false, const std::string &nominalName="NOSYS") |
| Construct the namer. More...
|
|
std::string | nameBranch (const std::string &branch, const std::string &systName="") const override |
| Get the full name of a branch. More...
|
|
std::string | createBranch (const std::string &branch, const std::string &systName="") override |
| Get the full name of a branch. More...
|
|
bool | exists (const std::string &branch, const std::string &systName="") const override |
| Test if a specific variation of a specific branch exists. More...
|
|
std::string | newBranchName (const std::string &branch, const std::string &systName="") const |
| Get the full name of a branch. More...
|
|
const std::string & | nominalName () const override |
| Print the name of the nominal variation. More...
|
|
std::vector< std::string > | systematics () const override |
| Get all systematics. More...
|
|
std::set< std::string > | systematicsAffecting (const std::string &branch) const override |
| Get all systematics affecting a base branch name. More...
|
|
std::vector< std::string > | branches () const override |
| Get all branch base names. More...
|
|
void | readBranchList (const std::map< std::string, ROOT::RDF::RNode > &rnodes) override |
| Set the node that this namer is looking at. More...
|
|
std::unique_ptr< IBranchNamer > | copy () const override |
| Make a copy of this class. More...
|
|
virtual | ~IBranchNamer () |
|
virtual std::vector< std::string > | nameBranches (const std::vector< std::string > &branches, const std::string &systName="") const |
| Get the full names of a list of branches. More...
|
|
virtual std::set< std::string > | systematicsAffecting (const std::vector< std::string > &branches) const |
| Get all the systematics affecting a set of columns. More...
|
|
virtual std::pair< std::string, std::vector< std::string > > | expandExpression (const std::string &expression) const |
| Expand a C++ expression into a pseudo-functional form. More...
|
|
virtual std::string | interpretExpression (const std::string &expression, const std::vector< std::string > &branches, const std::string &systematic) |
| Interpret an expression for a given systematic variation. More...
|
|
Default implementation of the IBranchNamer interface.
Allows for reading and writing branches of the form SYSNAME_BRANCHNAME or BRANCHNAME_SYSNAME. Can also read in files where the different systematics are saved as friend trees. In this case the input format is SYSNAME.BRANCHNAME.