#include "AliESDVertex.h"\r
#include "AliESDEvent.h"\r
#include "AliESDtrack.h"\r
+#include "AliESDV0Params.h"\r
#include "AliV0.h"\r
#include "AliHelix.h"\r
#include "AliITSRecPoint.h"\r
// max distance DCA between 2 tracks cut \r
// maxDist = TMath::Min(kMaxDist,kMaxDist0+pvertex->GetRr()*kMaxDist);\r
//\r
+ const Bool_t kCheckPropagate = kFALSE;\r
const Float_t kMaxDist0 = AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxDist0();\r
const Float_t kMaxDist1 = AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxDist1();\r
const Float_t kMaxDist = AliITSReconstructor::GetRecoParam()->GetESDV0Params()->GetMaxDist();\r
\r
alpha = TMath::ATan2(yy,xx); \r
// if (!trackat0.Propagate(alpha,0)) continue; \r
- trackat0.Propagate(alpha,0); //PH The check on the return value is temporarily disabled (bug 45751) \r
+ // trackat0.Propagate(alpha,0); //PH The check on the return value is temporarily disabled (bug 45751) \r
+ if(!trackat0.Propagate(alpha,0) && kCheckPropagate)continue;\r
// calculate normalized distances to the vertex \r
//\r
Float_t ptfac = (1.+100.*TMath::Abs(trackat0.GetC()));\r
//\r
//\r
//\r
- Double_t phase[2][2],radius[2];\r
+ Double_t phase[2][2]={{0.,0.},{0.,0.}};\r
+ Double_t radius[2]={0.,0.};\r
Int_t points = h1.GetRPHIintersections(h2, phase, radius);\r
if (points==0) {\r
// cutN=1;\r
delete[] itsmap;\r
delete[] helixes;\r
delete pvertex;\r
+ delete dummy;\r
}\r
//------------------------------------------------------------------------\r
void AliITSV0Finder::RefitV02(const AliESDEvent *event,\r