X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ZDC%2FAliGenZDC.h;h=1efedc12c507786d198728de9c1b1daca8902fe3;hb=d015ecfe2c0625b8ad5a62823495c226e1bb41ba;hp=e225ebbabe334180549dc2a0dc6aaf5109541aeb;hpb=5a881c97837e78b2cd4cafd7d056e99fa47593f1;p=u%2Fmrichter%2FAliRoot.git diff --git a/ZDC/AliGenZDC.h b/ZDC/AliGenZDC.h index e225ebbabe3..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, Float_t Z, 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); @@ -46,11 +43,11 @@ public: void SetFermi(Int_t Fflag) {fFermiflag=Fflag;}; void SetDiv(Float_t bmdiv, Float_t bmcra, Int_t iflcr) {fBeamDiv=bmdiv; fBeamCrossAngle=bmcra; fBeamCrossPlane=iflcr;}; - void SetDebug() {fDebugOpt = 1;}; + 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 @@ -66,9 +63,14 @@ protected: // (=1 -> horizontal, =2 -> vertical plane) Double_t fProbintp[201]; // Protons momentum distribution due to Fermi Double_t fProbintn[201]; // Neutrons momentum distribution due to Fermi - Double_t fPp[201]; // - Int_t fDebugOpt; // Option for debugging + Double_t fPp[201]; // Spectator momenta + 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 };