|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "ROOT/RNTupleReader.hxx"
20 std::recursive_mutex* iomtx )
22 m_reader( aux_reader )
31 if( fieldInfo.status == RNTupleAuxDynReader::FieldInfo::NotFound )
return false;
35 if( fieldInfo.isPackedContainer ) {
45 : std::unique_lock<std::recursive_mutex>();
48 fieldInfo.view_p->BindRawPtr(
data);
53 throw std::string(
"Error reading field ") + fieldInfo.fieldName;
58 catch(
const std::string&
e_str) {
65 if (linked_auxid != SG::null_auxid) {
char data[hepevt_bytes_allocation_ATLAS]
virtual bool readData(SG::auxid_t auxid) override final
read data from ROOT and store it in m_vecs. Returns False on error
RNTupleAuxDynStore(RootAuxDynIO::RNTupleAuxDynReader &aux_reader, long long entry, bool standalone, std::recursive_mutex *iomtx=nullptr)
static AuxTypeRegistry & instance()
Return the singleton registry instance.
RootAuxDynIO::RNTupleAuxDynReader & m_reader
#define ATHCONTAINERS_ERROR(ctx, msg)
Exceptions that can be thrown from AthContainers.
const FieldInfo & getFieldInfo(const SG::auxid_t &auxid, const SG::AuxStoreInternal &store)
get field informatino for auxid
Hold information about an option setting request.
Handle mappings between names and auxid_t.
size_t auxid_t
Identifier for a particular aux data item.
Helper for emitting error messages.
virtual bool setOption(auxid_t id, const AuxDataOption &option) override
Set an option for an auxiliary data variable.
virtual void * getDataInternal(SG::auxid_t auxid, size_t size, size_t capacity, bool no_lock_check)
Return the data vector for one aux data item.
virtual const void * getIOData(SG::auxid_t auxid) const override
Return a pointer to the data to be stored for one aux data item.
Hold information about an option setting request.
Specialization of RootAuxDynStore for reading Aux Dynamic attributes from RNTuple.
Handle mappings between names and auxid_t.
#define ATLAS_THREAD_SAFE
std::recursive_mutex * m_iomutex
Optional mutex used to serialize I/O with RootStorageSvc (not owned)
void addBytes(size_t bytes)