]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/AliITSU.cxx
Corrected end-of-line behavior
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSU.cxx
index 7eadca13b345d7ab1ca094ad937e088dce06df94..e1296e08a2e96b678e165393b3c50bcc86168755 100644 (file)
@@ -189,7 +189,7 @@ AliITSU::~AliITSU()
     delete[] fSegModelLr;
   }
   //
-  delete fResponseLr; // note: the response data is owned by the CDBManager, we don't delete them
+  delete[] fResponseLr; // note: the response data is owned by the CDBManager, we don't delete them
   //
   delete[] fLayerName;  // Array of TStrings
   delete[] fIdSens;
@@ -550,7 +550,7 @@ void AliITSU::Hits2Digits()
   //
   for (Int_t iEvent = 0; iEvent < rl->GetNumberOfEvents(); iEvent++) {
     rl->GetEvent(iEvent);
-    if (!fLoader->TreeS()) fLoader->MakeTree("S");
+    if (!fLoader->TreeD()) fLoader->MakeTree("D");
     MakeBranch("D");
     SetTreeAddress();
     Hits2Digits(iEvent,0," "," ");