|
|
Go to the documentation of this file.
5 #include "TEventList.h"
35 if (bname ==
nullptr || bname[0] == 0) {
36 printf(
"FWTTreeCache::AddBranchTopLevel Invalid branch name <%s>\n", bname ==
nullptr ?
"nullptr" :
"empty string");
43 printf(
"FWTTreeCache::AddBranchTopLevel '%s' -- adding\n", bname);
52 printf(
"FWTTreeCache::AddBranchTopLevel '%s' -- already in cache\n", bname);
59 if (bname ==
nullptr || bname[0] == 0) {
60 printf(
"FWTTreeCache::AddBranchTopLevel Invalid branch name");
67 printf(
"FWTTreeCache::DropBranchTopLevel '%s' -- dropping\n", bname);
73 printf(
"FWTTreeCache::DropBranchTopLevel '%s' -- not in cache\n", bname);
80 printf(
"FWTTreeCache::BranchAccessCallIn '%s'\n",
b->GetName());
89 printf(
"FWTTreeCache::AddBranch by ptr '%s', subbp=%d\n",
b->GetName(), subbranches);
90 return TTreeCache::AddBranch(
b, subbranches);
95 printf(
"FWTTreeCache::AddBranch by name '%s', subbp=%d\n",
branch, subbranches);
96 if (strcmp(
branch,
"*") == 0)
98 return TTreeCache::AddBranch(
branch, subbranches);
103 printf(
"FWTTreeCache::DropBranch by ptr '%s', subbp=%d\n",
b->GetName(), subbranches);
104 return TTreeCache::DropBranch(
b, subbranches);
109 printf(
"FWTTreeCache::DropBranch by name '%s', subbp=%d\n",
branch, subbranches);
110 Int_t
ret = TTreeCache::DropBranch(
branch, subbranches);
111 if (strcmp(
branch,
"*") == 0)
ret
prodAgent to be discontinued
static int GetDefaultCacheSize()
static void SetDefaultCacheSize(int def_size)
static bool s_prefetching
Int_t AddBranch(TBranch *b, Bool_t subbranches=kFALSE) override
std::set< std::string > m_branch_set
static bool IsPrefetching()
void BranchAccessCallIn(const TBranch *b)
static void PrefetchingOff()
static void PrefetchingOn()
static int s_default_size
Int_t DropBranchTopLevel(const char *bname)
Int_t DropBranch(TBranch *b, Bool_t subbranches=kFALSE) override
bool is_branch_in_cache(const char *name)
Int_t AddBranchTopLevel(const char *bname)