StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StValiSet.h
1 // $Id: StValiSet.h,v 1.2 2007/03/09 20:01:03 perev Exp $
2 // $Log: StValiSet.h,v $
3 // Revision 1.2 2007/03/09 20:01:03 perev
4 // Request by user defined time now allowed
5 //
6 // Revision 1.1 2005/07/20 17:42:48 perev
7 // *** empty log message ***
8 //
9 #ifndef STAR_StValiSet
10 #define STAR_StValiSet
11 
13 // //
14 // StValiSet virtual base class for Maker //
15 // //
16 // //
18 #include "TDatime.h"
19 #include "TDataSet.h"
20 enum DBConst {kMinTime = 19950101, kMaxTime = 20380101};
21 
22 class StValiSet : public TDataSet{
23 public:
24 // ~StValiSet(); //No destructor. Sometimes fDat is not deleted,
25  //but this leak only at the end of job
26 public:
27  TDatime fTimeMin;
28  TDatime fTimeMax;
29  TDataSet *fDat;
30  TString fFla;
31  Int_t fMod; //Modified flag
32  Int_t fVers; //Version
33  Int_t fGood; //fDat is according to request
34  UInt_t fTabId;
35  UInt_t fParId;
36  StValiSet(const char *name="",TDataSet *parent=0);
37  virtual ~StValiSet(){};
38  virtual void ls(Int_t lev=1) const;
39  virtual void ls(const Option_t *opt) const {TDataSet::ls(opt);}
40  void Modified(int m=1){fMod=m;}
41  int IsModified() {return fMod;}
42 
43 ClassDef(StValiSet,1)
44 };
45 
46 
47 #endif
virtual void ls(Int_t lev=1) const
Definition: StValiSet.cxx:48
virtual void ls(Option_t *option="") const
Definition: TDataSet.cxx:495