]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDqaRecPoints.cxx
- implement GetHCId() for AliTRDtrackletGTU
[u/mrichter/AliRoot.git] / TRD / AliTRDqaRecPoints.cxx
index 3bca23088023d0c8737d325bdcff8573c4b2351f..cd71df2007bc7556330f641987adde4335afc06f 100644 (file)
@@ -59,6 +59,10 @@ AliTRDqaRecPoints::AliTRDqaRecPoints() :
   // Default constructor
   //
 
+  for (Int_t i = 0; i < 540; i++) {
+    fRefHist[i] = 0x0;
+  }
+
 }
 
 //____________________________________________________________________________ 
@@ -74,6 +78,10 @@ AliTRDqaRecPoints::AliTRDqaRecPoints(const AliTRDqaRecPoints &/*qa*/) :
   // Copy constructor
   //
 
+  for (Int_t i = 0; i < 540; i++) {
+    fRefHist[i] = 0x0;
+  }
+
 }
 
 //____________________________________________________________________________ 
@@ -254,7 +262,7 @@ void AliTRDqaRecPoints::Init()
   
   // 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, 35, -0.5, 34.5);
     hist[14+i]->SetMinimum(20);
     hist[14+i]->SetMaximum(40);
@@ -263,7 +271,7 @@ void AliTRDqaRecPoints::Init()
   // 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),
                             35, -0.5, 34.5);
 
     hist[14+18+i]->SetMaximum(120);