using default for selected species
authorantoniol <antoniol@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Mar 2012 10:40:05 +0000 (10:40 +0000)
committerantoniol <antoniol@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Mar 2012 10:40:05 +0000 (10:40 +0000)
ANALYSIS/AliAnalysisTaskPIDCombined.cxx

index 939c76b..fe85f36 100644 (file)
@@ -126,13 +126,13 @@ void AliAnalysisTaskPIDCombined::UserCreateOutputObjects()
   fPIDCombined->SetDefaultTPCPriors();\r
   fPIDCombined->SetDetectorMask(AliPIDResponse::kDetTPC+AliPIDResponse::kDetTOF);\r
 \r
-  // no light nuclei\r
-  fPIDCombined->SetSelectedSpecies(AliPID::kSPECIES);\r
+  // no light nuclei - no need to call it, this is default\r
+  //  fPIDCombined->SetSelectedSpecies(AliPID::kSPECIES);\r
 \r
 \r
   fHistList.Add(new TH1D("nEvents","Number of Evnets;Selection",2,0,2));\r
-  Int_t ispecMax = (Int_t)AliPID::kSPECIES; // coverity fix\r
-  for (Int_t ispec=0; ispec<ispecMax; ++ispec){\r
+\r
+  for (Int_t ispec=0; ispec<5; ++ispec){\r
 \r
  \r
     fProbTPC[ispec]=new TH2D(Form("prob%s_mom_TPC",AliPID::ParticleName(ispec)),\r