|
AnalysisTree
|

Classes | |
| struct | FieldsMapping |
Public Member Functions | |
| Branch (const Branch &)=default | |
| Branch (Branch &&)=default | |
| Branch & | operator= (Branch &&)=default |
| Branch & | operator= (const Branch &)=default |
| Branch (BranchConfig config) | |
| template<class T> | |
| Branch (BranchConfig config, T *data) | |
| Branch (BranchConfig config, BranchPointer ptr) | |
| std::string | GetBranchName () const |
| DetType | GetBranchType () const |
| const BranchConfig & | GetConfig () const |
| void | InitDataPtr () |
| BranchChannel | NewChannel () |
| BranchChannel | NullChannel () |
| void | ClearChannels () |
| Field | NewVariable (const std::string &field_name, const std::string &title, AnalysisTree::Types type) |
| void | CloneVariables (const AnalysisTree::BranchConfig &other) |
| size_t | size () const |
| BranchChannel | operator[] (size_t i_channel) const |
| std::vector< std::string > | GetFieldNames () const |
| size_t | GetId () const |
| BranchPointer | GetData () const |
| template<class T> | |
| T & | GetDataRaw () |
| Field | GetField (std::string field_name) const |
| void | Freeze (bool freeze=true) |
| void | SetMutable (bool is_mutable=true) |
| void | CheckFrozen (bool expected=true) const |
| void | CheckMutable (bool expected=true) const |
| void | CopyContentsRaw (Branch *other) |
| Gets variables according to variable names specified in the arguments. Returns tuple of variables which is suitable for unpacking with std::tie(). | |
| void | CreateMapping (const Branch *other, std::string branch_name_prefix="") const |
| void | UpdateConfigHash () |
| AnalysisTree::ShortInt_t | Hash () const |
Public Attributes | |
| AnalysisTree::Configuration * | parent_config {nullptr} |
| std::map< const Branch *, FieldsMapping > | copy_fields_mapping |
| void Branch::CopyContentsRaw | ( | Branch * | other | ) |
Gets variables according to variable names specified in the arguments. Returns tuple of variables which is suitable for unpacking with std::tie().
| Args |
| field_name | variable names convertible to std::string |