Field is a pointer in a branch/field structure.
More...
#include <Field.hpp>
|
| Field (const Field &)=default |
|
| Field (Field &&)=default |
|
Field & | operator= (Field &&)=default |
|
Field & | operator= (const Field &)=default |
|
| Field (std::string name) |
|
| Field (std::string branch, std::string field) |
|
void | Init (const Configuration &conf) |
| Initializes branchId and fieldId.
|
|
void | Init (const BranchConfig &conf) |
|
ANALYSISTREE_ATTR_NODISCARD const std::string & | GetName () const |
|
ANALYSISTREE_ATTR_NODISCARD const std::string & | GetBranchName () const |
|
ANALYSISTREE_ATTR_NODISCARD size_t | GetBranchId () const |
|
ANALYSISTREE_ATTR_NODISCARD short | GetFieldId () const |
|
ANALYSISTREE_ATTR_NODISCARD DetType | GetBranchType () const |
|
ANALYSISTREE_ATTR_NODISCARD Types | GetFieldType () const |
|
template<class T > |
double | GetValue (const T &object) const |
| Gets numerical value from data-object associated with TTree.
|
|
void | Print () const |
|
ANALYSISTREE_ATTR_NODISCARD const Branch * | GetParentBranch () const |
|
ANALYSISTREE_ATTR_NODISCARD bool | IsInitialized () const |
|
| operator bool () const |
|
|
bool | operator== (const Field &that, const Field &other) |
|
bool | operator> (const Field &that, const Field &other) |
|
bool | operator< (const Field &that, const Field &other) |
|
Field is a pointer in a branch/field structure.
◆ GetValue()
template<class T >
double AnalysisTree::Field::GetValue |
( |
const T & | object | ) |
const |
|
inline |
Gets numerical value from data-object associated with TTree.
- Template Parameters
-
- Parameters
-
- Returns
- value of the field
◆ Init()
Initializes branchId and fieldId.
- Parameters
-
The documentation for this class was generated from the following files: