Leaf count arrays require special treatment.
They are translated into untyped collections of untyped records. This class does the bookkeeping of the sub-schema for these collections.
Definition at line 173 of file RNTupleImporter.hxx.
Public Member Functions | |
RImportLeafCountCollection ()=default | |
RImportLeafCountCollection (const RImportLeafCountCollection &other)=delete | |
RImportLeafCountCollection (RImportLeafCountCollection &&other)=default | |
RImportLeafCountCollection & | operator= (const RImportLeafCountCollection &other)=delete |
RImportLeafCountCollection & | operator= (RImportLeafCountCollection &&other)=default |
Public Attributes | |
std::unique_ptr< Int_t > | fCountVal |
The number of elements for the collection for a particular event. | |
std::vector< unsigned char > | fFieldBuffer |
The collection field memory representation. Bound to the entry. | |
std::string | fFieldName |
name of the untyped collection, e.g. | |
std::vector< size_t > | fLeafBranchIndexes |
Points to the correspondings leaf branches in fImportBranches. | |
std::vector< std::unique_ptr< RFieldBase > > | fLeafFields |
The leafs of the array as we encounter them traversing the TTree schema. | |
Int_t | fMaxLength = 0 |
Stores count leaf GetMaximum() to create large enough buffers for the array leafs. | |
RRecordField * | fRecordField = nullptr |
Points to the item field of the untyped collection field in the model. | |
|
default |
|
delete |
|
default |
|
delete |
|
default |
std::unique_ptr<Int_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCountVal |
The number of elements for the collection for a particular event.
Used as a destination for SetBranchAddress() of the count leaf
Definition at line 185 of file RNTupleImporter.hxx.
std::vector<unsigned char> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fFieldBuffer |
The collection field memory representation. Bound to the entry.
Definition at line 192 of file RNTupleImporter.hxx.
std::string ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fFieldName |
name of the untyped collection, e.g.
_collection0
, _collection1
, etc.
Definition at line 179 of file RNTupleImporter.hxx.
std::vector<size_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fLeafBranchIndexes |
Points to the correspondings leaf branches in fImportBranches.
Definition at line 190 of file RNTupleImporter.hxx.
std::vector<std::unique_ptr<RFieldBase> > ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fLeafFields |
The leafs of the array as we encounter them traversing the TTree schema.
Eventually, the fields are moved as leaves to an untyped collection of untyped records that in turn is attached to the RNTuple model.
Definition at line 189 of file RNTupleImporter.hxx.
Int_t ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fMaxLength = 0 |
Stores count leaf GetMaximum() to create large enough buffers for the array leafs.
Uses Int_t because that is the return type if TLeaf::GetMaximum().
Definition at line 182 of file RNTupleImporter.hxx.
RRecordField* ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fRecordField = nullptr |
Points to the item field of the untyped collection field in the model.
Definition at line 191 of file RNTupleImporter.hxx.