KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRunListCreator.h
1#ifndef __KVRunListCreator_H
2#define __KVRunListCreator_H
3
4#include "KVUniqueNameList.h"
5#include "TString.h"
6#include "KVRawDataReader.h"
7
15
19
21 std::unique_ptr<KVRawDataReader> fReader;
22
23public:
24
25 KVRunListCreator(const TString& dir, const TString& datatype = "", const TString& fmt = "");
26 virtual ~KVRunListCreator() {}
27
29 {
30 return fRunSheetDir;
31 }
32 void SetRunDir(const Char_t* dir)
33 {
34 fRunSheetDir = dir;
35 }
37 {
38 return fFileFormat;
39 }
40 void SetFileFormat(const Char_t* fmt)
41 {
42 fFileFormat = fmt;
43 }
46 {
47 return fRunInfos;
48 }
49
50 ClassDef(KVRunListCreator, 0)//Set up a list of runs from a directory containing data files
51};
52
53#endif
int Int_t
char Char_t
#define ClassDef(name, id)
Set up a list of runs from a directory containing data files.
TString fDataType
type of data (KVRawDataReader plugin name)
KVUniqueNameList fRunInfos
const Char_t * GetFileFormat()
const KVUniqueNameList & GetRunInfos() const
virtual ~KVRunListCreator()
void SetFileFormat(const Char_t *fmt)
TString fRunSheetDir
full path to directory holding runs
void SetRunDir(const Char_t *dir)
Int_t ScanDirectory()
Return number of runs found.
std::unique_ptr< KVRawDataReader > fReader
TString fFileFormat
format string for run file names
const Char_t * GetRunDir()
Optimised list in which named objects can only be placed once.