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 181 of file RNTupleImporter.hxx.
Classes | |
| struct | RPackedLeaf |
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. | |
| 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< ROOT::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. | |
| std::vector< RPackedLeaf > | fPackedLeaves |
| ROOT::RRecordField * | fRecordField |
| Points to the item field of the untyped collection field in the model. | |
| std::size_t | fSizeOfRecord = 0 |
| Cached after Freeze() so Import() does not reallocate GetConstSubfields() on every entry. | |
|
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 193 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 201 of file RNTupleImporter.hxx.
| std::string ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fFieldName |
name of the untyped collection, e.g.
_collection0, _collection1, etc.
Definition at line 187 of file RNTupleImporter.hxx.
| std::vector<size_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fLeafBranchIndexes |
Points to the correspondings leaf branches in fImportBranches.
Definition at line 198 of file RNTupleImporter.hxx.
| std::vector<std::unique_ptr<ROOT::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 197 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 190 of file RNTupleImporter.hxx.
| std::vector<RPackedLeaf> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fPackedLeaves |
Definition at line 209 of file RNTupleImporter.hxx.
| ROOT::RRecordField* ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fRecordField |
Points to the item field of the untyped collection field in the model.
Definition at line 199 of file RNTupleImporter.hxx.
| std::size_t ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fSizeOfRecord = 0 |
Cached after Freeze() so Import() does not reallocate GetConstSubfields() on every entry.
Definition at line 203 of file RNTupleImporter.hxx.