KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Private Attributes | List of all members
KVRunListCreator Class Reference

Set up a list of runs from a directory containing data files.

Definition at line 13 of file KVRunListCreator.h.

Public Member Functions

 KVRunListCreator (const TString &dir, const TString &datatype="", const TString &fmt="")
 
virtual ~KVRunListCreator ()
 
const Char_tGetFileFormat ()
 
const Char_tGetRunDir ()
 
const KVUniqueNameListGetRunInfos () const
 
Int_t ScanDirectory ()
 Return number of runs found. More...
 
void SetFileFormat (const Char_t *fmt)
 
void SetRunDir (const Char_t *dir)
 

Private Attributes

TString fDataType
 type of data (KVRawDataReader plugin name) More...
 
TString fFileFormat
 format string for run file names More...
 
unique_ptr< KVRawDataReaderfReader
 
KVUniqueNameList fRunInfos
 
TString fRunSheetDir
 full path to directory holding runs More...
 

#include <KVRunListCreator.h>

Constructor & Destructor Documentation

◆ KVRunListCreator()

KVRunListCreator::KVRunListCreator ( const TString dir,
const TString datatype = "",
const TString fmt = "" 
)

Give directory to scan, optional format for runfile names "datatype" should correspond to a known plugin for reading raw data files, see available plugins for KVRawDataReader (output of method KVBase::GetListOfPluginURIs("KVRawDataReader"))

Definition at line 16 of file KVRunListCreator.cpp.

◆ ~KVRunListCreator()

virtual KVRunListCreator::~KVRunListCreator ( )
inlinevirtual

Definition at line 25 of file KVRunListCreator.h.

Member Function Documentation

◆ GetFileFormat()

const Char_t* KVRunListCreator::GetFileFormat ( )
inline

Definition at line 35 of file KVRunListCreator.h.

◆ GetRunDir()

const Char_t* KVRunListCreator::GetRunDir ( )
inline

Definition at line 27 of file KVRunListCreator.h.

◆ GetRunInfos()

const KVUniqueNameList& KVRunListCreator::GetRunInfos ( ) const
inline

Definition at line 44 of file KVRunListCreator.h.

◆ ScanDirectory()

Int_t KVRunListCreator::ScanDirectory ( )

Return number of runs found.

Definition at line 38 of file KVRunListCreator.cpp.

◆ SetFileFormat()

void KVRunListCreator::SetFileFormat ( const Char_t fmt)
inline

Definition at line 39 of file KVRunListCreator.h.

◆ SetRunDir()

void KVRunListCreator::SetRunDir ( const Char_t dir)
inline

Definition at line 31 of file KVRunListCreator.h.

Member Data Documentation

◆ fDataType

TString KVRunListCreator::fDataType
private

type of data (KVRawDataReader plugin name)

Definition at line 17 of file KVRunListCreator.h.

◆ fFileFormat

TString KVRunListCreator::fFileFormat
private

format string for run file names

Definition at line 16 of file KVRunListCreator.h.

◆ fReader

unique_ptr<KVRawDataReader> KVRunListCreator::fReader
private

Definition at line 20 of file KVRunListCreator.h.

◆ fRunInfos

KVUniqueNameList KVRunListCreator::fRunInfos
private

Definition at line 19 of file KVRunListCreator.h.

◆ fRunSheetDir

TString KVRunListCreator::fRunSheetDir
private

full path to directory holding runs

Definition at line 15 of file KVRunListCreator.h.


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