const Float_t kMinNormDistForb3= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb3();\r
const Float_t kMinNormDistForb4= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb4();\r
const Float_t kMinNormDistForb5= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForb5();\r
+ const Float_t kMinNormDistForbProt= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinNormDistForbProt();\r
+ const Float_t kMaxPidProbPionForb= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxPidProbPionForb();\r
\r
const Float_t kMinRTPCdensity= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMinRTPCdensity();\r
const Float_t kMaxRTPCdensity0= AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxRTPCdensity0();\r
normdist[itsindex]*=-1;\r
}\r
if (isProton){\r
- if (normdist[itsindex]>2) forbidden[itsindex]=kFALSE; \r
+ if (normdist[itsindex]>kMinNormDistForbProt) forbidden[itsindex]=kFALSE; \r
normdist[itsindex]*=-1;\r
}\r
\r
+ // We allow all tracks that are not pions\r
+ if( (pid[1]+pid[2])< kMaxPidProbPionForb ){\r
+ forbidden[itsindex]=kFALSE;\r
+ }\r
+\r
//\r
// Causality cuts in TPC volume\r
//\r