KaliVeda
Toolkit for HIC analysis
KVElementDensity.h
1 
4 #ifndef __KVElementDensity_H
5 #define __KVElementDensity_H
6 
7 #include "KVNuclData.h"
8 
16 class KVElementDensity : public KVNuclData {
21 
22 public:
24  KVElementDensity(const Char_t* name);
26  ROOT_COPY_ASSIGN_OP(KVElementDensity)
27  virtual ~KVElementDensity();
28  void Copy(TObject&) const;
29 
30  void SetZ(Int_t z)
31  {
32  fZ = z;
33  };
34  Int_t GetZ() const
35  {
36  return fZ;
37  };
38  void SetIsGas(Bool_t g = kTRUE)
39  {
40  fIsGas = g;
41  };
42  Bool_t IsGas() const
43  {
44  return fIsGas;
45  };
46  void SetElementSymbol(const Char_t* s)
47  {
48  fSymbol = s;
49  };
50  const Char_t* GetElementSymbol() const
51  {
52  return fSymbol;
53  };
54  void SetElementName(const Char_t* en)
55  {
56  fElementName = en;
57  };
58  const Char_t* GetElementName() const
59  {
60  return fElementName;
61  };
62 
63  void Print(Option_t* o = "") const;
64 
65  ClassDef(KVElementDensity, 1) //Atomic element with name, symbol and density
66 };
67 
68 #endif
int Int_t
bool Bool_t
char Char_t
const char Option_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t g
Atomic element with name, symbol and density.
Int_t GetZ() const
const Char_t * GetElementName() const
void SetIsGas(Bool_t g=kTRUE)
void Print(Option_t *o="") const
const Char_t * GetElementSymbol() const
void Copy(TObject &) const
Bool_t IsGas() const
virtual ~KVElementDensity()
Destructor.
void SetZ(Int_t z)
void SetElementSymbol(const Char_t *s)
KVElementDensity()
Default constructor.
void SetElementName(const Char_t *en)
Simple abstract class to store value related to nuclear data.
Definition: KVNuclData.h:18