Leaf count arrays require special treatment.
They are translated into RNTuple untyped collections. 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< REntry > | fCollectionEntry |
Keeps the memory location of the collection members. | |
std::unique_ptr< RNTupleModel > | fCollectionModel |
The model for the collection itself. | |
std::shared_ptr< RNTupleCollectionWriter > | fCollectionWriter |
Used to fill the collection elements per event. | |
std::unique_ptr< Int_t > | fCountVal |
The number of elements for the collection for a particular event. | |
std::string | fFieldName |
name of the untyped collection, e.g. _collection0 , _collection1 , etc. | |
std::vector< size_t > | fImportFieldIndexes |
Points to the correspondings fields in fImportFields. | |
Int_t | fMaxLength = 0 |
Stores count leaf GetMaximum() to create large enough buffers for the array leafs. | |
std::vector< std::unique_ptr< RImportTransformation > > | fTransformations |
One transformation for every field, to copy the content of the array one by one. | |
|
default |
|
delete |
|
default |
|
delete |
|
default |
std::unique_ptr<REntry> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionEntry |
Keeps the memory location of the collection members.
Definition at line 181 of file RNTupleImporter.hxx.
std::unique_ptr<RNTupleModel> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionModel |
The model for the collection itself.
Definition at line 179 of file RNTupleImporter.hxx.
std::shared_ptr<RNTupleCollectionWriter> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionWriter |
Used to fill the collection elements per event.
Definition at line 180 of file RNTupleImporter.hxx.
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 184 of file RNTupleImporter.hxx.
std::string ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fFieldName |
name of the untyped collection, e.g. _collection0
, _collection1
, etc.
Definition at line 189 of file RNTupleImporter.hxx.
std::vector<size_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fImportFieldIndexes |
Points to the correspondings fields in fImportFields.
Definition at line 185 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.
Definition at line 188 of file RNTupleImporter.hxx.
std::vector<std::unique_ptr<RImportTransformation> > ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fTransformations |
One transformation for every field, to copy the content of the array one by one.
Definition at line 187 of file RNTupleImporter.hxx.