Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ROOT::Internal::TTreeView Class Reference

Definition at line 67 of file TTreeProcessorMT.hxx.

Public Member Functions

 TTreeView ()
 
 TTreeView (const TTreeView &)
 
TreeReaderEntryListPair GetTreeReader (Long64_t start, Long64_t end, const std::string &treeName, const std::vector< std::string > &fileNames, const FriendInfo &friendInfo, TEntryList entryList, const std::vector< Long64_t > &nEntries, const std::vector< std::vector< Long64_t > > &friendEntries)
 Get a TTreeReader for the current tree of this view. More...
 

Private Types

using TreeReaderEntryListPair = std::pair< std::unique_ptr< TTreeReader >, std::unique_ptr< TEntryList > >
 

Private Member Functions

void MakeChain (const std::string &treeName, const std::vector< std::string > &fileNames, const FriendInfo &friendInfo, const std::vector< Long64_t > &nEntries, const std::vector< std::vector< Long64_t > > &friendEntries)
 Construct fChain, also adding friends if needed and injecting knowledge of offsets if available. More...
 
std::unique_ptr< TTreeReaderMakeReader (Long64_t start, Long64_t end)
 
TreeReaderEntryListPair MakeReaderWithEntryList (TEntryList &globalList, Long64_t start, Long64_t end)
 

Private Attributes

std::unique_ptr< TChainfChain
 Chain on which to operate. More...
 
std::vector< std::unique_ptr< TChain > > fFriends
 Friends of the tree/chain. More...
 

#include <ROOT/TTreeProcessorMT.hxx>

Member Typedef Documentation

◆ TreeReaderEntryListPair

using ROOT::Internal::TTreeView::TreeReaderEntryListPair = std::pair<std::unique_ptr<TTreeReader>, std::unique_ptr<TEntryList> >
private

Definition at line 69 of file TTreeProcessorMT.hxx.

Constructor & Destructor Documentation

◆ TTreeView() [1/2]

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

Definition at line 135 of file TTreeProcessorMT.hxx.

◆ TTreeView() [2/2]

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

Definition at line 138 of file TTreeProcessorMT.hxx.

Member Function Documentation

◆ GetTreeReader()

TreeReaderEntryListPair ROOT::Internal::TTreeView::GetTreeReader ( Long64_t  start,
Long64_t  end,
const std::string &  treeName,
const std::vector< std::string > &  fileNames,
const FriendInfo friendInfo,
TEntryList  entryList,
const std::vector< Long64_t > &  nEntries,
const std::vector< std::vector< Long64_t > > &  friendEntries 
)
inline

Get a TTreeReader for the current tree of this view.

Definition at line 142 of file TTreeProcessorMT.hxx.

◆ MakeChain()

void ROOT::Internal::TTreeView::MakeChain ( const std::string &  treeName,
const std::vector< std::string > &  fileNames,
const FriendInfo friendInfo,
const std::vector< Long64_t > &  nEntries,
const std::vector< std::vector< Long64_t > > &  friendEntries 
)
inlineprivate

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

Definition at line 77 of file TTreeProcessorMT.hxx.

◆ MakeReader()

std::unique_ptr< TTreeReader > ROOT::Internal::TTreeView::MakeReader ( Long64_t  start,
Long64_t  end 
)
inlineprivate

Definition at line 127 of file TTreeProcessorMT.hxx.

◆ MakeReaderWithEntryList()

TreeReaderEntryListPair ROOT::Internal::TTreeView::MakeReaderWithEntryList ( TEntryList globalList,
Long64_t  start,
Long64_t  end 
)
inlineprivate

Definition at line 110 of file TTreeProcessorMT.hxx.

Member Data Documentation

◆ fChain

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

Chain on which to operate.

Definition at line 73 of file TTreeProcessorMT.hxx.

◆ fFriends

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

Friends of the tree/chain.

Definition at line 72 of file TTreeProcessorMT.hxx.


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