#include <arbusto.h>
|
| Arbusto () |
|
| Arbusto (TFile *new_tfile, TChain *tchain, std::vector< TString > branch_names) |
|
| Arbusto (HEPCLI &cli, std::vector< TString > branch_names) |
|
virtual | ~Arbusto () |
|
void | init (TTree *next_ttree) |
|
void | fill (int entry) |
|
| Arbol () |
|
| Arbol (TFile *tfile, TString ttree_name="tree") |
|
| Arbol (TString tfile_name, TString ttree_name="tree") |
|
| Arbol (HEPCLI &cli) |
|
virtual | ~Arbol () |
|
template<typename Type > |
void | newBranch (TString new_branch_name) |
|
template<typename Type > |
void | newBranch (TString new_branch_name, Type new_reset_value) |
|
template<typename Type > |
void | setBranchResetValue (TString branch_name, Type new_reset_value) |
|
template<typename Type > |
Type | getLeaf (TString branch_name) |
|
template<typename Type > |
void | setLeaf (TString branch_name, Type new_value) |
|
template<typename Type > |
void | newVecBranch (TString new_branch_name) |
|
template<typename Type > |
void | newVecBranch (TString new_branch_name, std::vector< Type > new_reset_vector) |
|
template<typename Type > |
void | setVecBranchResetValue (TString branch_name, std::vector< Type > new_reset_vector) |
|
template<typename Type > |
std::vector< Type > | getVecLeaf (TString branch_name) |
|
template<typename Type > |
void | setVecLeaf (TString branch_name, std::vector< Type > new_vector) |
|
template<typename Type > |
void | appendToVecLeaf (TString branch_name, Type new_value) |
|
template<typename Type > |
void | prependToVecLeaf (TString branch_name, Type new_value) |
|
template<typename Type > |
void | insertIntoVecLeaf (TString branch_name, Type new_value, int index) |
|
template<typename Type > |
void | sortVecLeaf (TString branch_name, std::function< bool(Type, Type)> &lambda) |
|
void | resetBranches () |
|
virtual void | fill () |
|
virtual void | write (bool close=true) |
|
Wraps Arbol object with functionality for skimming
◆ Arbusto() [1/3]
Arbusto object constructor
- Returns
- none
◆ Arbusto() [2/3]
Arbusto::Arbusto |
( |
TFile * | new_tfile, |
|
|
TChain * | tchain, |
|
|
std::vector< TString > | branch_names ) |
Arbusto object overload constructor
- Parameters
-
new_tfile | pointer to output TFile |
tchain | pointer to TChain of input TFiles |
branch_names | std::vector of branch names to keep |
- Returns
- none
◆ Arbusto() [3/3]
Arbusto::Arbusto |
( |
HEPCLI & | cli, |
|
|
std::vector< TString > | branch_names ) |
Arbusto object overload constructor
- Parameters
-
cli | HEPCLI object |
branch_names | std::vector of branch names to keep |
- Returns
- none
◆ ~Arbusto()
virtual Arbusto::~Arbusto |
( |
| ) |
|
|
virtual |
Arbusto object destructor
- Returns
- none
◆ fill()
void Arbusto::fill |
( |
int | entry | ) |
|
Fill TTree with all current leaves
- Parameters
-
- Returns
- none
◆ init()
void Arbusto::init |
( |
TTree * | next_ttree | ) |
|
Initialize Arbusto for current file
- Parameters
-
next_ttree | pointer to the next of the original TTree objects |
- Returns
- none
◆ keep_branch_names
std::vector<TString> Arbusto::keep_branch_names |
|
protected |
Names of branches in original ROOT TTree to keep
◆ orig_ttree
TTree* Arbusto::orig_ttree |
|
protected |
Pointer to current TTree to skim
The documentation for this class was generated from the following file: