Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ROOTCOLLECTION_ROOTCOLLECTION_H
6 #define ROOTCOLLECTION_ROOTCOLLECTION_H
13 #include "CoralBase/MessageStream.h"
15 #include "GaudiKernel/IFileMgr.h"
16 #include "GaudiKernel/SmartIF.h"
17 #include "Gaudi/PluginService.h"
31 namespace RootCollection {
34 class AttributeSpecification;
115 virtual
void open() final override;
124 virtual
void commit(
bool restartTransaction = false ) final override;
127 virtual
void close() final override;
virtual void open() final override
Explicitly re-opens the collection after it has been closed.
void readAttributeListSpecification() const
void retrieveFileCatalog() const
coral::MessageStream m_poolOut
static const char *const c_attributeListLayoutName
~RootCollection()
Destructor.
ICollection::OpenMode m_mode
void writeAttributeListSpecification()
virtual void commit(bool restartTransaction=false) final override
Commits the last changes made to the collection.
void delayedFileOpen(const std::string &method)
virtual ICollection::OpenMode openMode() const final override
Return openMode.
std::unique_ptr< pool::IFileCatalog > m_fileCatalog
bool const RAWDATA *ch2 const
static const char *const poolOptToRootOpt[]
static const char *const c_tokenBranchName
bool fileCatalogRequired() const
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer) final override
Adds a new row of data to the collection.
Collection (and CollectionProxy) implementation based on ROOT trees.
virtual void addTreeBranch(const std::string &name, const std::string &type_name)
std::string retrieveUniquePFN(const FileCatalog::FileID &fid)
OpenMode
Enumeration of the possible open modes of the collection.
virtual void close() final override
Explicitly closes the collection.
static const Io::IoFlags poolOptToFileMgrOpt[]
SmartIF< IFileMgr > m_fileMgr
std::string retrievePFN() const
Gaudi::PluginService::Factory< ICollection *(const ICollectionDescription *, ICollection::OpenMode, ISession *)> Factory
std::string retrieveBestPFN(const FileCatalog::FileID &fid) const
virtual const ICollectionDescription & description() const final override
Returns an object used to describe the collection properties.
std::string retrieveFID()
TTree * getCollectionTree()
static const unsigned int c_maxLengthOfStrings
virtual ICollectionQuery * newQuery() final override
Returns an object used to query the collection.
virtual bool isOpen() const final override
Checks if the collection is open.
CollectionDescription m_description
RootCollection(const pool::ICollectionDescription *description, pool::ICollection::OpenMode mode, pool::ISession *)
Constructor.