AnalysisTree
Loading...
Searching...
No Matches
AnalysisTree::AnalysisEntry Class Reference

AnalysisEntry keeps list of Variables from one or more branches. Before each event AnalysisEntry evaluates Variables and Cuts. More...

#include <AnalysisEntry.hpp>

Collaboration diagram for AnalysisTree::AnalysisEntry:
Collaboration graph

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 CutsGetCuts () const
 
ANALYSISTREE_ATTR_NODISCARD const std::vector< Variable > & GetVariables () const
 
ANALYSISTREE_ATTR_NODISCARD std::vector< Variable > & Variables ()
 
ANALYSISTREE_ATTR_NODISCARD const VariableGetVariableForWeight () const
 
ANALYSISTREE_ATTR_NODISCARD VariableVariableForWeight ()
 
void AddBranch (const Branch &branch, Cuts *cuts=nullptr)
 
void SetMatching (Matching *matching)
 
void SetIsInvertedMatching (bool is_inverted_matching)
 
void FillBranchNames ()
 

Detailed Description

AnalysisEntry keeps list of Variables from one or more branches. Before each event AnalysisEntry evaluates Variables and Cuts.


The documentation for this class was generated from the following files: