Definition at line 204 of file SnapshotHelpers.hxx.
|
| | UntypedSnapshotTTreeHelperMT (const UntypedSnapshotTTreeHelperMT &)=delete |
| |
| | UntypedSnapshotTTreeHelperMT (unsigned int nSlots, std::string_view filename, std::string_view dirname, std::string_view treename, const ColumnNames_t &vbnames, const ColumnNames_t &bnames, const RSnapshotOptions &options, std::vector< bool > &&isDefine, ROOT::Detail::RDF::RLoopManager *loopManager, ROOT::Detail::RDF::RLoopManager *inputLM, const std::vector< const std::type_info * > &colTypeIDs) |
| |
| | UntypedSnapshotTTreeHelperMT (UntypedSnapshotTTreeHelperMT &&) noexcept |
| |
| | ~UntypedSnapshotTTreeHelperMT () final |
| |
| void | Exec (unsigned int slot, const std::vector< void * > &values) |
| |
| void | Finalize () |
| |
| void | FinalizeTask (unsigned int slot) |
| |
| std::string | GetActionName () |
| |
| ROOT::RDF::SampleCallback_t | GetSampleCallback () final |
| | Override this method to register a callback that is executed before the processing a new data sample starts.
|
| |
| void | Initialize () |
| |
| void | InitTask (TTreeReader *r, unsigned int slot) |
| |
| UntypedSnapshotTTreeHelperMT | MakeNew (void *newName, std::string_view="nominal") |
| | Create a new UntypedSnapshotTTreeHelperMT with a different output file name.
|
| |
| UntypedSnapshotTTreeHelperMT & | operator= (const UntypedSnapshotTTreeHelperMT &)=delete |
| |
| UntypedSnapshotTTreeHelperMT & | operator= (UntypedSnapshotTTreeHelperMT &&) noexcept |
| |
| void | SetBranches (unsigned int slot, const std::vector< void * > &values) |
| |
| void | SetEmptyBranches (TTree *inputTree, TTree &outputTree) |
| |
| void | UpdateCArraysPtrs (unsigned int slot, const std::vector< void * > &values) |
| |
| virtual | ~RActionImpl ()=default |
| |
| auto | CallFinalizeTask (unsigned int slot) -> decltype(std::declval< T >().FinalizeTask(slot)) |
| |
| void | CallFinalizeTask (unsigned int, Args...) |
| |
| UntypedSnapshotTTreeHelperMT | CallMakeNew (void *typeErasedResSharedPtr, std::string_view variation="nominal") |
| |
| void * | CallPartialUpdate (...) |
| |
| auto | CallPartialUpdate (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr)) |
| |
| virtual std::unique_ptr< RMergeableValueBase > | GetMergeableValue () const |
| |
#include <ROOT/RDF/SnapshotHelpers.hxx>
◆ UntypedSnapshotTTreeHelperMT() [1/3]
| ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::UntypedSnapshotTTreeHelperMT |
( |
unsigned int | nSlots, |
|
|
std::string_view | filename, |
|
|
std::string_view | dirname, |
|
|
std::string_view | treename, |
|
|
const ColumnNames_t & | vbnames, |
|
|
const ColumnNames_t & | bnames, |
|
|
const RSnapshotOptions & | options, |
|
|
std::vector< bool > && | isDefine, |
|
|
ROOT::Detail::RDF::RLoopManager * | loopManager, |
|
|
ROOT::Detail::RDF::RLoopManager * | inputLM, |
|
|
const std::vector< const std::type_info * > & | colTypeIDs ) |
◆ UntypedSnapshotTTreeHelperMT() [2/3]
◆ UntypedSnapshotTTreeHelperMT() [3/3]
◆ ~UntypedSnapshotTTreeHelperMT()
| ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::~UntypedSnapshotTTreeHelperMT |
( |
| ) |
|
|
final |
◆ Exec()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Exec |
( |
unsigned int | slot, |
|
|
const std::vector< void * > & | values ) |
◆ Finalize()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Finalize |
( |
| ) |
|
◆ FinalizeTask()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::FinalizeTask |
( |
unsigned int | slot | ) |
|
◆ GetActionName()
| std::string ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::GetActionName |
( |
| ) |
|
|
inline |
◆ GetSampleCallback()
◆ Initialize()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Initialize |
( |
| ) |
|
◆ InitTask()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::InitTask |
( |
TTreeReader * | r, |
|
|
unsigned int | slot ) |
◆ MakeNew()
Create a new UntypedSnapshotTTreeHelperMT with a different output file name.
- Parameters
-
| newName | A type-erased string with the output file name |
- Returns
- UntypedSnapshotTTreeHelperMT
This MakeNew implementation is tied to the cloning feature of actions of the computation graph. In particular, cloning a Snapshot node usually also involves changing the name of the output file, otherwise the cloned Snapshot would overwrite the same file.
Definition at line 840 of file RDFSnapshotHelpers.cxx.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetBranches()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::SetBranches |
( |
unsigned int | slot, |
|
|
const std::vector< void * > & | values ) |
◆ SetEmptyBranches()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::SetEmptyBranches |
( |
TTree * | inputTree, |
|
|
TTree & | outputTree ) |
◆ UpdateCArraysPtrs()
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::UpdateCArraysPtrs |
( |
unsigned int | slot, |
|
|
const std::vector< void * > & | values ) |
◆ fBranchAddressesNeedReset
| std::vector<int> ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fBranchAddressesNeedReset |
|
private |
◆ fBranchData
| std::vector<std::vector<RBranchData> > ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fBranchData |
|
private |
◆ fDirName
| std::string ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fDirName |
|
private |
◆ fFileName
| std::string ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fFileName |
|
private |
◆ fInputLoopManager
◆ fInputTrees
| std::vector<TTree *> ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fInputTrees |
|
private |
◆ fMerger
| std::unique_ptr<ROOT::TBufferMerger> ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fMerger |
|
private |
◆ fNSlots
| unsigned int ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fNSlots |
|
private |
◆ fOptions
◆ fOutputFile
| TFile* ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fOutputFile |
|
private |
◆ fOutputFiles
| std::vector<std::shared_ptr<ROOT::TBufferMergerFile> > ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fOutputFiles |
|
private |
◆ fOutputLoopManager
◆ fOutputTrees
| std::vector<std::unique_ptr<TTree> > ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fOutputTrees |
|
private |
◆ fTreeName
| std::string ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::fTreeName |
|
private |
The documentation for this class was generated from the following files: