Collection (and CollectionProxy) implementation based on RNTuple.  
 More...
#include <RNTCollection.h>
Collection (and CollectionProxy) implementation based on RNTuple. 
Definition at line 48 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 26 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. 
 
 
◆ addField()
  
  | 
        
          | void pool::RootCollection::RNTCollection::addField | ( | ROOT::RNTupleModel * | model, |  
          |  |  | const std::string & | field_name, |  
          |  |  | const std::string & | field_type |  
          |  | ) |  |  |  | private | 
 
 
◆ cleanup()
  
  | 
        
          | void pool::RootCollection::RNTCollection::cleanup | ( |  | ) |  |  | private | 
 
 
◆ close()
  
  | 
        
          | virtual void pool::RootCollection::RNTCollection::close | ( |  | ) |  |  | finaloverridevirtual | 
 
 
◆ commit()
  
  | 
        
          | virtual void pool::RootCollection::RNTCollection::commit | ( | bool | restartTransaction = false | ) |  |  | finaloverridevirtual | 
 
 
◆ 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<ROOT::RNTupleReader> pool::RootCollection::RNTCollection::getCollectionRNTuple | ( |  | ) |  |  | private | 
 
 
◆ initMessaging()
  
  | 
        
          | void AthMessaging::initMessaging | ( |  | ) | const |  | privateinherited | 
 
Initialize our message level and MessageSvc. 
This method should only be called once. 
Definition at line 39 of file AthMessaging.cxx.
 
 
◆ initNewRow()
Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it. 
 
 
◆ insertRow()
◆ isOpen()
  
  | 
        
          | virtual bool pool::RootCollection::RNTCollection::isOpen | ( |  | ) | const |  | finaloverridevirtual | 
 
 
◆ msg() [1/2]
  
  | 
        
          | MsgStream & AthMessaging::msg | ( |  | ) | const |  | inlineinherited | 
 
The standard message stream. 
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked. 
Definition at line 164 of file AthMessaging.h.
 
 
◆ msg() [2/2]
  
  | 
        
          | MsgStream & AthMessaging::msg | ( | const MSG::Level | lvl | ) | const |  | inlineinherited | 
 
The standard message stream. 
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked. 
Definition at line 179 of file AthMessaging.h.
  180 { 
return msg() << lvl; }
 
 
 
◆ msgLvl()
  
  | 
        
          | bool AthMessaging::msgLvl | ( | const MSG::Level | lvl | ) | const |  | inlineinherited | 
 
Test the output level. 
- Parameters
- 
  
    | lvl | The message level to test against |  
 
- Returns
- boolean Indicating if messages at given level will be printed 
- Return values
- 
  
    | true | Messages at level "lvl" will be printed |  
 
Definition at line 151 of file AthMessaging.h.
 
 
◆ newQuery()
◆ open()
  
  | 
        
          | virtual void pool::RootCollection::RNTCollection::open | ( |  | ) |  |  | finaloverridevirtual | 
 
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()
◆ setLevel()
  
  | 
        
          | void AthMessaging::setLevel | ( | MSG::Level | lvl | ) |  |  | inherited | 
 
 
◆ ATLAS_THREAD_SAFE
  
  | 
        
          | std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |  | mutableprivateinherited | 
 
 
◆ 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_imsg
  
  | 
        
          | std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |  | mutableprivateinherited | 
 
 
◆ m_lvl
  
  | 
        
          | std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |  | mutableprivateinherited | 
 
 
◆ m_mode
◆ m_msg_tls
  
  | 
        
          | boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |  | mutableprivateinherited | 
 
MsgStream instance (a std::cout like with print-out levels) 
Definition at line 132 of file AthMessaging.h.
 
 
◆ m_name
  
  | 
        
          | std::string pool::RootCollection::RNTCollection::m_name |  | private | 
 
 
◆ m_nm
  
  | 
        
          | std::string AthMessaging::m_nm |  | privateinherited | 
 
 
◆ m_open
  
  | 
        
          | bool pool::RootCollection::RNTCollection::m_open |  | private | 
 
 
◆ m_reader
  
  | 
        
          | std::unique_ptr<ROOT::RNTupleReader> pool::RootCollection::RNTCollection::m_reader |  | private | 
 
 
◆ m_readOnly
  
  | 
        
          | bool pool::RootCollection::RNTCollection::m_readOnly |  | private | 
 
 
◆ m_rntupleWriter
  
  | 
        
          | std::unique_ptr<ROOT::RNTupleWriter> pool::RootCollection::RNTCollection::m_rntupleWriter |  | private | 
 
 
◆ m_session
  
  | 
        
          | ISession* pool::RootCollection::RNTCollection::m_session |  | private | 
 
 
The documentation for this class was generated from the following file: