updated track cuts for 2010 (from Andrea)
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2010 16:18:15 +0000 (16:18 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Oct 2010 16:18:15 +0000 (16:18 +0000)
ANALYSIS/AliESDtrackCuts.cxx
ANALYSIS/AliESDtrackCuts.h

index 68b90d9..603e1b9 100644 (file)
@@ -644,6 +644,36 @@ AliESDtrackCuts* AliESDtrackCuts::GetStandardITSTPCTrackCuts2009(Bool_t selPrima
   return esdTrackCuts;
 }
 //____________________________________________________________________
+AliESDtrackCuts* AliESDtrackCuts::GetStandardITSTPCTrackCuts2010(Bool_t selPrimaries)\r
+{\r
+  // creates an AliESDtrackCuts object and fills it with standard values for ITS-TPC cuts for pp 2010 data\r
+  \r
+  Printf("AliESDtrackCuts::GetStandardITSTPCTrackCuts: Creating track cuts for ITS+TPC.");\r
+  \r
+  AliESDtrackCuts* esdTrackCuts = new AliESDtrackCuts;\r
+\r
+  // TPC  \r
+  esdTrackCuts->SetRequireTPCStandAlone(kTRUE); // to get chi2 and ncls of kTPCin\r
+  esdTrackCuts->SetMinNClustersTPC(70);\r
+  esdTrackCuts->SetMaxChi2PerClusterTPC(4);\r
+  esdTrackCuts->SetAcceptKinkDaughters(kFALSE);\r
+  esdTrackCuts->SetRequireTPCRefit(kTRUE);\r
+  // ITS\r
+  esdTrackCuts->SetRequireITSRefit(kTRUE);\r
+  esdTrackCuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD,\r
+                                        AliESDtrackCuts::kAny);\r
+  if(selPrimaries) {\r
+    // 7*(0.0026+0.0050/pt^1.01)\r
+    esdTrackCuts->SetMaxDCAToVertexXYPtDep("0.0182+0.0350/pt^1.01");\r
+  }\r
+  esdTrackCuts->SetMaxDCAToVertexZ(1.e6);\r
+  esdTrackCuts->SetDCAToVertex2D(kFALSE);\r
+  esdTrackCuts->SetRequireSigmaToVertex(kFALSE);\r
+  //esdTrackCuts->SetEtaRange(-0.8,+0.8);\r
+  \r
+  return esdTrackCuts;\r
+}\r
+//____________________________________________________________________\r
 AliESDtrackCuts* AliESDtrackCuts::GetStandardITSPureSATrackCuts2009(Bool_t selPrimaries, Bool_t useForPid)
 {
   // creates an AliESDtrackCuts object and fills it with standard values for ITS pure SA tracks
index 52d8afa..eac4e5e 100644 (file)
@@ -60,6 +60,7 @@ public:
   // Standard cut definitions
   static AliESDtrackCuts* GetStandardTPCOnlyTrackCuts();
   static AliESDtrackCuts* GetStandardITSTPCTrackCuts2009(Bool_t selPrimaries=kTRUE);
+  static AliESDtrackCuts* GetStandardITSTPCTrackCuts2010(Bool_t selPrimaries=kTRUE);\r
   static AliESDtrackCuts* GetStandardITSSATrackCuts2009(Bool_t selPrimaries=kTRUE, Bool_t useForPid=kTRUE);
   static AliESDtrackCuts* GetStandardITSPureSATrackCuts2009(Bool_t selPrimaries=kTRUE, Bool_t useForPid=kTRUE);