Collection (and CollectionProxy) implementation based on RNTuple.
More...
#include <RNTCollection.h>
Collection (and CollectionProxy) implementation based on RNTuple.
Definition at line 47 of file RNTCollection.h.
◆ Factory
◆ OpenMode
Enumeration of the possible open modes of the collection.
Enumerator |
---|
CREATE | |
CREATE_AND_OVERWRITE | |
UPDATE | |
READ | |
Definition at line 27 of file ICollection.h.
◆ RNTCollection() [1/2]
Constructor.
- Parameters
-
session | If you want to access the referenced objects you have to provide an ISession |
connection | The location of the collection file is uniquely defined by the parameters name and connection |
name | The location of the collection file is uniquely defined by the parameters name and connection |
mode | The open mode of the collection |
- Without use of FileCatalog:
- The path to the collection file is simply created by the following concatenation:
connection+name+".root"
- name: Name of the collection file
- connection:
- It can be a relative or absolute path
- In case of an empty connection string it is assumed that the file is located in the current directory
- Remote access via rootd: e.g. "root://pcepsft02.cern.ch:9090//localdisk/
Further documentation can be found in the class description of TNetFile (http://root.cern.ch/root/html/TNetFile.html)
- Utilization of FileCatalog:
- This mode is triggered if the name parameter starts with one of the following prefixes "PFN:", "FID:" or "LFN:".
- According to the prefix the name is interpreted as Physical File Name, unique File ID or Logical File Name
- The connection string is interpreted as URI of the FileCatalog. The collection retrieves the FileCatalog defined by the given URI from FileCatalogMap. A default file catalog (empty connection string) can be defined there.
◆ ~RNTCollection()
pool::RootCollection::RNTCollection::~RNTCollection |
( |
| ) |
|
◆ RNTCollection() [2/2]
copying unimplemented in this class.
◆ cleanup()
void pool::RootCollection::RNTCollection::cleanup |
( |
| ) |
|
|
private |
◆ close()
virtual void pool::RootCollection::RNTCollection::close |
( |
| ) |
|
|
virtual |
◆ commit()
virtual void pool::RootCollection::RNTCollection::commit |
( |
bool |
restartTransaction = false | ) |
|
|
virtual |
◆ dataEditor()
Returns an object used to add, update or delete rows of the collection.
Implements pool::ICollection.
◆ delayedFileOpen()
void pool::RootCollection::RNTCollection::delayedFileOpen |
( |
const std::string & |
method | ) |
|
|
private |
◆ description()
Returns an object used to describe the collection properties.
Implements pool::ICollection.
◆ fileCatalogRequired()
bool pool::RootCollection::RNTCollection::fileCatalogRequired |
( |
| ) |
const |
|
private |
◆ getCollectionRNTuple()
std::unique_ptr< RNTupleReader > pool::RootCollection::RNTCollection::getCollectionRNTuple |
( |
| ) |
|
|
private |
◆ isOpen()
virtual bool pool::RootCollection::RNTCollection::isOpen |
( |
| ) |
const |
|
virtual |
◆ newQuery()
◆ open()
virtual void pool::RootCollection::RNTCollection::open |
( |
| ) |
|
|
virtual |
Explicitly re-opens the collection after it has been closed.
Implements pool::ICollection.
◆ openMode()
◆ operator=()
◆ retrieveBestPFN()
◆ retrieveFID()
std::string pool::RootCollection::RNTCollection::retrieveFID |
( |
| ) |
|
|
private |
◆ retrieveFileCatalog()
void pool::RootCollection::RNTCollection::retrieveFileCatalog |
( |
| ) |
const |
|
private |
◆ retrievePFN()
std::string pool::RootCollection::RNTCollection::retrievePFN |
( |
| ) |
const |
|
private |
◆ retrieveUniquePFN()
◆ schemaEditor()
Returns an object used to modify the collection schema.
Implements pool::ICollection.
◆ m_dataEditor
◆ m_description
◆ m_file
TFile* pool::RootCollection::RNTCollection::m_file |
|
private |
◆ m_fileCatalog
◆ m_fileMgr
SmartIF<IFileMgr> pool::RootCollection::RNTCollection::m_fileMgr |
|
private |
◆ m_fileName
std::string pool::RootCollection::RNTCollection::m_fileName |
|
private |
◆ m_mode
◆ m_name
std::string pool::RootCollection::RNTCollection::m_name |
|
private |
◆ m_open
bool pool::RootCollection::RNTCollection::m_open |
|
private |
◆ m_poolOut
coral::MessageStream pool::RootCollection::RNTCollection::m_poolOut |
|
private |
◆ m_reader
std::unique_ptr< RNTupleReader > pool::RootCollection::RNTCollection::m_reader |
|
private |
◆ m_readOnly
bool pool::RootCollection::RNTCollection::m_readOnly |
|
private |
◆ m_schemaEditor
◆ m_session
ISession* pool::RootCollection::RNTCollection::m_session |
|
private |
The documentation for this class was generated from the following file: