1 #ifndef ALIGUIMATERIAL_H
2 #define ALIGUIMATERIAL_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
10 class AliGUIMaterial : public TObject
14 AliGUIMaterial(Int_t imat, char* name, Float_t a, Float_t z,
15 Float_t dens, Float_t radl, Float_t absl);
16 virtual ~AliGUIMaterial(){}
17 // Dump material parameters
28 virtual Float_t Density();
29 // Get radiation length
30 virtual Float_t RadiationLength();
31 // Get absorption lenth
32 virtual Float_t AbsorptionLength();
35 // Set and get link to widget entry
36 virtual Int_t ItemId() {return fItem;}
37 virtual void SetItemId(Int_t id) {fItem=id;}
39 Int_t fId; // Id number of the material
40 char* fName; // name of the material
41 Float_t fA; // mass number of the material
42 Float_t fZ; // charge number of the material
43 Float_t fDensity; // density of the material
44 Float_t fRadl; // radiation length of the material
45 Float_t fAbsl; // absorption length
47 Int_t fItem; // Link to Widget Entry
49 AliGUIMaterial(const AliGUIMaterial &) {}
50 AliGUIMaterial &operator=(const AliGUIMaterial &) {return *this;}
52 ClassDef(AliGUIMaterial,1) // Material Object for GUI