Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Experimental::TTreeReaderValueFast< T > Class Template Referencefinalabstract

template<typename T>
class ROOT::Experimental::TTreeReaderValueFast< T >

Definition at line 135 of file TTreeReaderValueFast.hxx.

Public Member Functions

 TTreeReaderValueFast (TTreeReaderFast *reader, const std::string &branchname)
T * Get ()
Int_t GetEvents (Long64_t eventNum)
virtual ROOT::Internal::TTreeReaderValueBase::EReadStatus GetReadStatus () const
ROOT::Internal::TTreeReaderValueBase::ESetupStatus GetSetupStatus () const
T & operator* ()
T * operator-> ()

Protected Member Functions

virtual Int_t Adjust (Int_t eventCount)
virtual const char * BranchTypeName ()=0
void CreateProxy ()
 Attach this value to the appropriate branch on the tree.
T * Deserialize (char *)
UInt_t GetSize () override
const char * GetTypeName () override
void MarkTreeReaderUnavailable ()

Protected Attributes

TBranchfBranch {nullptr}
std::string fBranchName
TBufferFile fBuffer
Long64_t fEventBase {-1}
Int_tfEvtIndex
Long64_t fLastChainOffset {-1}
TLeaffLeaf {nullptr}
std::string fLeafName
ROOT::Internal::TTreeReaderValueBase::EReadStatus fReadStatus {ROOT::Internal::TTreeReaderValueBase::kReadNothingYet}
Int_t fRemaining {0}
ROOT::Internal::TTreeReaderValueBase::ESetupStatus fSetupStatus {ROOT::Internal::TTreeReaderValueBase::kSetupNotSetup}
TTreeReaderFastfTreeReader {nullptr}

#include <ROOT/TTreeReaderValueFast.hxx>

Inheritance diagram for ROOT::Experimental::TTreeReaderValueFast< T >:
ROOT::Experimental::Internal::TTreeReaderValueFastBase

Constructor & Destructor Documentation

◆ TTreeReaderValueFast()

template<typename T>
ROOT::Experimental::TTreeReaderValueFast< T >::TTreeReaderValueFast ( TTreeReaderFast * reader,
const std::string & branchname )
inline

Definition at line 138 of file TTreeReaderValueFast.hxx.

Member Function Documentation

◆ Adjust()

virtual Int_t ROOT::Experimental::Internal::TTreeReaderValueFastBase::Adjust ( Int_t eventCount)
inlineprotectedvirtualinherited

Definition at line 93 of file TTreeReaderValueFast.hxx.

◆ BranchTypeName()

◆ CreateProxy()

void ROOT::Experimental::Internal::TTreeReaderValueFastBase::CreateProxy ( )
protectedinherited

Attach this value to the appropriate branch on the tree.

For now, we don't support the complex branch lookup of the TTreeReader – only a fixed leaf!

Definition at line 46 of file TTreeReaderValueFast.cxx.

◆ Deserialize()

template<typename T>
T * ROOT::Experimental::TTreeReaderValueFast< T >::Deserialize ( char * )
inlineprotected

Definition at line 147 of file TTreeReaderValueFast.hxx.

◆ Get()

template<typename T>
T * ROOT::Experimental::TTreeReaderValueFast< T >::Get ( )
inline

Definition at line 140 of file TTreeReaderValueFast.hxx.

◆ GetEvents()

Int_t ROOT::Experimental::Internal::TTreeReaderValueFastBase::GetEvents ( Long64_t eventNum)
inlineinherited

Definition at line 59 of file TTreeReaderValueFast.hxx.

◆ GetReadStatus()

virtual ROOT::Internal::TTreeReaderValueBase::EReadStatus ROOT::Experimental::Internal::TTreeReaderValueFastBase::GetReadStatus ( ) const
inlinevirtualinherited

Definition at line 45 of file TTreeReaderValueFast.hxx.

◆ GetSetupStatus()

ROOT::Internal::TTreeReaderValueBase::ESetupStatus ROOT::Experimental::Internal::TTreeReaderValueFastBase::GetSetupStatus ( ) const
inlineinherited

