Fix usage of AliTRDrawStreamTB
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Dec 2007 15:22:19 +0000 (15:22 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Dec 2007 15:22:19 +0000 (15:22 +0000)
TRD/AliTRDQADataMaker.cxx

index efeade4..82afad8 100644 (file)
@@ -665,8 +665,8 @@ void AliTRDQADataMaker::MakeRaws(AliRawReader* rawReader)
 
   AliTRDrawStreamTB *raw = new AliTRDrawStreamTB(rawReader);
 
-  raw->SetRawVersion(3);
-  raw->Init();
+  //raw->SetRawVersion(3);
+  //raw->Init();
 
   while (raw->Next()) {
 
@@ -691,6 +691,9 @@ void AliTRDQADataMaker::MakeRaws(AliRawReader* rawReader)
     GetRawsData(3)->Fill(sm);
     GetRawsData(4+sm)->Fill(index);
   }
+
+  delete raw;
+
 }
 
 //____________________________________________________________________________