![]() |
ATLAS Offline Software
|
Public Member Functions | |
| StatusCode | scanInputTuple () |
| Scans the input ntuple for auxiliary data fields and sets up the necessary structures to access them. | |
| const std::type_info * | auxFieldType (const ROOT::RFieldBase &field, std::string *expectedClassName=nullptr) |
| This function retrieves the type information for a given auxiliary field. | |
| StatusCode | setupAuxField (const ROOT::RFieldBase &field, std::string_view auxName) |
| This function sets up an auxiliary field by determining its type and attempting to register it with the auxiliary type registry. | |
| impl (const EventContext &ctx, Members &data) | |
Public Attributes | |
| const EventContext & | m_ctx |
| The context for this event. | |
| Members & | m_data |
Variables coming from AuxStoreBase. | |
| ROOT::RNTupleReader * | m_inTuple = nullptr |
| The ntuple being read from. | |
| ROOT::RNTupleWriter * | m_outTuple = nullptr |
| The ntuple being written to. | |
| bool | m_inputScanned = false |
| "Scan status" of the input RNTuple | |
| ::Long64_t | m_entry = 0 |
| The entry to load from the ntuple. | |
| std::vector< std::unique_ptr< RFieldHandle > > | m_fields |
| Fields containing the various auxiliary variables. | |
| std::vector< bool > | m_fieldsWritten |
| "Write status" of the different variables | |
| std::vector< bool > | m_missingFields |
| Mark fields we've found to be missing. | |
| mutex_t | m_mutex |
| Mutex object used for multithreaded synchronisation. | |
Definition at line 250 of file RAuxStore.cxx.
Definition at line 571 of file RAuxStore.cxx.
|
inline |
This function retrieves the type information for a given auxiliary field.
It uses the field's inspector to determine the type and handles cases where the expected class or collection proxy is not available.
| field | The field to get the type of |
| expectedClassName | The (optional) name of the expected (on disk) class |
Definition at line 351 of file RAuxStore.cxx.
|
inline |
Scans the input ntuple for auxiliary data fields and sets up the necessary structures to access them.
It ensures that the input ntuple is properly scanned and the auxiliary data fields are set up.
StatusCode::SUCCESS if the function was successful, something else otherwise Definition at line 259 of file RAuxStore.cxx.
|
inline |
This function sets up an auxiliary field by determining its type and attempting to register it with the auxiliary type registry.
If the field type is not known, it tries to create a factory for the field's type. The function handles both static and dynamic fields and updates the set of known auxiliary IDs upon success.
| field | The field to set up |
| auxName | The name of the auxiliary property, extracted from the field's name |
StatusCode::SUCCESS if the function was successful, something else otherwise Definition at line 425 of file RAuxStore.cxx.
| const EventContext& xAOD::RAuxStore::impl::m_ctx |
The context for this event.
Definition at line 576 of file RAuxStore.cxx.
| Members& xAOD::RAuxStore::impl::m_data |
Variables coming from AuxStoreBase.
Definition at line 579 of file RAuxStore.cxx.
| ::Long64_t xAOD::RAuxStore::impl::m_entry = 0 |
The entry to load from the ntuple.
Definition at line 590 of file RAuxStore.cxx.
| std::vector<std::unique_ptr<RFieldHandle> > xAOD::RAuxStore::impl::m_fields |
Fields containing the various auxiliary variables.
Definition at line 593 of file RAuxStore.cxx.
| std::vector<bool> xAOD::RAuxStore::impl::m_fieldsWritten |
"Write status" of the different variables
Definition at line 595 of file RAuxStore.cxx.
| bool xAOD::RAuxStore::impl::m_inputScanned = false |
"Scan status" of the input RNTuple
Definition at line 587 of file RAuxStore.cxx.
| ROOT::RNTupleReader* xAOD::RAuxStore::impl::m_inTuple = nullptr |
The ntuple being read from.
Definition at line 582 of file RAuxStore.cxx.
| std::vector<bool> xAOD::RAuxStore::impl::m_missingFields |
Mark fields we've found to be missing.
Definition at line 597 of file RAuxStore.cxx.
|
mutable |
Mutex object used for multithreaded synchronisation.
Definition at line 600 of file RAuxStore.cxx.
| ROOT::RNTupleWriter* xAOD::RAuxStore::impl::m_outTuple = nullptr |
The ntuple being written to.
Definition at line 584 of file RAuxStore.cxx.