]> git.uio.no Git - u/mrichter/AliRoot.git/blob - GEODB/AliGConfig.h
AliSinpleGen.cxx replaced by AliGenHIJINGpara.cxx AliGenBox.cxx and AliGenFixed.cxx
[u/mrichter/AliRoot.git] / GEODB / AliGConfig.h
1 #ifndef ALIGConfig_H
2 #define ALIGConfig_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include <TNamed.h>
9 #include <TString.h>
10 #include <TStringLong.h>
11 #include <TDatime.h>
12
13 class AliGConfig: public TNamed {
14
15     protected:
16         TDatime     fBeg;        // Time validity of node version
17         TString     fDetail;     // Level of detail
18         TDatime     fEnd;        // Time validity of node version
19         //char*       fFormula;    // Formula describing the node structure below         
20         TStringLong fFormula;    // Formula describing the node structure below         
21         TString     fMaterialName;
22         TString     fShapeName;
23         TString     fShapeType;
24
25     public:
26         AliGConfig( Text_t* name, Text_t* title, TStringLong formula, Text_t* detail=NULL, const Text_t* shapetype=NULL, const Text_t* shapename=NULL, const Text_t* materialname=NULL, Int_t beg=0, Int_t end=0 );
27         AliGConfig( AliGConfig* Config=NULL ); /* Copy Constructor */
28         virtual ~AliGConfig(); /* Destructor */
29         AliGConfig* operator=( AliGConfig* Config ); /* Operator = */
30
31         TStringLong GetFormula()      const { return fFormula;      }
32         TString     GetMaterialName() const { return fMaterialName; }
33         TString     GetShapeName()    const { return fShapeName;    }
34         TString     GetShapeType()    const { return fShapeType;    }
35
36     ClassDef(AliGConfig,1)   //Config class
37 };
38 #endif