![]() |
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. More... | |
const std::type_info * | auxFieldType (const ROOT::RFieldBase &field, std::string *expectedClassName=nullptr) |
This function retrieves the type information for a given auxiliary field. More... | |
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. More... | |
Public Attributes | |
Members & | m_data |
Variables coming from AuxStoreBase . More... | |
ROOT::RNTupleReader * | m_inTuple = nullptr |
The ntuple being read from. More... | |
ROOT::RNTupleWriter * | m_outTuple = nullptr |
The ntuple being written to. More... | |
bool | m_inputScanned = false |
"Scan status" of the input RNTuple More... | |
::Long64_t | m_entry |
The entry to load from the ntuple. More... | |
std::vector< std::unique_ptr< RFieldHandle > > | m_fields |
Fields containing the various auxiliary variables. More... | |
std::vector< bool > | m_fieldsWritten |
"Write status" of the different variables More... | |
std::vector< bool > | m_missingFields |
Mark fields we've found to be missing. More... | |
mutex_t | m_mutex |
Mutex object used for multithreaded synchronisation. More... | |
Definition at line 254 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 352 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 263 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 426 of file RAuxStore.cxx.
Members& xAOD::RAuxStore::impl::m_data |
Variables coming from AuxStoreBase
.
Definition at line 572 of file RAuxStore.cxx.
::Long64_t xAOD::RAuxStore::impl::m_entry |
The entry to load from the ntuple.
Definition at line 583 of file RAuxStore.cxx.
std::vector<std::unique_ptr<RFieldHandle> > xAOD::RAuxStore::impl::m_fields |
Fields containing the various auxiliary variables.
Definition at line 586 of file RAuxStore.cxx.
std::vector<bool> xAOD::RAuxStore::impl::m_fieldsWritten |
"Write status" of the different variables
Definition at line 588 of file RAuxStore.cxx.
bool xAOD::RAuxStore::impl::m_inputScanned = false |
"Scan status" of the input RNTuple
Definition at line 580 of file RAuxStore.cxx.
ROOT::RNTupleReader* xAOD::RAuxStore::impl::m_inTuple = nullptr |
The ntuple being read from.
Definition at line 575 of file RAuxStore.cxx.
std::vector<bool> xAOD::RAuxStore::impl::m_missingFields |
Mark fields we've found to be missing.
Definition at line 590 of file RAuxStore.cxx.
|
mutable |
Mutex object used for multithreaded synchronisation.
Definition at line 593 of file RAuxStore.cxx.
ROOT::RNTupleWriter* xAOD::RAuxStore::impl::m_outTuple = nullptr |
The ntuple being written to.
Definition at line 577 of file RAuxStore.cxx.