]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDqaRecPoints.cxx
Version where the process for HLT and vdrift on DAQ are off(Raphaelle)
[u/mrichter/AliRoot.git] / TRD / AliTRDqaRecPoints.cxx
index 90780f4c23c25ca3962a43297db3a7aa7fed7f48..cd71df2007bc7556330f641987adde4335afc06f 100644 (file)
@@ -41,7 +41,6 @@
 #include "AliTRDcluster.h"
 #include "AliTRDqaRecPoints.h"
 #include "AliTRDgeometry.h"
-#include "AliTRDdataArrayI.h"
 
 #include "AliQAChecker.h"
 
@@ -60,6 +59,10 @@ AliTRDqaRecPoints::AliTRDqaRecPoints() :
   // Default constructor
   //
 
+  for (Int_t i = 0; i < 540; i++) {
+    fRefHist[i] = 0x0;
+  }
+
 }
 
 //____________________________________________________________________________ 
@@ -75,6 +78,10 @@ AliTRDqaRecPoints::AliTRDqaRecPoints(const AliTRDqaRecPoints &/*qa*/) :
   // Copy constructor
   //
 
+  for (Int_t i = 0; i < 540; i++) {
+    fRefHist[i] = 0x0;
+  }
+
 }
 
 //____________________________________________________________________________ 
@@ -88,7 +95,7 @@ void AliTRDqaRecPoints::Process(const char* filename)
   
   AliInfo("End of TRD cycle");
   
-  //if (task == AliQA::kRECPOINTS) {
+  //if (task == AliQAv1::kRECPOINTS) {
   
   TH1D *hist = new TH1D("fitHist", "", 200, -0.5, 199.5);
   //fHist->Print();
@@ -255,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);
@@ -264,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);