Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
InternalTreeUtils.hxx File Reference
#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
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
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::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.
 

Detailed Description

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

Definition in file InternalTreeUtils.hxx.