]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant3/AliGUIMaterial.h
Consider elastic interactions (ks = 1 and ks = 11) as spectator (Chiara Oppedisano)
[u/mrichter/AliRoot.git] / TGeant3 / AliGUIMaterial.h
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                               */
5
6 /* $Id$ */
7
8 #include "TObject.h"
9
10 class AliGUIMaterial : public TObject 
11 {
12 public:
13     AliGUIMaterial();
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
18     virtual void  Dump();
19     // Get material id
20     virtual Int_t Id();
21     // Get material name
22     virtual char* Name();
23     // Get mass number 
24     virtual Float_t A();
25     // Get charge number 
26     virtual Float_t Z();
27     // Get density
28     virtual Float_t Density();
29     // Get radiation length
30     virtual Float_t RadiationLength();
31     // Get absorption lenth
32     virtual Float_t AbsorptionLength();
33     // Plot
34     virtual void  Plot();
35     // Set and get link to widget entry
36     virtual Int_t ItemId() {return fItem;}
37     virtual void  SetItemId(Int_t id) {fItem=id;}
38 private:
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
46     //
47     Int_t   fItem;            // Link to Widget Entry
48
49   AliGUIMaterial(const AliGUIMaterial &) {}
50   AliGUIMaterial &operator=(const AliGUIMaterial &) {return *this;}
51
52     ClassDef(AliGUIMaterial,1) // Material Object for GUI 
53 };
54
55 #endif
56
57
58
59
60
61
62
63