Project
Loading...
Searching...
No Matches
o2::framework::RootAODInputFile Class Reference

An AO2D read with ROOT. More...

#include <AODInputFile.h>

Inherits o2::framework::AODInputFile.

Public Member Functions

std::string name () const override
 
uint64_t size () const override
 
uint64_t bytesRead () const override
 
uint64_t readCalls () const override
 
std::vector< Key > topLevelKeys () override
 Top-level keys, in the order the file lists them, all cycles.
 
std::vector< std::string > keysIn (std::string const &dir) override
 Names of the keys inside the top-level directory dir, empty if there is none.
 
std::map< std::string, std::string > parentFiles () override
 DF_<n> to parent file path. Empty if the file has no parentFiles.
 
std::map< std::string, std::string > metaData () override
 
std::shared_ptr< VirtualRootFileSystemBase > filesystem () override
 
std::string monitoringDetails () const override
 Extra key=value pairs for the file monitoring metrics, starting with a comma.
 
- Public Member Functions inherited from o2::framework::AODInputFile
virtual ~AODInputFile ()=default
 
virtual void setReadOrder (std::vector< std::string > const &dfs)
 The DF_<n> names in the order they will be read, for readers which read ahead.
 

Static Public Member Functions

static std::shared_ptr< RootAODInputFile > open (std::string const &name, RootObjectReadingFactory &factory, TFile *external=nullptr)
 

Detailed Description

An AO2D read with ROOT.

Definition at line 74 of file AODInputFile.h.

Member Function Documentation

◆ bytesRead()

uint64_t o2::framework::RootAODInputFile::bytesRead ( ) const
overridevirtual

Implements o2::framework::AODInputFile.

Definition at line 53 of file AODInputFile.cxx.

◆ filesystem()

std::shared_ptr< VirtualRootFileSystemBase > o2::framework::RootAODInputFile::filesystem ( )
inlineoverridevirtual

Implements o2::framework::AODInputFile.

Definition at line 89 of file AODInputFile.h.

◆ keysIn()

std::vector< std::string > o2::framework::RootAODInputFile::keysIn ( std::string const &  dir)
overridevirtual

Names of the keys inside the top-level directory dir, empty if there is none.

Implements o2::framework::AODInputFile.

Definition at line 66 of file AODInputFile.cxx.

◆ metaData()

std::map< std::string, std::string > o2::framework::RootAODInputFile::metaData ( )
overridevirtual

Implements o2::framework::AODInputFile.

Definition at line 96 of file AODInputFile.cxx.

◆ monitoringDetails()

std::string o2::framework::RootAODInputFile::monitoringDetails ( ) const
overridevirtual

Extra key=value pairs for the file monitoring metrics, starting with a comma.

Reimplemented from o2::framework::AODInputFile.

Definition at line 98 of file AODInputFile.cxx.

◆ name()

std::string o2::framework::RootAODInputFile::name ( ) const
overridevirtual

Implements o2::framework::AODInputFile.

Definition at line 51 of file AODInputFile.cxx.

◆ open()

std::shared_ptr< RootAODInputFile > o2::framework::RootAODInputFile::open ( std::string const &  name,
RootObjectReadingFactory &  factory,
TFile *  external = nullptr 
)
static

Opens name with TFile::Open, or uses external (not owned) when given. Returns nullptr if the file cannot be opened.

Definition at line 33 of file AODInputFile.cxx.

◆ parentFiles()

std::map< std::string, std::string > o2::framework::RootAODInputFile::parentFiles ( )
overridevirtual

DF_<n> to parent file path. Empty if the file has no parentFiles.

Implements o2::framework::AODInputFile.

Definition at line 95 of file AODInputFile.cxx.

◆ readCalls()

uint64_t o2::framework::RootAODInputFile::readCalls ( ) const
overridevirtual

Implements o2::framework::AODInputFile.

Definition at line 54 of file AODInputFile.cxx.

◆ size()

uint64_t o2::framework::RootAODInputFile::size ( ) const
overridevirtual

Implements o2::framework::AODInputFile.

Definition at line 52 of file AODInputFile.cxx.

◆ topLevelKeys()

std::vector< AODInputFile::Key > o2::framework::RootAODInputFile::topLevelKeys ( )
overridevirtual

Top-level keys, in the order the file lists them, all cycles.

Implements o2::framework::AODInputFile.

Definition at line 56 of file AODInputFile.cxx.


The documentation for this class was generated from the following files: