updating track cuts
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Feb 2009 12:31:52 +0000 (12:31 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Feb 2009 12:31:52 +0000 (12:31 +0000)
ANALYSIS/runAODFilterMC.C
STEER/CreateAODfromESD.C

index a0fc173b33f5f4eceec86fcfd066c64dc73608a8..7720d235aa2ca708af0b9e6046057e11949e4815 100644 (file)
@@ -69,6 +69,7 @@ void runAODFilterMC()
       esdTrackCutsL->SetRequireTPCRefit(kTRUE);
       esdTrackCutsL->SetDCAToVertexZ(3.0);
       esdTrackCutsL->SetDCAToVertexXY(3.0);
+      esdTrackCutsL->SetDCAToVertex2D(kTRUE);
       esdTrackCutsL->SetRequireSigmaToVertex(kFALSE);
       esdTrackCutsL->SetAcceptKingDaughters(kFALSE);
       
index 3cd7f2c06d21fdd64db1db856a5d01f008f59aa0..6f5d4464a3ec42e4f5f889ca44c994f5e1f21212 100644 (file)
@@ -53,6 +53,8 @@ void CreateAODfromESD(const char *inFileName = "AliESDs.root",
     esdTrackCutsL->SetMaxCovDiagonalElements(2, 2, 0.5, 0.5, 2);
     esdTrackCutsL->SetRequireTPCRefit(kTRUE);
     esdTrackCutsL->SetMaxDCAToVertexXY(3.0);
+    esdTrackCutsL->SetMaxDCAToVertexZ(3.0);
+    esdTrackCutsL->SetDCAToVertex2D(kTRUE);
     esdTrackCutsL->SetRequireSigmaToVertex(kFALSE);
     esdTrackCutsL->SetAcceptKingDaughters(kFALSE);