Logo ROOT  
Reference Guide
RLoopManager.cxx File Reference
#include "RConfigure.h"
#include "ROOT/RDF/RActionBase.hxx"
#include "ROOT/RDF/RCustomColumnBase.hxx"
#include "ROOT/RDF/RFilterBase.hxx"
#include "ROOT/RDF/RLoopManager.hxx"
#include "ROOT/RDF/RRangeBase.hxx"
#include "ROOT/RDF/RSlotStack.hxx"
#include "ROOT/TTreeProcessorMT.hxx"
#include "RtypesCore.h"
#include "TBranchElement.h"
#include "TBranchObject.h"
#include "TEntryList.h"
#include "TError.h"
#include "TInterpreter.h"
#include "TROOT.h"
#include "TTreeReader.h"
#include "ROOT/TThreadExecutor.hxx"
#include <atomic>
#include <functional>
#include <memory>
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for RLoopManager.cxx:

Functions

bool ContainsLeaf (const std::set< TLeaf * > &leaves, TLeaf *leaf)
 
void ExploreBranch (TTree &t, std::set< std::string > &bNamesReg, ColumnNames_t &bNames, TBranch *b, std::string prefix, std::string &friendName)
 
void GetBranchNamesImpl (TTree &t, std::set< std::string > &bNamesReg, ColumnNames_t &bNames, std::set< TTree * > &analysedTrees, std::string &friendName, bool allowDuplicates)
 
void UpdateList (std::set< std::string > &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName)
 This overload does not perform any check on the duplicates. More...
 
void UpdateList (std::set< std::string > &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName, std::set< TLeaf * > &foundLeaves, TLeaf *leaf, bool allowDuplicates)
 This overloads makes sure that the TLeaf has not been already inserted. More...
 

Function Documentation

◆ ContainsLeaf()

bool ContainsLeaf ( const std::set< TLeaf * > &  leaves,
TLeaf leaf 
)

Definition at line 32 of file RLoopManager.cxx.

◆ ExploreBranch()

void ExploreBranch ( TTree t,
std::set< std::string > &  bNamesReg,
ColumnNames_t &  bNames,
TBranch b,
std::string  prefix,
std::string &  friendName 
)

Definition at line 70 of file RLoopManager.cxx.

◆ GetBranchNamesImpl()

void GetBranchNamesImpl ( TTree t,
std::set< std::string > &  bNamesReg,
ColumnNames_t &  bNames,
std::set< TTree * > &  analysedTrees,
std::string &  friendName,
bool  allowDuplicates 
)

Definition at line 92 of file RLoopManager.cxx.

◆ UpdateList() [1/2]

void UpdateList ( std::set< std::string > &  bNamesReg,
ColumnNames_t &  bNames,
const std::string &  branchName,
const std::string &  friendName 
)

This overload does not perform any check on the duplicates.

It is used for TBranch objects.

Definition at line 40 of file RLoopManager.cxx.

◆ UpdateList() [2/2]

void UpdateList ( std::set< std::string > &  bNamesReg,
ColumnNames_t &  bNames,
const std::string &  branchName,
const std::string &  friendName,
std::set< TLeaf * > &  foundLeaves,
TLeaf leaf,
bool  allowDuplicates 
)

This overloads makes sure that the TLeaf has not been already inserted.

Definition at line 57 of file RLoopManager.cxx.