#include <FWTTreeCache.h>
Classes | |
struct | LearnGuard |
Public Member Functions | |
Int_t | AddBranch (const char *branch, Bool_t subbranches=kFALSE) override |
Int_t | AddBranch (TBranch *b, Bool_t subbranches=kFALSE) override |
Int_t | AddBranchTopLevel (const char *bname) |
void | BranchAccessCallIn (const TBranch *b) |
Int_t | DropBranch (const char *branch, Bool_t subbranches=kFALSE) override |
Int_t | DropBranch (TBranch *b, Bool_t subbranches=kFALSE) override |
Int_t | DropBranchTopLevel (const char *bname) |
FWTTreeCache () | |
FWTTreeCache (TTree *tree, Int_t buffersize=0) | |
~FWTTreeCache () override | |
Static Public Member Functions | |
static int | GetDefaultCacheSize () |
static bool | IsLogging () |
static bool | IsPrefetching () |
static void | LoggingOff () |
static void | LoggingOn () |
static void | PrefetchingOff () |
static void | PrefetchingOn () |
static void | SetDefaultCacheSize (int def_size) |
Protected Member Functions | |
bool | is_branch_in_cache (const char *name) |
bool | start_learning () |
void | stop_learning () |
Private Attributes | |
std::set< std::string > | m_branch_set |
bool | m_silent_low_level = false |
Static Private Attributes | |
static int | s_default_size = 50 * 1024 * 1024 |
static bool | s_logging = false |
static bool | s_prefetching = false |
Definition at line 9 of file FWTTreeCache.h.
FWTTreeCache::FWTTreeCache | ( | ) |
Definition at line 9 of file FWTTreeCache.cc.
FWTTreeCache::FWTTreeCache | ( | TTree * | tree, |
Int_t | buffersize = 0 |
||
) |
Definition at line 11 of file FWTTreeCache.cc.
|
override |
Definition at line 13 of file FWTTreeCache.cc.
|
override |
Definition at line 93 of file FWTTreeCache.cc.
References MicroEventContent_cff::branch, m_silent_low_level, and s_logging.
|
override |
Definition at line 87 of file FWTTreeCache.cc.
References b, m_silent_low_level, and s_logging.
Referenced by AddBranchTopLevel().
Int_t FWTTreeCache::AddBranchTopLevel | ( | const char * | bname | ) |
Definition at line 34 of file FWTTreeCache.cc.
References AddBranch(), is_branch_in_cache(), m_branch_set, runTheMatrix::ret, and s_logging.
Referenced by BranchAccessCallIn().
void FWTTreeCache::BranchAccessCallIn | ( | const TBranch * | b | ) |
|
override |
Definition at line 107 of file FWTTreeCache.cc.
References MicroEventContent_cff::branch, m_silent_low_level, runTheMatrix::ret, and s_logging.
|
override |
Definition at line 101 of file FWTTreeCache.cc.
References b, m_silent_low_level, and s_logging.
Referenced by DropBranchTopLevel().
Int_t FWTTreeCache::DropBranchTopLevel | ( | const char * | bname | ) |
Definition at line 58 of file FWTTreeCache.cc.
References DropBranch(), is_branch_in_cache(), m_branch_set, runTheMatrix::ret, and s_logging.
|
static |
Definition at line 30 of file FWTTreeCache.cc.
References s_default_size.
Referenced by FWFileEntry::openFile().
|
inlineprotected |
Definition at line 18 of file FWTTreeCache.h.
References m_branch_set, and Skims_PA_cff::name.
Referenced by AddBranchTopLevel(), and DropBranchTopLevel().
|
static |
Definition at line 23 of file FWTTreeCache.cc.
References s_logging.
Referenced by CmsShowNavigator::goTo(), FWFileEntry::NewEventItemCallIn(), FWFileEntry::openFile(), and FWFileEntry::RemovingEventItemCallIn().
|
static |
Definition at line 27 of file FWTTreeCache.cc.
References s_prefetching.
Referenced by FWFileEntry::openFile(), and FWFileEntry::runFilter().
|
static |
|
static |
Definition at line 21 of file FWTTreeCache.cc.
References s_logging.
Referenced by CmsShowMain::CmsShowMain().
|
static |
|
static |
Definition at line 25 of file FWTTreeCache.cc.
References s_prefetching.
Referenced by CmsShowMain::CmsShowMain().
|
static |
Definition at line 29 of file FWTTreeCache.cc.
References s_default_size.
Referenced by CmsShowMain::CmsShowMain().
|
inlineprotected |
Definition at line 20 of file FWTTreeCache.h.
Referenced by FWTTreeCache::LearnGuard::LearnGuard().
|
inlineprotected |
Definition at line 26 of file FWTTreeCache.h.
Referenced by FWTTreeCache::LearnGuard::~LearnGuard().
|
private |
Definition at line 10 of file FWTTreeCache.h.
Referenced by AddBranchTopLevel(), DropBranchTopLevel(), and is_branch_in_cache().
|
private |
Definition at line 11 of file FWTTreeCache.h.
Referenced by AddBranch(), DropBranch(), FWTTreeCache::LearnGuard::LearnGuard(), and FWTTreeCache::LearnGuard::~LearnGuard().
|
staticprivate |
Definition at line 13 of file FWTTreeCache.h.
Referenced by GetDefaultCacheSize(), and SetDefaultCacheSize().
|
staticprivate |
Definition at line 14 of file FWTTreeCache.h.
Referenced by AddBranch(), AddBranchTopLevel(), BranchAccessCallIn(), DropBranch(), DropBranchTopLevel(), IsLogging(), LoggingOff(), and LoggingOn().
|
staticprivate |
Definition at line 15 of file FWTTreeCache.h.
Referenced by IsPrefetching(), PrefetchingOff(), and PrefetchingOn().