Fix coverity defect
[u/mrichter/AliRoot.git] / TRD / AliTRDQADataMakerRec.cxx
index cc42445..364d84f 100644 (file)
@@ -410,7 +410,7 @@ void AliTRDQADataMakerRec::InitRecPoints()
   
   // chamber by chamber
   for(Int_t i=0; i<18; i++) {
-    hist[14+i] = new TH2D(Form("qaTRD_recPoints_sigTime_sm%d",i), Form("sm%d;det;time bin"), 
+    hist[14+i] = new TH2D(Form("qaTRD_recPoints_sigTime_sm%d",i), Form("sm%d;det;time bin",i), 
                        30, -0.5, 29.5, kTimeBin, -0.5, kTimeBin-0.5);
     hist[14+i]->SetMinimum(0);
     hist[14+i]->SetMaximum(150);
@@ -419,7 +419,7 @@ void AliTRDQADataMakerRec::InitRecPoints()
   // time bin by time bin sm-by-sm
   for(Int_t i=0; i<18; i++) {
     hist[14+18+i] = new TH1D(Form("qaTRD_recPoints_sigTimeShape_sm%d", i), 
-                            Form("sm%d;time bin;signal"),
+                            Form("sm%d;time bin;signal",i),
                             kTimeBin, -0.5, kTimeBin-0.5);
 
     hist[14+18+i]->SetMaximum(150);