added a cut selection
authorssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jun 2012 17:00:56 +0000 (17:00 +0000)
committerssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Jun 2012 17:00:56 +0000 (17:00 +0000)
PWGHF/hfe/macros/configs/PbPb/ConfigHFECalSys_PbPb.C

index d5fc9ea..dad5766 100644 (file)
@@ -1,4 +1,4 @@
-AliAnalysisTaskHFE* ConfigHFECalSys_PbPb(Bool_t useMC, int TPCclust, int Nits, double nSigMim, double Mimeop, double Maxeop, int PIDorder){
+AliAnalysisTaskHFE* ConfigHFECalSys_PbPb(Bool_t useMC, int TPCclust, int Nits, int ITSstat, double nSigMim, double Mimeop, double Maxeop, int PIDorder){
   //
   // HFE standard task configuration
   //
@@ -18,6 +18,7 @@ AliAnalysisTaskHFE* ConfigHFECalSys_PbPb(Bool_t useMC, int TPCclust, int Nits, d
   //hfecuts->SetMinNClustersITS(3);
   hfecuts->SetMinNClustersITS(Nits);
   hfecuts->SetCutITSpixel(AliHFEextraCuts::kAny);
+  if(ITSstat==1)hfecuts->SetCutITSpixel(AliHFEextraCuts::kFirst);
   hfecuts->SetCheckITSLayerStatus(kFALSE);
 
   //hfecuts->UnsetVertexRequirement();