KaliVeda
Toolkit for HIC analysis
|
Set up a list of runs from a directory containing data files.
Definition at line 14 of file KVRunListCreator.h.
#include <KVRunListCreator.h>
Public Member Functions | |
KVRunListCreator (const TString &dir, const TString &datatype="", const TString &fmt="") | |
virtual | ~KVRunListCreator () |
const Char_t * | GetFileFormat () |
const Char_t * | GetRunDir () |
const KVUniqueNameList & | GetRunInfos () const |
Int_t | ScanDirectory () |
Return number of runs found. | |
void | SetFileFormat (const Char_t *fmt) |
void | SetRunDir (const Char_t *dir) |
Private Attributes | |
TString | fDataType |
type of data (KVRawDataReader plugin name) | |
TString | fFileFormat |
format string for run file names | |
std::unique_ptr< KVRawDataReader > | fReader |
KVUniqueNameList | fRunInfos |
TString | fRunSheetDir |
full path to directory holding runs | |
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.
|
inlinevirtual |
Definition at line 26 of file KVRunListCreator.h.
|
inline |
Definition at line 36 of file KVRunListCreator.h.
|
inline |
Definition at line 28 of file KVRunListCreator.h.
|
inline |
Definition at line 45 of file KVRunListCreator.h.
Int_t KVRunListCreator::ScanDirectory | ( | ) |
Return number of runs found.
Definition at line 38 of file KVRunListCreator.cpp.
Definition at line 40 of file KVRunListCreator.h.
Definition at line 32 of file KVRunListCreator.h.
|
private |
type of data (KVRawDataReader plugin name)
Definition at line 18 of file KVRunListCreator.h.
|
private |
format string for run file names
Definition at line 17 of file KVRunListCreator.h.
|
private |
Definition at line 21 of file KVRunListCreator.h.
|
private |
Definition at line 20 of file KVRunListCreator.h.
|
private |
full path to directory holding runs
Definition at line 16 of file KVRunListCreator.h.