Using SetMaxDCAToVertexXY instead of the removed SetDCAToVertex
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Feb 2009 16:19:02 +0000 (16:19 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Feb 2009 16:19:02 +0000 (16:19 +0000)
STEER/CreateAODfromESD.C

index dbb1070..8138d5e 100644 (file)
@@ -52,7 +52,7 @@ void CreateAODfromESD(const char *inFileName = "AliESDs.root",
     esdTrackCutsL->SetMaxChi2PerClusterTPC(3.5);
     esdTrackCutsL->SetMaxCovDiagonalElements(2, 2, 0.5, 0.5, 2);
     esdTrackCutsL->SetRequireTPCRefit(kTRUE);
-    esdTrackCutsL->SetDCAToVertex(3.0);
+    esdTrackCutsL->SetMaxDCAToVertexXY(3.0);
     esdTrackCutsL->SetRequireSigmaToVertex(kFALSE);
     esdTrackCutsL->SetAcceptKingDaughters(kFALSE);