TTree snapshot helper with systematic variations.
Definition at line 271 of file SnapshotHelpers.hxx.
|
| | SnapshotHelperWithVariations (SnapshotHelperWithVariations &&) noexcept=default |
| |
| | SnapshotHelperWithVariations (SnapshotHelperWithVariations const &) noexcept=delete |
| |
| | SnapshotHelperWithVariations (std::string_view filename, std::string_view dirname, std::string_view treename, const ColumnNames_t &, const ColumnNames_t &bnames, const RSnapshotOptions &options, std::vector< bool > &&, ROOT::Detail::RDF::RLoopManager *outputLoopMgr, ROOT::Detail::RDF::RLoopManager *inputLoopMgr, const std::vector< const std::type_info * > &colTypeIDs) |
| |
| | ~SnapshotHelperWithVariations ()=default |
| |
| void | Exec (unsigned int, const std::vector< void * > &values, std::vector< bool > const &filterPassed) |
| | Connect all output fields to the values pointed to by values, fill the output dataset, call the Fill of the output tree, and clear the mask bits that show whether a variation was reached.
|
| |
| void | Finalize () |
| |
| std::string | GetActionName () |
| |
| void | Initialize () |
| | Nothing to do. All initialisations run in the constructor or InitTask().
|
| |
| void | InitTask (TTreeReader *, unsigned int slot) |
| | Bind all output branches to RDF columns for the given slots.
|
| |
| SnapshotHelperWithVariations & | operator= (SnapshotHelperWithVariations &&) noexcept=default |
| |
| SnapshotHelperWithVariations & | operator= (SnapshotHelperWithVariations const &)=delete |
| |
| void | RegisterVariedColumn (unsigned int slot, unsigned int columnIndex, unsigned int originalColumnIndex, unsigned int varationIndex, std::string const &variationName) |
| | Register a new column as a variation of the column at originalColumnIndex, and clone its properties.
|
| |
| virtual | ~RActionImpl ()=default |
| |
| auto | CallFinalizeTask (unsigned int slot) -> decltype(std::declval< T >().FinalizeTask(slot)) |
| |
| void | CallFinalizeTask (unsigned int, Args...) |
| |
| SnapshotHelperWithVariations | 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 |
| |
| virtual ROOT::RDF::SampleCallback_t | GetSampleCallback () |
| | Override this method to register a callback that is executed before the processing a new data sample starts.
|
| |
#include <ROOT/RDF/SnapshotHelpers.hxx>
◆ SnapshotHelperWithVariations() [1/3]
◆ SnapshotHelperWithVariations() [2/3]
◆ SnapshotHelperWithVariations() [3/3]
◆ ~SnapshotHelperWithVariations()
| ROOT::Internal::RDF::SnapshotHelperWithVariations::~SnapshotHelperWithVariations |
( |
| ) |
|
|
default |
◆ ClearOutputBranches()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::ClearOutputBranches |
( |
| ) |
|
|
private |
◆ Exec()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::Exec |
( |
unsigned int | , |
|
|
const std::vector< void * > & | values, |
|
|
std::vector< bool > const & | filterPassed ) |
Connect all output fields to the values pointed to by values, fill the output dataset, call the Fill of the output tree, and clear the mask bits that show whether a variation was reached.
Definition at line 1223 of file RDFSnapshotHelpers.cxx.
◆ Finalize()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::Finalize |
( |
| ) |
|
◆ GetActionName()
| std::string ROOT::Internal::RDF::SnapshotHelperWithVariations::GetActionName |
( |
| ) |
|
|
inline |
◆ Initialize()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::Initialize |
( |
| ) |
|
|
inline |
◆ InitTask()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::InitTask |
( |
TTreeReader * | , |
|
|
unsigned int | slot ) |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ RegisterVariedColumn()
| void ROOT::Internal::RDF::SnapshotHelperWithVariations::RegisterVariedColumn |
( |
unsigned int | slot, |
|
|
unsigned int | columnIndex, |
|
|
unsigned int | originalColumnIndex, |
|
|
unsigned int | variationIndex, |
|
|
std::string const & | variationName ) |
Register a new column as a variation of the column at originalColumnIndex, and clone its properties.
If a nominal column is registered here, it is written without changes, but it means that it will be masked in case its selection cuts don't pass.
- Parameters
-
| slot | Task ID for MT runs. |
| columnIndex | Index where the data of this column will be passed into the helper. |
| originalColumnIndex | If the column being registered is a variation of a "nominal" column, this designates the original. Properties such as name and output type are cloned from the original. |
| variationName | The variation that this column belongs to. If "nominal" is used, this column is considered as the original. |
Definition at line 1179 of file RDFSnapshotHelpers.cxx.
◆ fBranchData
| std::vector<RBranchData> ROOT::Internal::RDF::SnapshotHelperWithVariations::fBranchData |
|
private |
◆ fInputLoopManager
◆ fInputTree
| TTree* ROOT::Internal::RDF::SnapshotHelperWithVariations::fInputTree = nullptr |
|
private |
◆ fOptions
◆ fOutputHandle
| std::shared_ptr<SnapshotOutputWriter> ROOT::Internal::RDF::SnapshotHelperWithVariations::fOutputHandle |
|
private |
◆ fOutputLoopManager
The documentation for this class was generated from the following files: