|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RNTCOLLECTION_COLLECTIONSCHEMAEDITOR_H
6 #define RNTCOLLECTION_COLLECTIONSCHEMAEDITOR_H
15 #include "CoralBase/MessageStream.h"
25 class ICollectionColumn;
27 namespace RootCollection {
65 const std::string& columnName,
66 const std::string& columnType,
67 const std::string& annotation =
"",
69 bool sizeIsFixed =
true );
80 const std::string& columnName,
81 const std::type_info& columnType,
82 const std::string& annotation =
"",
84 bool sizeIsFixed =
true );
92 const std::string& columnName,
93 const std::string& annotation =
"" );
98 const std::string& columnName,
99 const std::string& annotation );
CollectionDescription & m_description
ROOT::Experimental::RNTupleReader RNTupleReader
virtual void dropColumn(const std::string &columnName)
Removes a column from the collection.
virtual void renameColumn(const std::string &oldName, const std::string &newName)
Renames a column of the collection.
Collection (and CollectionProxy) implementation based on RNTuple.
virtual const ICollectionColumn & insertColumn(const std::string &columnName, const std::string &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true)
Adds a new column to the collection.
virtual const ICollectionColumn & insertColumn(const std::string &columnName, const std::type_info &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true)
Adds a new column to the collection.
ROOT::Experimental::RNTupleReader RNTupleReader
coral::MessageStream m_poolOut
void readSchema()
get Collection Description from the RNTupleReader
RNTCollection & m_collection
RNTCollectionSchemaEditor(RNTCollection &collection, CollectionDescription &description, RNTupleReader &reader)
virtual const ICollectionColumn & insertTokenColumn(const std::string &columnName, const std::string &annotation="")
Adds a new column of type pool::Token to the collection.
virtual ~RNTCollectionSchemaEditor()
destructor.
virtual void setEventReferenceColumnName(const std::string &columnName)
Sets the name of the event reference Token column.
reader
read the goodrunslist xml file(s)
std::string description
glabal timer - how long have I taken so far?
virtual const ICollectionColumn & annotateColumn(const std::string &columnName, const std::string &annotation)
add annotation to column
void addRNTupleField(const std::string &name, const std::string &type_name)