1 #ifndef Fireworks_Core_FWTTreeCache_h 2 #define Fireworks_Core_FWTTreeCache_h 4 #include "TTreeCache.h" 20 bool start_learning() {
if (fIsLearning)
return true; fIsLearning =
true;
return false; }
59 Int_t
AddBranch(TBranch *b, Bool_t subbranches = kFALSE)
override;
60 Int_t
AddBranch(
const char *
branch, Bool_t subbranches = kFALSE)
override;
61 Int_t
DropBranch(TBranch *b, Bool_t subbranches = kFALSE)
override;
62 Int_t
DropBranch(
const char *branch, Bool_t subbranches = kFALSE)
override;
Int_t AddBranchTopLevel(const char *bname)
static int s_default_size
LearnGuard(FWTTreeCache *tc)
static int GetDefaultCacheSize()
Int_t AddBranch(TBranch *b, Bool_t subbranches=kFALSE) override
Int_t DropBranch(TBranch *b, Bool_t subbranches=kFALSE) override
void BranchAccessCallIn(const TBranch *b)
std::set< std::string > m_branch_set
Int_t DropBranchTopLevel(const char *bname)
static void SetDefaultCacheSize(int def_size)
bool is_branch_in_cache(const char *name)