Cuts holds list of SimpleCuts and provides Apply function which subsequently applies cuts.
More...
#include <Cuts.hpp>
|
| Cuts (const Cuts &cut)=default |
|
| Cuts (Cuts &&cut)=default |
|
Cuts & | operator= (Cuts &&)=default |
|
Cuts & | operator= (const Cuts &cut)=default |
|
| Cuts (std::string name, std::vector< SimpleCut > cuts) |
|
| Cuts (std::string name, std::initializer_list< SimpleCut > cuts) |
|
template<class T > |
bool | Apply (const T &object) const |
| Evaluates all SimpleCuts.
|
|
bool | Apply (const BranchChannel &ob) const |
|
bool | Apply (std::vector< const BranchChannel * > &bch, std::vector< size_t > &id) const |
|
bool | Apply (const BranchChannel &a, size_t a_id, const BranchChannel &b, size_t b_id) const |
|
void | Init (const Configuration &conf) |
|
void | Print () const |
|
ANALYSISTREE_ATTR_NODISCARD const std::set< std::string > & | GetBranches () const |
|
ANALYSISTREE_ATTR_NODISCARD const std::string & | GetBranchName () const |
|
ANALYSISTREE_ATTR_NODISCARD std::set< size_t > | GetBranchIds () const |
|
ANALYSISTREE_ATTR_NODISCARD const std::string & | GetName () const |
|
std::vector< SimpleCut > & | GetCuts () |
|
|
static bool | Equal (const Cuts *that, const Cuts *other) |
|
|
std::string | name_ |
|
std::set< std::string > | branch_names_ {} |
|
std::set< size_t > | branch_ids_ {} |
|
std::vector< SimpleCut > | cuts_ {} |
|
bool | is_init_ {false} |
|
|
bool | operator== (const Cuts &that, const Cuts &other) |
|
Cuts holds list of SimpleCuts and provides Apply function which subsequently applies cuts.
◆ Apply()
template<class T >
bool AnalysisTree::Cuts::Apply |
( |
const T & | object | ) |
const |
|
inline |
Evaluates all SimpleCuts.
- Template Parameters
-
T | type of data-object associated with TTree |
- Parameters
-
- Returns
- result of cut
The documentation for this class was generated from the following files: