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

#include <DataInputDirector.h>

Public Member Functions

 DataInputDescriptor ()=default
 
 DataInputDescriptor (bool alienSupport, int level, o2::monitoring::Monitoring *monitoring=nullptr, int allowedParentLevel=0, std::string parentFileReplacement="")
 
void printOut ()
 
void setInputfilesFile (std::string dffn)
 
void setInputfilesFile (std::string *dffnptr)
 
void setFilenamesRegex (std::string fn)
 
void setFilenamesRegex (std::string *fnptr)
 
void setDefaultInputfiles (std::vector< FileNameHolder * > *difnptr)
 
void addFileNameHolder (FileNameHolder *fn)
 
int fillInputfiles ()
 
bool setFile (int counter)
 
std::string getInputfilesFilename ()
 
std::string getFilenamesRegexString ()
 
std::regex getFilenamesRegex ()
 
int getNumberInputfiles ()
 
int getNumberTimeFrames ()
 
int findDFNumber (int file, std::string dfName)
 
uint64_t getTimeFrameNumber (int counter, int numTF)
 
FileAndFolder getFileFolder (int counter, int numTF)
 
DataInputDescriptorgetParentFile (int counter, int numTF, std::string treename)
 
int getTimeFramesInFile (int counter)
 
int getReadTimeFramesInFile (int counter)
 
bool readTree (DataAllocator &outputs, header::DataHeader dh, int counter, int numTF, std::string treename, size_t &totalSizeCompressed, size_t &totalSizeUncompressed)
 
void printFileStatistics ()
 
void closeInputFile ()
 
bool isAlienSupportOn ()
 

Public Attributes

std::string tablename = ""
 
std::string treename = ""
 
std::unique_ptr< data_matcher::DataDescriptorMatchermatcher
 

Detailed Description

Definition at line 44 of file DataInputDirector.h.

Constructor & Destructor Documentation

◆ DataInputDescriptor() [1/2]

o2::framework::DataInputDescriptor::DataInputDescriptor ( )
default

◆ DataInputDescriptor() [2/2]

o2::framework::DataInputDescriptor::DataInputDescriptor ( bool  alienSupport,
int  level,
o2::monitoring::Monitoring *  monitoring = nullptr,
int  allowedParentLevel = 0,
std::string  parentFileReplacement = "" 
)

Definition at line 50 of file DataInputDirector.cxx.

Member Function Documentation

◆ addFileNameHolder()

void o2::framework::DataInputDescriptor::addFileNameHolder ( FileNameHolder fn)

Definition at line 87 of file DataInputDirector.cxx.

◆ closeInputFile()

void o2::framework::DataInputDescriptor::closeInputFile ( )

Definition at line 286 of file DataInputDirector.cxx.

◆ fillInputfiles()

int o2::framework::DataInputDescriptor::fillInputfiles ( )

Definition at line 305 of file DataInputDirector.cxx.

◆ findDFNumber()

int o2::framework::DataInputDescriptor::findDFNumber ( int  file,
std::string  dfName 
)

Definition at line 347 of file DataInputDirector.cxx.

◆ getFileFolder()

FileAndFolder o2::framework::DataInputDescriptor::getFileFolder ( int  counter,
int  numTF 
)

Definition at line 196 of file DataInputDirector.cxx.

◆ getFilenamesRegex()

std::regex o2::framework::DataInputDescriptor::getFilenamesRegex ( )

Definition at line 82 of file DataInputDirector.cxx.

◆ getFilenamesRegexString()

std::string o2::framework::DataInputDescriptor::getFilenamesRegexString ( )

Definition at line 77 of file DataInputDirector.cxx.

◆ getInputfilesFilename()

std::string o2::framework::DataInputDescriptor::getInputfilesFilename ( )

Definition at line 72 of file DataInputDirector.cxx.

◆ getNumberInputfiles()

int o2::framework::DataInputDescriptor::getNumberInputfiles ( )
inline

Definition at line 76 of file DataInputDirector.h.

◆ getNumberTimeFrames()

int o2::framework::DataInputDescriptor::getNumberTimeFrames ( )
inline

Definition at line 77 of file DataInputDirector.h.

◆ getParentFile()

DataInputDescriptor * o2::framework::DataInputDescriptor::getParentFile ( int  counter,
int  numTF,
std::string  treename 
)

Definition at line 218 of file DataInputDirector.cxx.

◆ getReadTimeFramesInFile()

int o2::framework::DataInputDescriptor::getReadTimeFramesInFile ( int  counter)

Definition at line 261 of file DataInputDirector.cxx.

◆ getTimeFrameNumber()

uint64_t o2::framework::DataInputDescriptor::getTimeFrameNumber ( int  counter,
int  numTF 
)

Definition at line 180 of file DataInputDirector.cxx.

◆ getTimeFramesInFile()

int o2::framework::DataInputDescriptor::getTimeFramesInFile ( int  counter)

Definition at line 256 of file DataInputDirector.cxx.

◆ isAlienSupportOn()

bool o2::framework::DataInputDescriptor::isAlienSupportOn ( )
inline

Definition at line 90 of file DataInputDirector.h.

◆ printFileStatistics()

void o2::framework::DataInputDescriptor::printFileStatistics ( )

Definition at line 267 of file DataInputDirector.cxx.

◆ printOut()

void o2::framework::DataInputDescriptor::printOut ( )

Definition at line 58 of file DataInputDirector.cxx.

◆ readTree()

bool o2::framework::DataInputDescriptor::readTree ( DataAllocator outputs,
header::DataHeader  dh,
int  counter,
int  numTF,
std::string  treename,
size_t &  totalSizeCompressed,
size_t &  totalSizeUncompressed 
)

Definition at line 357 of file DataInputDirector.cxx.

◆ setDefaultInputfiles()

void o2::framework::DataInputDescriptor::setDefaultInputfiles ( std::vector< FileNameHolder * > *  difnptr)
inline

Definition at line 66 of file DataInputDirector.h.

◆ setFile()

bool o2::framework::DataInputDescriptor::setFile ( int  counter)

Definition at line 102 of file DataInputDirector.cxx.

◆ setFilenamesRegex() [1/2]

void o2::framework::DataInputDescriptor::setFilenamesRegex ( std::string *  fnptr)
inline

Definition at line 64 of file DataInputDirector.h.

◆ setFilenamesRegex() [2/2]

void o2::framework::DataInputDescriptor::setFilenamesRegex ( std::string  fn)
inline

Definition at line 63 of file DataInputDirector.h.

◆ setInputfilesFile() [1/2]

void o2::framework::DataInputDescriptor::setInputfilesFile ( std::string *  dffnptr)
inline

Definition at line 62 of file DataInputDirector.h.

◆ setInputfilesFile() [2/2]

void o2::framework::DataInputDescriptor::setInputfilesFile ( std::string  dffn)
inline

Definition at line 61 of file DataInputDirector.h.

Member Data Documentation

◆ matcher

std::unique_ptr<data_matcher::DataDescriptorMatcher> o2::framework::DataInputDescriptor::matcher

Definition at line 53 of file DataInputDirector.h.

◆ tablename

std::string o2::framework::DataInputDescriptor::tablename = ""

Holds information concerning the reading of an aod table. The information includes the table specification, treename, and the input files

Definition at line 51 of file DataInputDirector.h.

◆ treename

std::string o2::framework::DataInputDescriptor::treename = ""

Definition at line 52 of file DataInputDirector.h.


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