bug in period names corrected
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 May 2013 08:36:44 +0000 (08:36 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 27 May 2013 08:36:44 +0000 (08:36 +0000)
 Markus Fasel <M.Fasel@gsi.de>

STEER/STEERBase/AliPIDResponse.cxx

index 6875616..927428d 100644 (file)
@@ -1418,7 +1418,7 @@ void AliPIDResponse::InitializeTRDResponse(){
 //______________________________________________________________________________
 void AliPIDResponse::SetTRDSlices(UInt_t TRDslicesForPID[2],AliTRDPIDResponse::ETRDPIDMethod method) const{
 
-    if(fLHCperiod == "LHC10d" || fLHCperiod == "LHC10e"){
+    if(fLHCperiod.Contains("LHC10D") || fLHCperiod.Contains("LHC10E")){
        // backward compatibility for setting with 8 slices
        TRDslicesForPID[0] = 0;
        TRDslicesForPID[1] = 7;