KaliVeda
Toolkit for HIC analysis
KVSimDir.h
1 
4 #ifndef __KVSIMDIR_H
5 #define __KVSIMDIR_H
6 
7 #include "KVBase.h"
8 #include "KVList.h"
9 
10 class KVSimFile;
11 
44 class KVSimDir : public KVBase {
45 protected:
48  void init();
49 
50 public:
51  KVSimDir();
52  KVSimDir(const Char_t* name, const Char_t* path);
53  KVSimDir(const KVSimDir&) ;
54  virtual ~KVSimDir();
55  void Copy(TObject&) const;
56 
57  virtual void SetDirectory(const Char_t* d)
58  {
59  SetTitle(d);
60  }
61  virtual const Char_t* GetDirectory() const
62  {
63  return GetTitle();
64  }
65 
66  virtual void AnalyseDirectory();
67  virtual void AnalyseFile(const Char_t*);
68 
69  virtual const KVList* GetSimDataList() const
70  {
71  return &fSimData;
72  }
73  virtual const KVList* GetFiltDataList() const
74  {
75  return &fFiltData;
76  }
77  void AddSimData(KVSimFile*);
78  void AddFiltData(KVSimFile*);
79 
80  void ls(Option_t* opt = "") const;
81 
82  ClassDef(KVSimDir, 1) //Handle directory containing simulated and/or filtered simulated data
83 };
84 
85 #endif
#define d(i)
char Char_t
const char Option_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:142
Extended TList class which owns its objects by default.
Definition: KVList.h:28
Handle directory containing simulated and/or filtered simulated data ,.
Definition: KVSimDir.h:44
virtual const KVList * GetFiltDataList() const
Definition: KVSimDir.h:73
void init()
Default initialisations.
Definition: KVSimDir.cpp:57
KVSimDir()
Default constructor.
Definition: KVSimDir.cpp:24
void ls(Option_t *opt="") const
Definition: KVSimDir.cpp:283
virtual void SetDirectory(const Char_t *d)
Definition: KVSimDir.h:57
virtual void AnalyseFile(const Char_t *)
Definition: KVSimDir.cpp:174
virtual ~KVSimDir()
Destructor.
Definition: KVSimDir.cpp:90
KVList fSimData
list of simulated data files
Definition: KVSimDir.h:46
KVList fFiltData
list of filtered simulated data files
Definition: KVSimDir.h:47
void AddSimData(KVSimFile *)
Definition: KVSimDir.cpp:264
virtual void AnalyseDirectory()
Definition: KVSimDir.cpp:126
virtual const KVList * GetSimDataList() const
Definition: KVSimDir.h:69
void AddFiltData(KVSimFile *)
Definition: KVSimDir.cpp:273
virtual const Char_t * GetDirectory() const
Definition: KVSimDir.h:61
void Copy(TObject &) const
Definition: KVSimDir.cpp:106
Handle file containing simulated and/or filtered simulated data ,.
Definition: KVSimFile.h:19
virtual void SetTitle(const char *title="")
const char * GetTitle() const override