]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCFragment.h
Cosmetics
[u/mrichter/AliRoot.git] / ZDC / AliZDCFragment.h
index b640f33a205dc5c708faae5cf83659dc7285b048..126588f1eb327f1be9b8d491d4d770dba4682ff0 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <TMath.h>
 
-int comp(const void*, const void*);
+extern int comp(const void *, const void *);
  
 class AliZDCFragment : public TNamed {
 
@@ -22,27 +22,33 @@ public:
   AliZDCFragment();
   AliZDCFragment(Float_t b);
   virtual      ~AliZDCFragment() {}
-  void GenerateIMF(Int_t* fZZ, Int_t &fNalpha);
-  void AttachNeutrons(Int_t* fZZ, Int_t* fNN, Int_t &Ztot, Int_t &Ntot);
+  void GenerateIMF();
+  void AttachNeutrons();
+  Float_t DeuteronNumber();
   
   // Setting parameters
   virtual void SetImpactParameter(Float_t b) {fB=b;};
   
   // Getting parameters
-  Int_t GetFragmentNum() {return fNimf;};
-  
+  Float_t GetZbAverage() {return fZbAverage;}
+  Int_t   GetFragmentNum() {return fNimf;}
+  Float_t GetZmax() {return fZmax;}
+  Int_t*  GetZZ()   {return (int*)fZZ;}
+  Int_t*  GetNN()   {return (int*)fNN;}
+  Int_t   GetNalpha() {return fNalpha;}
+  Int_t   GetZtot() {return fZtot;}
+  Int_t   GetNtot() {return fNtot;}
  
 protected:
   
    Float_t  fB;         // Impact parameter
-   Float_t  fZbAverage ; // Mean value of Z bound 
+   Float_t  fZbAverage // Mean value of Z bound 
    Int_t    fNimf;      // Number of IMF
    Float_t  fZmax;      // Mean value of maximum Z of fragment
    Float_t  fTau;       // Exponent of charge distribution: dN/dZ = Z*exp(-fTau)
    Int_t    fZZ[100];   // Array of atomic numbers of fragments
-   Int_t    fNalpha;    // Number of alpha particles
-   
    Int_t    fNN[100];   // Array of number of neutrons of fragments
+   Int_t    fNalpha;    // Number of alpha particles
    Int_t    fZtot;      // Total number of bound protons
    Int_t    fNtot;      // Total number of bound neutrons