X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenParam.h;h=37a42ad308e75ffadd60bb8ca2f64634ee46fd25;hb=121a84bb1acf1b52f28fa7db9e061c66e358690e;hp=a9f2ebfc896c99af2ac5fb309149ad2aaa88e34f;hpb=4725e0d20c56c88c658029b8c340b0bbae0f6c6f;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenParam.h b/EVGEN/AliGenParam.h index a9f2ebfc896..37a42ad308e 100644 --- a/EVGEN/AliGenParam.h +++ b/EVGEN/AliGenParam.h @@ -26,7 +26,7 @@ class AliGenParam : public AliGenMC { public: AliGenParam(); - AliGenParam(Int_t npart, AliGenLib * Library, Int_t param, const char* tname = 0); + AliGenParam(Int_t npart, const AliGenLib * Library, Int_t param, const char* tname = 0); AliGenParam(Int_t npart, Int_t param, const char* tname = 0, const char* name = 0); AliGenParam(Int_t npart, Int_t param, Double_t (*PtPara)(const Double_t*, const Double_t*), @@ -38,6 +38,8 @@ class AliGenParam : public AliGenMC virtual void Init(); // select particle type virtual void SetParam(Int_t param) {fParam = param;} + //Setting the flag for Background transportation while using SetForceDecay() + void SetSelectAll(Bool_t selectall) {fSelectAll = selectall;} // force decay type virtual void SetWeighting(Weighting_t flag = kAnalog) {fAnalog = flag;} virtual void SetDeltaPt(Float_t delta=0.01) {fDeltaPt = delta;} @@ -60,13 +62,14 @@ class AliGenParam : public AliGenMC Float_t fBias; // Biasing factor Int_t fTrials; // Number of trials Float_t fDeltaPt; // pT sampling in steps of fDeltaPt + Bool_t fSelectAll; // Flag for transportation of Background while using SetForceDecay() AliDecayer *fDecayer; // ! Pointer to pythia object for decays private: AliGenParam(const AliGenParam &Param); AliGenParam & operator=(const AliGenParam & rhs); - ClassDef(AliGenParam,1) // Generator using parameterised pt- and y-distribution + ClassDef(AliGenParam, 2) // Generator using parameterised pt- and y-distribution }; #endif