Definition at line 205 of file SnapshotHelpers.hxx.
Public Member Functions | |
| 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 | |
| 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)) |
| void | Exec (unsigned int slot, const std::vector< void * > &values) |
| void | Finalize () |
| void | FinalizeTask (unsigned int slot) |
| std::string | GetActionName () |
| virtual std::unique_ptr< RMergeableValueBase > | GetMergeableValue () const |
| 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) |
Private Attributes | |
| std::vector< int > | fBranchAddressesNeedReset |
| std::vector< std::vector< RBranchData > > | fBranchData |
| std::string | fDirName |
| std::string | fFileName |
| ROOT::Detail::RDF::RLoopManager * | fInputLoopManager |
| std::vector< TTree * > | fInputTrees |
| std::unique_ptr< ROOT::TBufferMerger > | fMerger |
| unsigned int | fNSlots |
| RSnapshotOptions | fOptions |
| TFile * | fOutputFile |
| std::vector< std::shared_ptr< ROOT::TBufferMergerFile > > | fOutputFiles |
| ROOT::Detail::RDF::RLoopManager * | fOutputLoopManager |
| std::vector< std::unique_ptr< TTree > > | fOutputTrees |
| std::string | fTreeName |
#include <ROOT/RDF/SnapshotHelpers.hxx>
| 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 ) |
Definition at line 601 of file RDFSnapshotHelpers.cxx.
|
delete |
|
defaultnoexcept |
|
final |
Definition at line 638 of file RDFSnapshotHelpers.cxx.
|
inlineinherited |
Definition at line 44 of file RActionImpl.hxx.
|
inlineinherited |
Definition at line 50 of file RActionImpl.hxx.
|
inlineinherited |
Definition at line 64 of file RActionImpl.hxx.
|
inlineinherited |
Definition at line 59 of file RActionImpl.hxx.
|
inlineinherited |
Definition at line 53 of file RActionImpl.hxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Exec | ( | unsigned int | slot, |
| const std::vector< void * > & | values ) |
Definition at line 695 of file RDFSnapshotHelpers.cxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Finalize | ( | ) |
Definition at line 767 of file RDFSnapshotHelpers.cxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::FinalizeTask | ( | unsigned int | slot | ) |
Definition at line 685 of file RDFSnapshotHelpers.cxx.
|
inline |
Definition at line 259 of file SnapshotHelpers.hxx.
|
inlinevirtualinherited |
Definition at line 79 of file RActionImpl.hxx.
|
inlinefinalvirtual |
Override this method to register a callback that is executed before the processing a new data sample starts.
The callback will be invoked in the same conditions as with DefinePerSample().
Reimplemented from ROOT::Detail::RDF::RActionImpl< UntypedSnapshotTTreeHelperMT >.
Definition at line 261 of file SnapshotHelpers.hxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::Initialize | ( | ) |
Definition at line 756 of file RDFSnapshotHelpers.cxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::InitTask | ( | TTreeReader * | r, |
| unsigned int | slot ) |
Definition at line 655 of file RDFSnapshotHelpers.cxx.
| ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::MakeNew | ( | void * | newName, |
| std::string_view | = "nominal" ) |
Create a new UntypedSnapshotTTreeHelperMT with a different output file name.
| newName | A type-erased string with the output file name |
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 822 of file RDFSnapshotHelpers.cxx.
|
delete |
|
defaultnoexcept |
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::SetBranches | ( | unsigned int | slot, |
| const std::vector< void * > & | values ) |
Definition at line 734 of file RDFSnapshotHelpers.cxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::SetEmptyBranches | ( | TTree * | inputTree, |
| TTree & | outputTree ) |
Definition at line 747 of file RDFSnapshotHelpers.cxx.
| void ROOT::Internal::RDF::UntypedSnapshotTTreeHelperMT::UpdateCArraysPtrs | ( | unsigned int | slot, |
| const std::vector< void * > & | values ) |
Definition at line 710 of file RDFSnapshotHelpers.cxx.
|
private |
Definition at line 213 of file SnapshotHelpers.hxx.
|
private |
Definition at line 215 of file SnapshotHelpers.hxx.
|
private |
Definition at line 220 of file SnapshotHelpers.hxx.
|
private |
Definition at line 219 of file SnapshotHelpers.hxx.
|
private |
Definition at line 228 of file SnapshotHelpers.hxx.
|
private |
Definition at line 214 of file SnapshotHelpers.hxx.
|
private |
Definition at line 210 of file SnapshotHelpers.hxx.
|
private |
Definition at line 209 of file SnapshotHelpers.hxx.
|
private |
Definition at line 223 of file SnapshotHelpers.hxx.
|
private |
Definition at line 222 of file SnapshotHelpers.hxx.
|
private |
Definition at line 211 of file SnapshotHelpers.hxx.
|
private |
Definition at line 227 of file SnapshotHelpers.hxx.
|
private |
Definition at line 212 of file SnapshotHelpers.hxx.
|
private |
Definition at line 221 of file SnapshotHelpers.hxx.