more consistent use of cuts, new cut number 1008
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Sep 2012 13:20:44 +0000 (13:20 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Sep 2012 13:20:44 +0000 (13:20 +0000)
PWGJE/macros/AddTaskPWG4HighPtSpectra.C
PWGJE/macros/AddTaskPWG4HighPtTrackQA.C
PWGJE/macros/CreateTrackCutsPWGJE.C

index a927b28..43566b9 100644 (file)
@@ -179,22 +179,22 @@ AliPWG4HighPtSpectra* ConfigureTaskPWG4HighPtSpectra(char *prodType = "LHC10e14"
   if(trackType==0 && cuts==1) {
     //Cuts global tracks with ITSrefit requirement and SPDrequirement for jet analysis
     if (!strcmp(prodType,"LHC12a15e"))
-      trackCuts = CreateTrackCutsPWGJE(10001007);
+      trackCuts = CreateTrackCutsPWGJE(10001008);
     else
       trackCuts = CreateTrackCutsPWGJE(10001006);
   }
   if(trackType==0 && cuts==2) {
     //Cuts global tracks with ITSrefit requirement but without SPD
     if (!strcmp(prodType,"LHC12a15e"))
-      trackCuts = CreateTrackCutsPWGJE(10011007);
+      trackCuts = CreateTrackCutsPWGJE(10011008);
     else
       trackCuts = CreateTrackCutsPWGJE(10011006);
   }
   if(trackType==7 && cuts==0) {
     // no requirements on SPD and ITSrefit failed
     if (!strcmp(prodType,"LHC12a15e")){
-      trackCuts = CreateTrackCutsPWGJE(10041007);   //no ITSrefit requirement
-      trackCutsReject = CreateTrackCutsPWGJE(1007); //ITSrefit requirement
+      trackCuts = CreateTrackCutsPWGJE(10041008);   //no ITSrefit requirement
+      trackCutsReject = CreateTrackCutsPWGJE(1008); //ITSrefit requirement
     }
     else {
       trackCuts = CreateTrackCutsPWGJE(10041006);   //no ITSrefit requirement
@@ -206,15 +206,15 @@ AliPWG4HighPtSpectra* ConfigureTaskPWG4HighPtSpectra(char *prodType = "LHC10e14"
   if(trackType==7 && cuts==1) {
     //Cuts global tracks with ITSrefit requirement but without SPD
     if (!strcmp(prodType,"LHC12a15e"))
-      trackCuts = CreateTrackCutsPWGJE(10011007);
+      trackCuts = CreateTrackCutsPWGJE(10011008);
     else
       trackCuts = CreateTrackCutsPWGJE(10011006);
   }
   if(trackType==7 && cuts==2) {
     // no requirements on SPD and ITSrefit failed
     if (!strcmp(prodType,"LHC12a15e")){
-      trackCuts = CreateTrackCutsPWGJE(10041007);       //no ITSrefit requirement filter 256
-      trackCutsReject = CreateTrackCutsPWGJE(10001007); //ITSrefit requirement filter 16
+      trackCuts = CreateTrackCutsPWGJE(10041008);       //no ITSrefit requirement filter 256
+      trackCutsReject = CreateTrackCutsPWGJE(10001008); //ITSrefit requirement filter 16
     }
     else {
       trackCuts = CreateTrackCutsPWGJE(10041006);       //no ITSrefit requirement filter 256
index 7331538..16836b8 100644 (file)
@@ -259,7 +259,7 @@ AliPWG4HighPtTrackQA* ConfigureTaskPWG4HighPtTrackQA(char *prodType = "LHC10e14"
   }
   if(trackType==0 && cuts==5) {
     //Cuts global tracks with ITSrefit requirement and SPDrequirement for jet analysis + NCrossedRowsCut>120 recommended in 2011
-    trackCuts = CreateTrackCutsPWGJE(10001007);
+    trackCuts = CreateTrackCutsPWGJE(10001008);
   }
   
   if(trackType==0 && cuts==2) {
@@ -275,8 +275,8 @@ AliPWG4HighPtTrackQA* ConfigureTaskPWG4HighPtTrackQA(char *prodType = "LHC10e14"
   }
   if(trackType==7 && cuts==4) {
     // tight global tracks +  NCrossedRowsCut>120 recommended in 2011
-    trackCuts = CreateTrackCutsPWGJE(10041007);
-    trackCutsReject = CreateTrackCutsPWGJE(1007);
+    trackCuts = CreateTrackCutsPWGJE(10041008);
+    trackCutsReject = CreateTrackCutsPWGJE(1008);
     trackCutsReject->SetEtaRange(-0.9,0.9);
     trackCutsReject->SetPtRange(0.15, 1e10);
   }
@@ -286,7 +286,7 @@ AliPWG4HighPtTrackQA* ConfigureTaskPWG4HighPtTrackQA(char *prodType = "LHC10e14"
   }
   if(trackType==7 && cuts==5) {
     // tight global tracks  + NCrossedRowsCut>120 recommended in 2011
-    trackCuts = CreateTrackCutsPWGJE(10011007);
+    trackCuts = CreateTrackCutsPWGJE(10011008);
   }
   if(trackType==7 && cuts==2) {
     // no requirements on SPD and ITSrefit failed
@@ -297,8 +297,8 @@ AliPWG4HighPtTrackQA* ConfigureTaskPWG4HighPtTrackQA(char *prodType = "LHC10e14"
   }
   if(trackType==7 && cuts==6) {
     // no requirements on SPD and ITSrefit failed
-    trackCuts = CreateTrackCutsPWGJE(10041007);       //no ITSrefit requirement filter 256
-    trackCutsReject = CreateTrackCutsPWGJE(10001007); //ITSrefit requirement filter 16
+    trackCuts = CreateTrackCutsPWGJE(10041008);       //no ITSrefit requirement filter 256
+    trackCutsReject = CreateTrackCutsPWGJE(10001008); //ITSrefit requirement filter 16
     trackCutsReject->SetEtaRange(-0.9,0.9);
     trackCutsReject->SetPtRange(0.15, 1e10);
   }
index 332aa93..ad9fbd0 100644 (file)
@@ -227,6 +227,27 @@ AliESDtrackCuts *CreateTrackCutsPWGJE(Int_t cutMode) {
 
   }
 
+  if(stdCutMode == 1008) {
+    
+    bStdCutsDefined = kTRUE;
+    
+    trackCuts = AliESDtrackCuts::GetStandardITSTPCTrackCuts2011(kFALSE);
+    //accept secondaries
+    trackCuts->SetMaxDCAToVertexXY(2.4);
+    trackCuts->SetMaxDCAToVertexZ(3.2);
+    trackCuts->SetDCAToVertex2D(kTRUE);
+
+    //
+    trackCuts->SetMaxChi2TPCConstrainedGlobal(36);
+    trackCuts->->SetClusterRequirementITS(AliESDtrackCuts::kSPD, AliESDtrackCuts::kNone);
+
+    trackCuts->SetEtaRange(-0.9,0.9);
+    trackCuts->SetPtRange(0.15, 1E+15.);
+    tag = "Global tracks 2011 with NCrossedRows cut";
+
+  }
+
 
   if(stdCutMode == 2000) {