AnalysisTree
|
AnalysisEntry keeps list of Variables from one or more branches. Before each event AnalysisEntry evaluates Variables and Cuts. More...
#include <AnalysisEntry.hpp>
Public Member Functions | |
AnalysisEntry (std::vector< Variable > vars, Cuts *cuts=nullptr, Variable vars4weight={}) | |
void | Init (const Configuration &conf, const std::map< std::string, Matching * > &matches) |
void | FillValues () |
size_t | AddVariable (const Variable &var) |
ANALYSISTREE_ATTR_NODISCARD const array2D & | GetValues () const |
ANALYSISTREE_ATTR_NODISCARD const array1D & | GetWeights () const |
ANALYSISTREE_ATTR_NODISCARD const std::set< std::string > & | GetBranchNames () const |
ANALYSISTREE_ATTR_NODISCARD size_t | GetNumberOfBranches () const |
ANALYSISTREE_ATTR_NODISCARD const Cuts * | GetCuts () const |
ANALYSISTREE_ATTR_NODISCARD const std::vector< Variable > & | GetVariables () const |
ANALYSISTREE_ATTR_NODISCARD std::vector< Variable > & | Variables () |
ANALYSISTREE_ATTR_NODISCARD const Variable & | GetVariableForWeight () const |
ANALYSISTREE_ATTR_NODISCARD Variable & | VariableForWeight () |
void | AddBranch (const Branch &branch, Cuts *cuts=nullptr) |
void | SetMatching (Matching *matching) |
void | SetIsInvertedMatching (bool is_inverted_matching) |
void | FillBranchNames () |
AnalysisEntry keeps list of Variables from one or more branches. Before each event AnalysisEntry evaluates Variables and Cuts.