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

Definition at line 55 of file TTreeProcessorMT.hxx.

Public Member Functions

 TTreeView ()=default
 
 TTreeView (const TTreeView &)
 
std::unique_ptr< TTreeReaderGetTreeReader (Long64_t start, Long64_t end, const std::vector< std::string > &treeName, const std::vector< std::string > &fileNames, const ROOT::TreeUtils::RFriendInfo &friendInfo, const TEntryList &entryList, const std::vector< Long64_t > &nEntries)
 Get a TTreeReader for the current tree of this view.
 
void Reset ()
 Clear the resources.
 

Private Member Functions

void MakeChain (const std::vector< std::string > &treeName, const std::vector< std::string > &fileNames, const ROOT::TreeUtils::RFriendInfo &friendInfo, const std::vector< Long64_t > &nEntries)
 Construct fChain, also adding friends if needed and injecting knowledge of offsets if available.
 

Private Attributes

std::unique_ptr< TChainfChain
 Chain on which to operate.
 
std::unique_ptr< TEntryListfEntryList
 TEntryList for fChain, if present.
 
std::vector< std::unique_ptr< TChain > > fFriends
 Friends of the tree/chain, if present.
 
ROOT::Internal::TreeUtils::RNoCleanupNotifier fNoCleanupNotifier
 

#include <ROOT/TTreeProcessorMT.hxx>

Constructor & Destructor Documentation

◆ TTreeView() [1/2]

ROOT::Internal::TTreeView::TTreeView ( )
default

◆ TTreeView() [2/2]

ROOT::Internal::TTreeView::TTreeView ( const TTreeView )
inline

Definition at line 70 of file TTreeProcessorMT.hxx.

Member Function Documentation

◆ GetTreeReader()

std::unique_ptr< TTreeReader > TTreeView::GetTreeReader ( Long64_t  start,
Long64_t  end,
const std::vector< std::string > &  treeName,
const std::vector< std::string > &  fileNames,
const ROOT::TreeUtils::RFriendInfo friendInfo,
const TEntryList entryList,
const std::vector< Long64_t > &  nEntries 
)

Get a TTreeReader for the current tree of this view.

Definition at line 286 of file TTreeProcessorMT.cxx.

◆ MakeChain()

void TTreeView::MakeChain ( const std::vector< std::string > &  treeNames,
const std::vector< std::string > &  fileNames,
const ROOT::TreeUtils::RFriendInfo friendInfo,
const std::vector< Long64_t > &  nEntries 
)
private

Construct fChain, also adding friends if needed and injecting knowledge of offsets if available.

Parameters
[in]treeNamesName of the tree for each file in fileNames.
[in]fileNamesFiles to be opened.
[in]friendInfoInformation about TTree friends, if any.
[in]nEntriesNumber of entries to be processed.
[in]friendEntriesNumber of entries in each friend. Expected to have same ordering as friendInfo.

Definition at line 260 of file TTreeProcessorMT.cxx.

◆ Reset()

void TTreeView::Reset ( )

Clear the resources.

Definition at line 314 of file TTreeProcessorMT.cxx.

Member Data Documentation

◆ fChain

std::unique_ptr<TChain> ROOT::Internal::TTreeView::fChain
private

Chain on which to operate.

Definition at line 62 of file TTreeProcessorMT.hxx.

◆ fEntryList

std::unique_ptr<TEntryList> ROOT::Internal::TTreeView::fEntryList
private

TEntryList for fChain, if present.

Definition at line 59 of file TTreeProcessorMT.hxx.

◆ fFriends

std::vector<std::unique_ptr<TChain> > ROOT::Internal::TTreeView::fFriends
private

Friends of the tree/chain, if present.

Definition at line 58 of file TTreeProcessorMT.hxx.

◆ fNoCleanupNotifier

ROOT::Internal::TreeUtils::RNoCleanupNotifier ROOT::Internal::TTreeView::fNoCleanupNotifier
private

Definition at line 56 of file TTreeProcessorMT.hxx.

Libraries for ROOT::Internal::TTreeView:

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