#97725: change in AliPIDResponse.cxx
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Sep 2012 21:57:52 +0000 (21:57 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 25 Sep 2012 21:57:52 +0000 (21:57 +0000)
STEER/STEERBase/AliPIDResponse.cxx

index f8cd945..fcec2e9 100644 (file)
@@ -938,7 +938,7 @@ void AliPIDResponse::SetTPCParametrisation()
     //if (fIsMC) period="[A-Z0-9]*";
     //for MC use MC period information
     //pattern for the default entry (valid for all particles)
-    TPRegexp reg(Form("TSPLINE3_%s_([A-Z]*)_%s_PASS%d_%s_MEAN(_*)([A-Z1-9]*)",datatype.Data(),period.Data(),fRecoPass,fBeamType.Data()));
+    TPRegexp reg(Form("TSPLINE3_%s_([A-Z]*)_%s_PASS%d_%s_MEAN(_*)([A-Z1-9]*)",datatype.Data(),period.Data(),recopass,fBeamType.Data()));
 
     //find particle id ang gain scenario
     for (Int_t igainScenario=0; igainScenario<AliTPCPIDResponse::fgkNumberOfGainScenarios; igainScenario++)