]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliGenZDC.h
consolidate zero-length arrays (aka struct hack)
[u/mrichter/AliRoot.git] / ZDC / AliGenZDC.h
index 5f8f5bc2a7215e44f0ee024fa76119b7d0106d61..1efedc12c507786d198728de9c1b1daca8902fe3 100644 (file)
@@ -28,12 +28,9 @@ public:
   void Generate();
   
   // Fermi smearing, beam divergence and crossing angle               
-  void FermiTwoGaussian(Float_t A, Double_t *pp, 
-        Double_t *probintp, Double_t *probintn);
-  void ExtractFermi(Int_t id, Double_t *pp, Double_t *probintp, 
-        Double_t *probintn, Double_t *pFermi);
-  void BeamDivCross(Int_t icross, Float_t divergence, Float_t crossangle, 
-        Int_t crossplane, Double_t *pLab);
+  void FermiTwoGaussian(Float_t A);
+  void ExtractFermi(Int_t id, Double_t *ddp);
+  void BeamDivCross(Int_t icross, Double_t *pLab);
   void AddAngle(Double_t theta1, Double_t phi1, Double_t theta2,
                Double_t phi2, Double_t *angle);
  
@@ -49,8 +46,8 @@ public:
   void SetDebug(Int_t idebu) {fDebugOpt = idebu;};
   
   // Getters 
-  Double_t GetFermi2p(Int_t key) {return fProbintp[key];}
-  Double_t GetFermi2n(Int_t key) {return fProbintn[key];}
+  Double_t GetFermi2p(Int_t key) const {return fProbintp[key];}
+  Double_t GetFermi2n(Int_t key) const {return fProbintn[key];}
 
 protected:
   Int_t    fIpart;              // Particle to be generated