Class representing a sample (grouping of trees (and their fileglobs) and (optional) metadata)
This class should be passed to RDatasetSpec in order to build a RDataFrame.
Definition at line 29 of file RSample.hxx.
|
| RSample ()=delete |
|
| RSample (const RSample &)=default |
|
| RSample (const std::string &sampleName, const std::string &treeName, const std::string &fileNameGlob, const RMetaData &metaData={}) |
|
| RSample (const std::string &sampleName, const std::string &treeName, const std::vector< std::string > &fileNameGlobs, const RMetaData &metaData={}) |
|
| RSample (const std::string &sampleName, const std::vector< std::pair< std::string, std::string > > &treeAndFileNameGlobs, const RMetaData &metaData={}) |
|
| RSample (const std::string &sampleName, const std::vector< std::string > &treeNames, const std::vector< std::string > &fileNameGlobs, const RMetaData &metaData={}) |
|
| RSample (RSample &&)=default |
|
const std::vector< std::string > & | GetFileNameGlobs () const |
|
const RMetaData & | GetMetaData () const |
|
const std::string & | GetSampleName () const |
|
const std::vector< std::string > & | GetTreeNames () const |
|
RSample & | operator= (const RSample &)=default |
|
RSample & | operator= (RSample &&)=default |
|
#include <ROOT/RDF/RSample.hxx>
◆ RSample() [1/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
RSample && |
| ) |
|
|
default |
◆ RSample() [2/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
const RSample & |
| ) |
|
|
default |
◆ RSample() [3/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
| ) |
|
|
delete |
◆ RSample() [4/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
treeName, |
|
|
const std::string & |
fileNameGlob, |
|
|
const RMetaData & |
metaData = {} |
|
) |
| |
◆ RSample() [5/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
const std::string & |
sampleName, |
|
|
const std::string & |
treeName, |
|
|
const std::vector< std::string > & |
fileNameGlobs, |
|
|
const RMetaData & |
metaData = {} |
|
) |
| |
◆ RSample() [6/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
const std::string & |
sampleName, |
|
|
const std::vector< std::pair< std::string, std::string > > & |
treeAndFileNameGlobs, |
|
|
const RMetaData & |
metaData = {} |
|
) |
| |
◆ RSample() [7/7]
ROOT::RDF::Experimental::RSample::RSample |
( |
const std::string & |
sampleName, |
|
|
const std::vector< std::string > & |
treeNames, |
|
|
const std::vector< std::string > & |
fileNameGlobs, |
|
|
const RMetaData & |
metaData = {} |
|
) |
| |
◆ GetFileNameGlobs()
const std::vector< std::string > & ROOT::RDF::Experimental::RSample::GetFileNameGlobs |
( |
| ) |
const |
◆ GetMetaData()
const RMetaData & ROOT::RDF::Experimental::RSample::GetMetaData |
( |
| ) |
const |
◆ GetSampleName()
const std::string & ROOT::RDF::Experimental::RSample::GetSampleName |
( |
| ) |
const |
◆ GetTreeNames()
const std::vector< std::string > & ROOT::RDF::Experimental::RSample::GetTreeNames |
( |
| ) |
const |
◆ operator=() [1/2]
RSample & ROOT::RDF::Experimental::RSample::operator= |
( |
const RSample & |
| ) |
|
|
default |
◆ operator=() [2/2]
◆ fFileNameGlobs
std::vector<std::string> ROOT::RDF::Experimental::RSample::fFileNameGlobs |
|
private |
A list of file names.
They can contain the globbing characters supported by TChain. See TChain::Add for more information.
Definition at line 42 of file RSample.hxx.
◆ fMetaData
RMetaData ROOT::RDF::Experimental::RSample::fMetaData |
|
private |
◆ fSampleId
unsigned int ROOT::RDF::Experimental::RSample::fSampleId {0} |
|
private |
◆ fSampleName
std::string ROOT::RDF::Experimental::RSample::fSampleName |
|
private |
◆ fTreeNames
std::vector<std::string> ROOT::RDF::Experimental::RSample::fTreeNames |
|
private |
A list of names of trees.
This list should go in lockstep with fFileNameGlobs, only in case this dataset is a TChain where each file contains its own tree with a different name from the global name of the dataset. Otherwise, fTreeNames contains 1 treename, that is common for all file globs.
Definition at line 37 of file RSample.hxx.
The documentation for this class was generated from the following files: