StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StValiSet.cxx
1 
11 // Most of the history moved at the bottom
12 //
13 // $Id: StValiSet.cxx,v 1.2 2007/03/09 20:01:03 perev Exp $
14 // $Log: StValiSet.cxx,v $
15 // Revision 1.2 2007/03/09 20:01:03 perev
16 // Request by user defined time now allowed
17 //
18 // Revision 1.1 2005/07/20 17:43:21 perev
19 // Cleanup
20 //
21 
22 #include <stdlib.h>
23 #include <string.h>
24 #include <time.h>
25 #include "TError.h"
26 #include "TDataSetIter.h"
27 #include "TUnixTime.h"
28 #include "StValiSet.h"
29 
30 ClassImp(StValiSet)
31 
32 //_____________________________________________________________________________
33 StValiSet::StValiSet(const char *name,TDataSet *parent): TDataSet(name,parent)
34 {
35  SetTitle(".Val");
36  fFla = "ofl";
37  fTimeMin.Set(kMaxTime,0);
38  fTimeMax.Set(kMinTime,0);
39  fDat =0;
40  fVers=0;
41  fGood=0;
42  fTabId=0;
43  fParId=0;
44  Modified(0);
45 }
46 
47 //_____________________________________________________________________________
48 void StValiSet::ls(Int_t lev) const
49 {
50  printf(" %s(%d).Validity = %s ",GetName(),fVers,fTimeMin.AsString());
51  printf(" <-> %s\n", fTimeMax.AsString());
52  if (fDat) printf(" Contains DataSet %s\n",fDat->GetName());
53  TDataSet::ls(lev);
54 }
55 
virtual void ls(Int_t lev=1) const
Definition: StValiSet.cxx:48
virtual void ls(Option_t *option="") const
Definition: TDataSet.cxx:495