11#ifndef ROOT_RDF_RSAMPLE
12#define ROOT_RDF_RSAMPLE
21namespace Experimental {
54 RSample(
const std::string &sampleName,
const std::string &treeName,
const std::string &fileNameGlob,
57 RSample(
const std::string &sampleName,
const std::string &treeName,
const std::vector<std::string> &fileNameGlobs,
60 RSample(
const std::string &sampleName,
const std::vector<std::pair<std::string, std::string>> &treeAndFileNameGlobs,
61 const RMetaData &metaData = {});
63 RSample(
const std::string &sampleName,
const std::vector<std::string> &treeNames,
64 const std::vector<std::string> &fileNameGlobs,
const RMetaData &metaData = {});
72 unsigned int GetSampleId()
const;
73 void SetSampleId(
unsigned int id);
Class representing a sample (grouping of trees (and their fileglobs) and (optional) metadata)
const std::string & GetSampleName() const
const std::vector< std::string > & GetFileNameGlobs() const
std::vector< std::string > fFileNameGlobs
A list of file names.
const std::vector< std::string > & GetTreeNames() const
RSample & operator=(const RSample &)=default
RSample(const RSample &)=default
RSample(RSample &&)=default
RSample & operator=(RSample &&)=default
const RMetaData & GetMetaData() const
std::vector< std::string > fTreeNames
A list of names of trees.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.