Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Types | Private Attributes | List of all members
ROOT::Detail::TDF::TCustomColumn< F, PrevData > Class Template Referencefinal

template<typename F, typename PrevData>
class ROOT::Detail::TDF::TCustomColumn< F, PrevData >

Definition at line 305 of file TDFNodes.hxx.

Public Member Functions

 TCustomColumn (std::string_view name, F &&expression, const ColumnNames_t &bl, PrevData &pd)
 
 TCustomColumn (const TCustomColumn &)=delete
 
bool CheckFilters (unsigned int slot, Long64_t entry) final
 
virtual void ClearValueReaders (unsigned int slot) final
 
const std::type_info & GetTypeId () const
 
voidGetValuePtr (unsigned int slot) final
 
void Init (TTreeReader *r, unsigned int slot) final
 
void PartialReport () const final
 
void Report () const final
 
void StopProcessing ()
 
void Update (unsigned int slot, Long64_t entry) final
 
template<int... S, typename... BranchTypes>
void UpdateHelper (unsigned int slot, Long64_t entry, TDFInternal::TStaticSeq< S... >, TDFInternal::TTypeList< BranchTypes... >)
 
- Public Member Functions inherited from ROOT::Detail::TDF::TCustomColumnBase
 TCustomColumnBase (TLoopManager *df, const ColumnNames_t &tmpBranches, std::string_view name, unsigned int nSlots)
 
virtual ~TCustomColumnBase ()
 
TLoopManagerGetImplPtr () const
 
std::string GetName () const
 
unsigned int GetNSlots () const
 
ColumnNames_t GetTmpBranches () const
 
void IncrChildrenCount ()
 

Private Types

using BranchTypes_t = typename TDFInternal::TFunctionTraits< F >::Args_t
 
using Ret_t = typename TDFInternal::TFunctionTraits< F >::Ret_t
 
using TypeInd_t = typename TDFInternal::TGenStaticSeq< BranchTypes_t::fgSize >::Type_t
 

Private Attributes

const ColumnNames_t fBranches
 
F fExpression
 
std::vector< Long64_tfLastCheckedEntry = {-1}
 
std::vector< std::unique_ptr< Ret_t > > fLastResultPtr
 
PrevData & fPrevData
 
std::vector< TDFInternal::TDFValueTuple_t< BranchTypes_t > > fValues
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Detail::TDF::TCustomColumnBase
TLoopManagerfImplPtr
 A raw pointer to the TLoopManager at the root of this functional graph. More...
 
const std::string fName
 
unsigned int fNChildren {0}
 Number of nodes of the functional graph hanging from this object. More...
 
const unsigned int fNSlots
 Number of thread slots used by this node, inherited from parent node. More...
 
unsigned int fNStopsReceived {0}
 Number of times that a children node signaled to stop processing entries. More...
 
ColumnNames_t fTmpBranches
 

#include <ROOT/TDFNodes.hxx>

Inheritance diagram for ROOT::Detail::TDF::TCustomColumn< F, PrevData >:
[legend]

Member Typedef Documentation

◆ BranchTypes_t

template<typename F , typename PrevData >
using ROOT::Detail::TDF::TCustomColumn< F, PrevData >::BranchTypes_t = typename TDFInternal::TFunctionTraits<F>::Args_t
private

Definition at line 306 of file TDFNodes.hxx.

◆ Ret_t

template<typename F , typename PrevData >
using ROOT::Detail::TDF::TCustomColumn< F, PrevData >::Ret_t = typename TDFInternal::TFunctionTraits<F>::Ret_t
private

Definition at line 308 of file TDFNodes.hxx.

◆ TypeInd_t

template<typename F , typename PrevData >
using ROOT::Detail::TDF::TCustomColumn< F, PrevData >::TypeInd_t = typename TDFInternal::TGenStaticSeq<BranchTypes_t::fgSize>::Type_t
private

Definition at line 307 of file TDFNodes.hxx.

Constructor & Destructor Documentation

