4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ///////////////////////////////////////////////////////////////////////////////
12 // Class that gives access to properties of ions used as primary particles //
16 ///////////////////////////////////////////////////////////////////////////////
21 class TFlukaIon : public TNamed
26 TFlukaIon(const char* name, Int_t z, Int_t a, Int_t q, Double_t exE, Double_t mass = 0.);
27 Int_t GetZ() const {return fZ;}
28 Int_t GetA() const {return fA;}
30 Int_t GetQ() const {return fQ;}
31 Double_t GetExcitationEnergy() const {return fExEnergy;}
32 Double_t GetMass() const {return fMass;}
33 Int_t GetPdgCode() const {return GetIonPdg(fZ, fA);}
35 static void WriteUserInputCard(FILE* file);
37 static void AddIon(Int_t a, Int_t z);
38 static void AddIon(const char* name, Int_t z, Int_t a, Int_t q,
39 Double_t exE, Double_t mass);
40 static Int_t GetIonPdg(Int_t z, Int_t a, Int_t i = 0);
41 static Int_t GetZ(Int_t pdg);
42 static Int_t GetA(Int_t pdg);
43 static Int_t GetIsomerNumber(Int_t pdg);
49 Double_t fExEnergy; // Excitation energy
50 Double_t fMass; // Mass
52 // Copy constructor and operator= declared but not implemented (-Weff++ flag)
53 TFlukaIon(const TFlukaIon&);
54 TFlukaIon& operator=(const TFlukaIon&);
56 ClassDef(TFlukaIon, 1) // Ion Properties