|
ROOT 6.12/06 Reference Guide |
Definition at line 56 of file TTreeProcessorMT.hxx.
Public Types | |
| using | TreeReaderEntryListPair = std::pair< std::unique_ptr< TTreeReader >, std::unique_ptr< TEntryList >> |
| Get a TTreeReader for the current tree of this view. More... | |
Public Member Functions | |
| TTreeView (std::string_view fn, std::string_view tn) | |
| Constructor based on a file name. More... | |
| TTreeView (const std::vector< std::string_view > &fns, std::string_view tn) | |
| Constructor based on a collection of file names. More... | |
| TTreeView (TTree &tree) | |
| Constructor based on a TTree. More... | |
| TTreeView (TTree &tree, TEntryList &entries) | |
| Constructor based on a TTree and a TEntryList. More... | |
| TTreeView (const TTreeView &view) | |
| Copy constructor. More... | |
| const std::vector< std::string > & | GetFileNames () const |
| Get the filenames for this view. More... | |
| std::string | GetTreeName () const |
| Get the name of the tree of this view. More... | |
| TreeReaderEntryListPair | GetTreeReader (Long64_t start, Long64_t end) |
| void | PushLoadedEntry (Long64_t entry) |
| Push a new loaded entry to the stack. More... | |
| void | RestoreLoadedEntry () |
| Restore the tree of the previous loaded entry, if any. More... | |
Private Types | |
| typedef std::pair< std::string, std::string > | NameAlias |
Private Member Functions | |
| void | Init () |
| Initialize TTreeView. More... | |
| void | StoreFriends (const TTree &tree, bool isTree) |
| Get and store the names, aliases and file names of the friends of the tree. More... | |
Private Attributes | |
| std::unique_ptr< TChain > | fChain |
| Chain on which to operate. More... | |
| TEntryList | fEntryList |
| Entry numbers to be processed. More... | |
| std::vector< std::string > | fFileNames |
| Names of the files. More... | |
| std::vector< std::vector < std::string > > | fFriendFileNames |
| Names of the files where friends are stored. More... | |
| std::vector< NameAlias > | fFriendNames |
| <name,alias> pairs of the friends of the tree/chain More... | |
| std::vector< std::unique_ptr < TChain > > | fFriends |
| Friends of the tree/chain. More... | |
| std::vector< Long64_t > | fLoadedEntries |
| ! Per-task loaded entries (for task interleaving) More... | |
| std::string | fTreeName |
| Name of the tree. More... | |
#include <ROOT/TTreeProcessorMT.hxx>
|
private |
Definition at line 58 of file TTreeProcessorMT.hxx.
| using ROOT::Internal::TTreeView::TreeReaderEntryListPair = std::pair<std::unique_ptr<TTreeReader>, std::unique_ptr<TEntryList>> |
Get a TTreeReader for the current tree of this view.
Definition at line 252 of file TTreeProcessorMT.hxx.
|
inline |
Constructor based on a file name.
| [in] | fn | Name of the file containing the tree to process. |
| [in] | tn | Name of the tree to process. If not provided, the implementation will automatically search for a tree in the file. |
Definition at line 158 of file TTreeProcessorMT.hxx.
|
inline |
Constructor based on a collection of file names.
| [in] | fns | Collection of file names containing the tree to process. |
| [in] | tn | Name of the tree to process. If not provided, the implementation will automatically search for a tree in the collection of files. |
Definition at line 170 of file TTreeProcessorMT.hxx.
|
inline |
Constructor based on a TTree.
| [in] | tree | Tree or chain of files containing the tree to process. |
Definition at line 186 of file TTreeProcessorMT.hxx.
|
inline |
Constructor based on a TTree and a TEntryList.
| [in] | tree | Tree or chain of files containing the tree to process. |
| [in] | entries | List of entry numbers to process. |
Definition at line 220 of file TTreeProcessorMT.hxx.
|
inline |
Copy constructor.
| [in] | view | Object to copy. |
Definition at line 231 of file TTreeProcessorMT.hxx.
|
inline |
Get the filenames for this view.
Definition at line 281 of file TTreeProcessorMT.hxx.
|
inline |
Get the name of the tree of this view.
Definition at line 288 of file TTreeProcessorMT.hxx.
|
inline |
Definition at line 253 of file TTreeProcessorMT.hxx.
Initialize TTreeView.
Definition at line 71 of file TTreeProcessorMT.hxx.
Push a new loaded entry to the stack.
Definition at line 295 of file TTreeProcessorMT.hxx.
|
inline |
Restore the tree of the previous loaded entry, if any.
Definition at line 299 of file TTreeProcessorMT.hxx.
Get and store the names, aliases and file names of the friends of the tree.
Definition at line 118 of file TTreeProcessorMT.hxx.
|
private |
Chain on which to operate.
Definition at line 60 of file TTreeProcessorMT.hxx.
|
private |
Entry numbers to be processed.
Definition at line 63 of file TTreeProcessorMT.hxx.
|
private |
Names of the files.
Definition at line 61 of file TTreeProcessorMT.hxx.
|
private |
Names of the files where friends are stored.
Definition at line 66 of file TTreeProcessorMT.hxx.
|
private |
<name,alias> pairs of the friends of the tree/chain
Definition at line 65 of file TTreeProcessorMT.hxx.
|
private |
Friends of the tree/chain.
Definition at line 67 of file TTreeProcessorMT.hxx.
|
private |
! Per-task loaded entries (for task interleaving)
Definition at line 64 of file TTreeProcessorMT.hxx.
|
private |
Name of the tree.
Definition at line 62 of file TTreeProcessorMT.hxx.