From 0f8eca745db8c4ea9bc101a6b2e65cd6d6ff8a8f Mon Sep 17 00:00:00 2001 From: morsch Date: Thu, 14 Mar 2013 16:24:51 +0000 Subject: [PATCH] Change the pt spectrum shape of the Lc --- EVGEN/AliGenLcLib.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/EVGEN/AliGenLcLib.cxx b/EVGEN/AliGenLcLib.cxx index df344d75fe7..4994691c19f 100644 --- a/EVGEN/AliGenLcLib.cxx +++ b/EVGEN/AliGenLcLib.cxx @@ -55,14 +55,15 @@ Double_t AliGenLcLib::PtLcFlat( const Double_t *, const Double_t *) Double_t AliGenLcLib::PtLcExp( const Double_t *x, const Double_t *) { - // EXP pt-distribution - return x[0]*TMath::Exp(-x[0]/0.17); + // pt-distribution + //return x[0]*TMath::Exp(-x[0]/0.16); // distribution used in LHC11f1 for the anchor runs : 139441, 139510, 139511, 130513, 130514, 130517. + return TMath::GammaDist(x[0],2,0,1.7); //distribution as in LHC11a10a of the prompt Lc whose daughters are in |eta|<0.9. Used for Lb as well. } -Double_t AliGenLcLib::YLcFlat(const Double_t */*x*/,const Double_t *) +Double_t AliGenLcLib::YLcFlat(const Double_t *,const Double_t *) { //LambdaC y-distribution - return 5; + return 1; } -- 2.39.3