Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::TBranchIMTHelper Class Reference

A helper class for managing IMT work during TTree:Fill operations.

Definition at line 28 of file TBranchIMTHelper.h.

Public Member Functions

Long64_t GetNbytes ()
 
Long64_t GetNerrors ()
 
template<typename FN >
void Run (const FN &lambda)
 
void Wait ()
 

Private Types

using TaskGroup_t = ROOT::Experimental::TTaskGroup
 

Private Attributes

std::atomic< Long64_tfBytes {0}
 Total number of bytes written by this helper.
 
std::unique_ptr< TaskGroup_tfGroup
 
std::atomic< Int_tfNerrors {0}
 Total error count of all tasks done by this helper.
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/tree/tree/src/TBranchIMTHelper.h>

Member Typedef Documentation

◆ TaskGroup_t

Member Function Documentation

◆ GetNbytes()

Long64_t ROOT::Internal::TBranchIMTHelper::GetNbytes ( )
inline

Definition at line 57 of file TBranchIMTHelper.h.

◆ GetNerrors()

Long64_t ROOT::Internal::TBranchIMTHelper::GetNerrors ( )
inline

Definition at line 58 of file TBranchIMTHelper.h.

◆ Run()

template<typename FN >
void ROOT::Internal::TBranchIMTHelper::Run ( const FN &  lambda)
inline

Definition at line 35 of file TBranchIMTHelper.h.

◆ Wait()

void ROOT::Internal::TBranchIMTHelper::Wait ( )
inline

Definition at line 51 of file TBranchIMTHelper.h.

Member Data Documentation

◆ fBytes

std::atomic<Long64_t> ROOT::Internal::TBranchIMTHelper::fBytes {0}
private

Total number of bytes written by this helper.

Definition at line 61 of file TBranchIMTHelper.h.

◆ fGroup

std::unique_ptr<TaskGroup_t> ROOT::Internal::TBranchIMTHelper::fGroup
private

Definition at line 64 of file TBranchIMTHelper.h.

◆ fNerrors

std::atomic<Int_t> ROOT::Internal::TBranchIMTHelper::fNerrors {0}
private

Total error count of all tasks done by this helper.

Definition at line 62 of file TBranchIMTHelper.h.

  • tree/tree/src/TBranchIMTHelper.h