Definition at line 44 of file TTreeReaderValueFast.hxx.

◆ GetSize()

template<typename T>
UInt_t ROOT::Experimental::TTreeReaderValueFast< T >::GetSize ( )
inlineoverrideprotectedvirtual

◆ GetTypeName()

template<typename T>
const char * ROOT::Experimental::TTreeReaderValueFast< T >::GetTypeName ( )
inlineoverrideprotectedvirtual

◆ MarkTreeReaderUnavailable()

void ROOT::Experimental::Internal::TTreeReaderValueFastBase::MarkTreeReaderUnavailable ( )
inlineprotectedinherited

Definition at line 100 of file TTreeReaderValueFast.hxx.

◆ operator*()

template<typename T>
T & ROOT::Experimental::TTreeReaderValueFast< T >::operator* ( )
inline

Definition at line 144 of file TTreeReaderValueFast.hxx.

◆ operator->()

template<typename T>
T * ROOT::Experimental::TTreeReaderValueFast< T >::operator-> ( )
inline

Definition at line 143 of file TTreeReaderValueFast.hxx.

Member Data Documentation

◆ fBranch

TBranch* ROOT::Experimental::Internal::TTreeReaderValueFastBase::fBranch {nullptr}
protectedinherited

Definition at line 118 of file TTreeReaderValueFast.hxx.

◆ fBranchName

std::string ROOT::Experimental::Internal::TTreeReaderValueFastBase::fBranchName
protectedinherited

Definition at line 115 of file TTreeReaderValueFast.hxx.

◆ fBuffer

TBufferFile ROOT::Experimental::Internal::TTreeReaderValueFastBase::fBuffer
protectedinherited

Definition at line 120 of file TTreeReaderValueFast.hxx.

◆ fEventBase

Long64_t ROOT::Experimental::Internal::TTreeReaderValueFastBase::fEventBase {-1}
protectedinherited

Definition at line 124 of file TTreeReaderValueFast.hxx.

◆ fEvtIndex

Int_t& ROOT::Experimental::Internal::TTreeReaderValueFastBase::fEvtIndex
protectedinherited

Definition at line 122 of file TTreeReaderValueFast.hxx.

◆ fLastChainOffset

Long64_t ROOT::Experimental::Internal::TTreeReaderValueFastBase::fLastChainOffset {-1}
protectedinherited

Definition at line 123 of file TTreeReaderValueFast.hxx.

◆ fLeaf

TLeaf* ROOT::Experimental::Internal::TTreeReaderValueFastBase::fLeaf {nullptr}
protectedinherited

Definition at line 119 of file TTreeReaderValueFast.hxx.

◆ fLeafName

std::string ROOT::Experimental::Internal::TTreeReaderValueFastBase::fLeafName
protectedinherited

Definition at line 116 of file TTreeReaderValueFast.hxx.

◆ fReadStatus

ROOT::Internal::TTreeReaderValueBase::EReadStatus ROOT::Experimental::Internal::TTreeReaderValueFastBase::fReadStatus {ROOT::Internal::TTreeReaderValueBase::kReadNothingYet}
protectedinherited

Definition at line 127 of file TTreeReaderValueFast.hxx.

◆ fRemaining

Int_t ROOT::Experimental::Internal::TTreeReaderValueFastBase::fRemaining {0}
protectedinherited

Definition at line 121 of file TTreeReaderValueFast.hxx.

◆ fSetupStatus

ROOT::Internal::TTreeReaderValueBase::ESetupStatus ROOT::Experimental::Internal::TTreeReaderValueFastBase::fSetupStatus {ROOT::Internal::TTreeReaderValueBase::kSetupNotSetup}
protectedinherited

Definition at line 126 of file TTreeReaderValueFast.hxx.

◆ fTreeReader

TTreeReaderFast* ROOT::Experimental::Internal::TTreeReaderValueFastBase::fTreeReader {nullptr}
protectedinherited

Definition at line 117 of file TTreeReaderValueFast.hxx.


The documentation for this class was generated from the following file: