X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ZDC%2FAliGenZDC.h;h=1efedc12c507786d198728de9c1b1daca8902fe3;hb=d015ecfe2c0625b8ad5a62823495c226e1bb41ba;hp=c5cb311507ab11ee32085f665ad9ffa077bf47a0;hpb=8a2624cc301a4bd98b89b9a157086ab802486d48;p=u%2Fmrichter%2FAliRoot.git diff --git a/ZDC/AliGenZDC.h b/ZDC/AliGenZDC.h index c5cb311507a..1efedc12c50 100644 --- a/ZDC/AliGenZDC.h +++ b/ZDC/AliGenZDC.h @@ -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 - const Double_t GetFermi2p(Int_t key) {return fProbintp[key];} - const 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 @@ -70,6 +67,10 @@ protected: Int_t fDebugOpt; // Option for debugging [0->No debug, 1->Screen // prints, 2->ASCII data file] + private: + AliGenZDC(const AliGenZDC & gen); + AliGenZDC & operator=(const AliGenZDC & gen); + ClassDef(AliGenZDC,1) // Generator for AliZDC class };