KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVSimDir.h
Go to the documentation of this file.
1 
4 #ifndef __KVSIMDIR_H
5 #define __KVSIMDIR_H
6 
7 #include "KVBase.h"
8 #include "KVList.h"
9 
10 class KVSimFile;
11 
43 class KVSimDir : public KVBase {
44 protected:
47  void init();
48 
49 public:
50  KVSimDir();
51  KVSimDir(const Char_t* name, const Char_t* path);
52  KVSimDir(const KVSimDir&) ;
53  virtual ~KVSimDir();
54  void Copy(TObject&) const;
55 
56  virtual void SetDirectory(const Char_t* d)
57  {
58  SetTitle(d);
59  }
60  virtual const Char_t* GetDirectory() const
61  {
62  return GetTitle();
63  }
64 
65  virtual void AnalyseDirectory();
66  virtual void AnalyseFile(const Char_t*);
67 
68  virtual const KVList* GetSimDataList() const
69  {
70  return &fSimData;
71  }
72  virtual const KVList* GetFiltDataList() const
73  {
74  return &fFiltData;
75  }
76  void AddSimData(KVSimFile*);
77  void AddFiltData(KVSimFile*);
78 
79  void ls(Option_t* opt = "") const;
80 
81  ClassDef(KVSimDir, 1) //Handle directory containing simulated and/or filtered simulated data
82 };
83 
84 #endif
#define d(i)
char Char_t
const char Option_t
#define ClassDef(name, id)
Base class for KaliVeda framework.
Definition: KVBase.h:141
Extended TList class which owns its objects by default.
Definition: KVList.h:27
Handle directory containing simulated and/or filtered simulated data ,.
Definition: KVSimDir.h:43
virtual const KVList * GetFiltDataList() const
Definition: KVSimDir.h:72
void init()
Default initialisations.
Definition: KVSimDir.cpp:57
KVSimDir()
Default constructor.
Definition: KVSimDir.cpp:24
void ls(Option_t *opt="") const
Definition: KVSimDir.cpp:282
virtual void SetDirectory(const Char_t *d)
Definition: KVSimDir.h:56
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:45
KVList fFiltData
list of filtered simulated data files
Definition: KVSimDir.h:46
void AddSimData(KVSimFile *)
Definition: KVSimDir.cpp:263
virtual void AnalyseDirectory()
Definition: KVSimDir.cpp:126
virtual const KVList * GetSimDataList() const
Definition: KVSimDir.h:68
void AddFiltData(KVSimFile *)
Definition: KVSimDir.cpp:272
virtual const Char_t * GetDirectory() const
Definition: KVSimDir.h:60
void Copy(TObject &) const
Definition: KVSimDir.cpp:106
Handle file containing simulated and/or filtered simulated data ,.
Definition: KVSimFile.h:18
virtual void SetTitle(const char *title="")
virtual const char * GetTitle() const