◆ TCustomColumn() [1/2]

template<typename F , typename PrevData >
ROOT::Detail::TDF::TCustomColumn< F, PrevData >::TCustomColumn ( std::string_view  name,
F &&  expression,
const ColumnNames_t &  bl,
PrevData &  pd 
)
inline

Definition at line 319 of file TDFNodes.hxx.

◆ TCustomColumn() [2/2]

template<typename F , typename PrevData >
ROOT::Detail::TDF::TCustomColumn< F, PrevData >::TCustomColumn ( const TCustomColumn< F, PrevData > &  )
delete

Member Function Documentation

◆ CheckFilters()

template<typename F , typename PrevData >
bool ROOT::Detail::TDF::TCustomColumn< F, PrevData >::CheckFilters ( unsigned int  slot,
Long64_t  entry 
)
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 350 of file TDFNodes.hxx.

◆ ClearValueReaders()

template<typename F , typename PrevData >
virtual void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::ClearValueReaders ( unsigned int  slot)
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 376 of file TDFNodes.hxx.

◆ GetTypeId()

template<typename F , typename PrevData >
const std::type_info& ROOT::Detail::TDF::TCustomColumn< F, PrevData >::GetTypeId ( ) const
inlinevirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 348 of file TDFNodes.hxx.

◆ GetValuePtr()

template<typename F , typename PrevData >
void* ROOT::Detail::TDF::TCustomColumn< F, PrevData >::GetValuePtr ( unsigned int  slot)
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 337 of file TDFNodes.hxx.

◆ Init()

template<typename F , typename PrevData >
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::Init ( TTreeReader r,
unsigned int  slot 
)
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 331 of file TDFNodes.hxx.

◆ PartialReport()

template<typename F , typename PrevData >
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::PartialReport ( ) const
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 368 of file TDFNodes.hxx.

◆ Report()

template<typename F , typename PrevData >
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::Report ( ) const
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 366 of file TDFNodes.hxx.

◆ StopProcessing()

template<typename F , typename PrevData >
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::StopProcessing ( )
inlinevirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 370 of file TDFNodes.hxx.

◆ Update()

template<typename F , typename PrevData >
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::Update ( unsigned int  slot,
Long64_t  entry 
)
inlinefinalvirtual

Implements ROOT::Detail::TDF::TCustomColumnBase.

Definition at line 339 of file TDFNodes.hxx.

◆ UpdateHelper()

template<typename F , typename PrevData >
template<int... S, typename... BranchTypes>
void ROOT::Detail::TDF::TCustomColumn< F, PrevData >::UpdateHelper ( unsigned int  slot,
Long64_t  entry,
TDFInternal::TStaticSeq< S... >  ,
TDFInternal::TTypeList< BranchTypes... >   
)
inline

Definition at line 357 of file TDFNodes.hxx.

Member Data Documentation

◆ fBranches

template<typename F , typename PrevData >
const ColumnNames_t ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fBranches
private

Definition at line 311 of file TDFNodes.hxx.

◆ fExpression

template<typename F , typename PrevData >
F ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fExpression
private

Definition at line 310 of file TDFNodes.hxx.

◆ fLastCheckedEntry

template<typename F , typename PrevData >
std::vector<Long64_t> ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fLastCheckedEntry = {-1}
private

Definition at line 314 of file TDFNodes.hxx.

◆ fLastResultPtr

template<typename F , typename PrevData >
std::vector<std::unique_ptr<Ret_t> > ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fLastResultPtr
private

Definition at line 312 of file TDFNodes.hxx.

◆ fPrevData

template<typename F , typename PrevData >
PrevData& ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fPrevData
private

Definition at line 313 of file TDFNodes.hxx.

◆ fValues

template<typename F , typename PrevData >
std::vector<TDFInternal::TDFValueTuple_t<BranchTypes_t> > ROOT::Detail::TDF::TCustomColumn< F, PrevData >::fValues
private

Definition at line 316 of file TDFNodes.hxx.


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