diff --git a/Event/xAOD/xAODCore/xAODCore/tools/PerfStats.h b/Event/xAOD/xAODCore/xAODCore/tools/PerfStats.h index 29ac0177caffacba4f6dba90e3be144d08a12724..2aee4a340abe1db635105dcb317484ef091b47f0 100644 --- a/Event/xAOD/xAODCore/xAODCore/tools/PerfStats.h +++ b/Event/xAOD/xAODCore/xAODCore/tools/PerfStats.h @@ -92,15 +92,28 @@ namespace xAOD { #if ROOT_VERSION_CODE >= ROOT_VERSION( 6, 14, 0 ) // new methods (ROOT 6.14) - need forwarding to the original TPerfStats + + /// Print the TTree basket read caching statistics virtual void PrintBasketInfo(Option_t *option = "") const; + + /// Increase by 1 the counter of how many times a basket was cached virtual void SetLoaded(TBranch *b, size_t basketNumber); virtual void SetLoaded(size_t bi, size_t basketNumber); + + /// Increase by 1 the counter of how many times a basket was cached on access virtual void SetLoadedMiss(TBranch *b, size_t basketNumber); virtual void SetLoadedMiss(size_t bi, size_t basketNumber); + + /// Increase count (by 1) of not cached basket reads virtual void SetMissed(TBranch *b, size_t basketNumber); virtual void SetMissed(size_t bi, size_t basketNumber); + + /// Mark a basket as accessed virtual void SetUsed(TBranch *b, size_t basketNumber); virtual void SetUsed(size_t bi, size_t basketNumber); + + /// Update the fBranchIndexCache collection to match the current TTree given + /// the ordered list of branch names. virtual void UpdateBranchIndices(TObjArray *branches); #endif