11#ifndef ROOT_RDF_RSAMPLE
12#define ROOT_RDF_RSAMPLE
21namespace Experimental {
67 RSample(
const std::string &sampleName,
const std::string &treeName,
const std::string &fileNameGlob,
70 RSample(
const std::string &sampleName,
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
73 RSample(
const std::string &sampleName,
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
74 const RMetaData &metaData = {});
76 RSample(
const std::string &sampleName,
const std::vector<std::string> &treeNames,
77 const std::vector<std::string> &fileNameGlobs,
const RMetaData &metaData = {});
85 unsigned int GetSampleId()
const;
86 void SetSampleId(
unsigned int id);
Class representing a sample which is a grouping of trees and their fileglobs, and,...
const std::string & GetSampleName() const
Get the name of the sample (RSample object).
const std::vector< std::string > & GetFileNameGlobs() const
Get the collection of the filename globs associated with the sample.
RMetaData fMetaData
An instance of the RMetaData class.
std::vector< std::string > fFileNameGlobs
A list of file names.
const std::vector< std::string > & GetTreeNames() const
Get the collection of the tree names associated with the sample.
RSample & operator=(const RSample &)=default
RSample(const RSample &)=default
unsigned int fSampleId
Global sample index, set inside of the RDatasetSpec.
RSample(RSample &&)=default
std::string fSampleName
Name of the sample.
RSample & operator=(RSample &&)=default
const RMetaData & GetMetaData() const
Get an instance of the RMetaData class.
std::vector< std::string > fTreeNames
A list of names of trees.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...