]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removing dead code and wrong call to the run loader
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jun 2007 14:05:13 +0000 (14:05 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jun 2007 14:05:13 +0000 (14:05 +0000)
PMD/AliPMDClusterFinder.cxx

index 3f30b50037efcb13984ed3b5cb30edf05d288dff..dde50851ddd2bd7dd76365b70e003686199bee8d 100644 (file)
@@ -279,30 +279,12 @@ void AliPMDClusterFinder::Digits2RecPoints(TTree *digitsTree,
 
   pmdclust->SetEdepCut(fEcut);
 
-/*
-  fRunLoader->GetEvent(ievt);
-  fTreeD = fPMDLoader->TreeD();
-  if (fTreeD == 0x0)
-    {
-      AliFatal("AliPMDClusterFinder: Can not get TreeD");
-    }
-*/
-
   AliPMDdigit  *pmddigit;
   TBranch *branch = digitsTree->GetBranch("PMDDigit");
   branch->SetAddress(&fDigits);
 
   ResetRecpoint();
 
-/*
-  fTreeR = fPMDLoader->TreeR();
-  if (fTreeR == 0x0)
-    {
-      fPMDLoader->MakeTree("R");
-      fTreeR = fPMDLoader->TreeR();
-    }
-*/
-
   Int_t bufsize = 16000;
   TBranch * branch1 = clustersTree->Branch("PMDRecpoint", &fRecpoints, bufsize); 
   TBranch * branch2 = clustersTree->Branch("PMDRechit", &fRechits, bufsize); 
@@ -374,8 +356,6 @@ void AliPMDClusterFinder::Digits2RecPoints(TTree *digitsTree,
     } // modules
 
   ResetCellADC();
-  fPMDLoader = fRunLoader->GetLoader("PMDLoader");  
-  fPMDLoader->WriteRecPoints("OVERWRITE");
 
   //   delete the pointers
   delete pmdclust;