Logo ROOT  
Reference Guide
No Matches
TTreeView Class Reference

A helper class that encapsulates a file and a tree.

A helper class that encapsulates a TFile and a TTree, along with their names. It is used together with TTProcessor and ROOT::TThreadedObject, so that in the TTProcessor::Process method each thread can work on its own <TFile,TTree> pair.

This class can also be used with a collection of file names or a TChain, in case the tree is stored in more than one file. A view will always contain only the current (active) tree and file objects.

A copy constructor is defined for TTreeView to work with ROOT::TThreadedObject. The latter makes a copy of a model object every time a new thread accesses the threaded object.

#include <ROOT/TTreeProcessorMT.hxx>

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