1 #ifndef Fireworks_Core_FWTTreeCache_h 2 #define Fireworks_Core_FWTTreeCache_h 4 #include "TTreeCache.h" 21 bool start_learning() {
if (fIsLearning)
return true; fIsLearning =
true;
return false; }
63 Int_t
AddBranch(TBranch *b, Bool_t subbranches = kFALSE)
override;
64 Int_t
AddBranch(
const char *
branch, Bool_t subbranches = kFALSE)
override;
65 Int_t
DropBranch(TBranch *b, Bool_t subbranches = kFALSE)
override;
66 Int_t
DropBranch(
const char *branch, Bool_t subbranches = kFALSE)
override;
static void PrefetchingOn()
Int_t AddBranchTopLevel(const char *bname)
static void PrefetchingOff()
static bool IsPrefetching()
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)
static bool s_prefetching
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)