X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;ds=sidebyside;f=ITS%2FAliITSV0Finder.cxx;h=ecaba1573ed332d4ecc7fc24907c2dc5f1ae43d5;hb=c23ff1b4bcacd8c9da873a96558c02f23454422b;hp=113200de1b2cb7621ac5e6cde637f213105757bc;hpb=61673d36749a7c1a3b79f2f806fd4fde70eaac96;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSV0Finder.cxx b/ITS/AliITSV0Finder.cxx index 113200de1b2..ecaba1573ed 100644 --- a/ITS/AliITSV0Finder.cxx +++ b/ITS/AliITSV0Finder.cxx @@ -204,6 +204,8 @@ void AliITSV0Finder::FindV02(AliESDEvent *event, const Float_t kMinNormDistForb3= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb3(); const Float_t kMinNormDistForb4= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb4(); const Float_t kMinNormDistForb5= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb5(); + const Float_t kMinNormDistForbProt= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForbProt(); + const Float_t kMaxPidProbPionForb= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxPidProbPionForb(); const Float_t kMinRTPCdensity= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinRTPCdensity(); const Float_t kMaxRTPCdensity0= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxRTPCdensity0(); @@ -466,10 +468,15 @@ void AliITSV0Finder::FindV02(AliESDEvent *event, normdist[itsindex]*=-1; } if (isProton){ - if (normdist[itsindex]>2) forbidden[itsindex]=kFALSE; + if (normdist[itsindex]>kMinNormDistForbProt) forbidden[itsindex]=kFALSE; normdist[itsindex]*=-1; } + // We allow all tracks that are not pions + if( (pid[1]+pid[2])< kMaxPidProbPionForb ){ + forbidden[itsindex]=kFALSE; + } + // // Causality cuts in TPC volume //