Definition at line 114 of file RChunkLoader.hxx.
Public Member Functions | |
| RChunkLoader (const std::string &treeName, const std::string &fileName, const std::size_t chunkSize, const std::vector< std::string > &cols, const std::string &filters="", const std::vector< std::size_t > &vecSizes={}, const float vecPadding=0.0) | |
| Constructor for the RChunkLoader. | |
| std::pair< std::size_t, std::size_t > | LoadChunk (TMVA::Experimental::RTensor< float > &chunkTensor, const std::size_t currentRow) |
| Load a chunk of data using the RChunkLoaderFunctor. | |
Private Member Functions | |
| std::pair< std::size_t, std::size_t > | loadFiltered (ROOT::RDataFrame &x_rdf, RChunkLoaderFunctor< Args... > &func) |
| Add filters to the RDataFrame and load a chunk of data. | |
| std::pair< std::size_t, std::size_t > | loadNonFiltered (ROOT::RDataFrame &x_rdf, RChunkLoaderFunctor< Args... > &func) |
| Loop over the events in the dataframe untill either the end of the dataframe is reached, or a full chunk is loaded. | |
Private Attributes | |
| std::size_t | fChunkSize |
| std::vector< std::string > | fCols |
| std::string | fFileName |
| std::string | fFilters |
| std::size_t | fNumColumns |
| std::string | fTreeName |
| std::size_t | fVecPadding |
| std::vector< std::size_t > | fVecSizes |
#include <TMVA/RChunkLoader.hxx>
|
inline |
Constructor for the RChunkLoader.
| treeName | |
| fileName | |
| chunkSize | |
| cols | |
| filters | |
| vecSizes | |
| vecPadding |
Definition at line 137 of file RChunkLoader.hxx.
|
inline |
Load a chunk of data using the RChunkLoaderFunctor.
| chunkTensor | |
| currentRow |
Definition at line 156 of file RChunkLoader.hxx.
|
inlineprivate |
Add filters to the RDataFrame and load a chunk of data.
| x_rdf | |
| func |
Definition at line 184 of file RChunkLoader.hxx.
|
inlineprivate |
Loop over the events in the dataframe untill either the end of the dataframe is reached, or a full chunk is loaded.
| x_rdf | |
| func |
Definition at line 210 of file RChunkLoader.hxx.
|
private |
Definition at line 119 of file RChunkLoader.hxx.
|
private |
Definition at line 122 of file RChunkLoader.hxx.
|
private |
Definition at line 118 of file RChunkLoader.hxx.
|
private |
Definition at line 123 of file RChunkLoader.hxx.
|
private |
Definition at line 120 of file RChunkLoader.hxx.
|
private |
Definition at line 117 of file RChunkLoader.hxx.
|
private |
Definition at line 126 of file RChunkLoader.hxx.
|
private |
Definition at line 125 of file RChunkLoader.hxx.