1 #ifndef ALIZDCFRAGMENT_H
2 #define ALIZDCFRAGMENT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////
9 // Generate nuclear fragments parametrizing //
10 // resuslts of SIS and SPS energies //
12 ////////////////////////////////////////////////////
17 extern int comp(const void *, const void *);
19 class AliZDCFragment : public TNamed {
23 AliZDCFragment(Float_t b);
24 virtual ~AliZDCFragment() {}
26 void AttachNeutrons();
27 Float_t DeuteronNumber();
30 virtual void SetImpactParameter(Float_t b) {fB=b;};
33 Float_t GetZbAverage() {return fZbAverage;}
34 Int_t GetFragmentNum() {return fNimf;}
35 Float_t GetZmax() {return fZmax;}
36 Int_t* GetZZ() {return (int*)fZZ;}
37 Int_t* GetNN() {return (int*)fNN;}
38 Int_t GetNalpha() {return fNalpha;}
39 Int_t GetZtot() {return fZtot;}
40 Int_t GetNtot() {return fNtot;}
44 Float_t fB; // Impact parameter
45 Float_t fZbAverage; // Mean value of Z bound
46 Int_t fNimf; // Number of IMF
47 Float_t fZmax; // Mean value of maximum Z of fragment
48 Float_t fTau; // Exponent of charge distribution: dN/dZ = Z*exp(-fTau)
49 Int_t fZZ[100]; // Array of atomic numbers of fragments
50 Int_t fNN[100]; // Array of number of neutrons of fragments
51 Int_t fNalpha; // Number of alpha particles
52 Int_t fZtot; // Total number of bound protons
53 Int_t fNtot; // Total number of bound neutrons
56 ClassDef(AliZDCFragment,1) // Generator for AliZDC fragment class