Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
InternalTreeUtils.hxx File Reference
#include "RtypesCore.h"
#include "TTree.h"
#include "TChain.h"
#include "TNotifyLink.h"
#include "TObjArray.h"
#include "ROOT/RFriendInfo.hxx"
#include <memory>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for InternalTreeUtils.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Internal::TreeUtils::RNoCleanupNotifier
 
class  ROOT::Internal::TreeUtils::RNoCleanupNotifierHelper
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Internal
 
namespace  ROOT::Internal::TreeUtils
 Namespace hosting functions and classes to retrieve tree information for internal use.
 

Functions

void ROOT::Internal::TreeUtils::ClearMustCleanupBits (TObjArray &branches)
 Reset the kMustCleanup bit of a TObjArray of TBranch objects (e.g.
 
std::vector< std::string > ROOT::Internal::TreeUtils::ExpandGlob (const std::string &glob)
 Expands input glob into a collection of full paths to files.
 
std::pair< std::vector< Long64_t >, Long64_tROOT::Internal::TreeUtils::GetClustersAndEntries (std::string_view treename, std::string_view path)
 Returns the cluster boundaries and number of entries of the input tree.
 
std::vector< std::string > ROOT::Internal::TreeUtils::GetFileNamesFromTree (const TTree &tree)
 
ROOT::TreeUtils::RFriendInfo ROOT::Internal::TreeUtils::GetFriendInfo (const TTree &tree, bool retrieveEntries=false)
 
std::vector< std::string > ROOT::Internal::TreeUtils::GetTopLevelBranchNames (TTree &t)
 Get all the top-level branches names, including the ones of the friend trees.
 
std::vector< std::string > ROOT::Internal::TreeUtils::GetTreeFullPaths (const TTree &tree)
 
std::unique_ptr< TChainROOT::Internal::TreeUtils::MakeChainForMT (const std::string &name, const std::string &title)
 Create a TChain object with options that avoid common causes of thread contention.
 
std::vector< std::unique_ptr< TChain > > ROOT::Internal::TreeUtils::MakeFriends (const ROOT::TreeUtils::RFriendInfo &finfo)
 Create friends from the main TTree.
 
std::pair< bool, std::string > ROOT::Internal::TreeUtils::TreeUsesIndexedFriends (const TTree &tree)
 Check whether the input tree is using any TTreeIndex.
 

Detailed Description

Author
Enric Tejedor Saavedra
Enrico Guiraud
Vincenzo Eduardo Padulano
Date
2021-03

Definition in file InternalTreeUtils.hxx.