TTree snapshot helper with systematic variations.
Definition at line 272 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 |
| auto | CallFinalizeTask (unsigned int slot) -> decltype(std::declval< T >().FinalizeTask(slot)) |
| SnapshotHelperWithVariations | CallMakeNew (void *typeErasedResSharedPtr, std::string_view variation="nominal") |
| auto | CallPartialUpdate (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr)) |
| 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 () |
| 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.
|
| 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.
|
| 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 1168 of file RDFSnapshotHelpers.cxx.