]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterReconstructor.cxx
Remove obselete members and methods (Ch. Finck)
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.cxx
index 657f7b58760a8c2f81013f4357c458b4c2f85979..e04b804bd9b871c8e37c009cbe3057f2157c09a4 100644 (file)
 #include "AliMUONClusterFinderVS.h"
 #include "AliMUONClusterInput.h"
 #include "AliMUONRawCluster.h"
-#include "AliRawReader.h" // for raw data
 #include "AliLog.h"
 
-
-const Int_t AliMUONClusterReconstructor::fgkDefaultPrintLevel = 0;
-
 ClassImp(AliMUONClusterReconstructor) // Class implementation in ROOT context
 
 //__________________________________________________________________________
   AliMUONClusterReconstructor::AliMUONClusterReconstructor(AliLoader* loader, AliMUONData* data)
-  : TObject(),
-    fMUONData(0),
-    fPrintLevel(fgkDefaultPrintLevel),
-    fDebug(0)
+  : TObject()
 {
   // Standard Constructor
 
@@ -56,7 +49,7 @@ ClassImp(AliMUONClusterReconstructor) // Class implementation in ROOT context
 
   // initialize container
   if (data == 0x0)
-    fMUONData  = new AliMUONData(fLoader,"MUON","MUON");
+    fMUONData = new AliMUONData(fLoader,"MUON","MUON");
   else
     fMUONData = data;
   
@@ -70,8 +63,7 @@ ClassImp(AliMUONClusterReconstructor) // Class implementation in ROOT context
 AliMUONClusterReconstructor::AliMUONClusterReconstructor()
   : TObject(),
     fMUONData(0),
-    fPrintLevel(fgkDefaultPrintLevel),
-    fDebug(0),
+    fRecModel(0),
     fLoader(0)
 {
   // Default Constructor
@@ -105,6 +97,8 @@ AliMUONClusterReconstructor::~AliMUONClusterReconstructor(void)
 
   if (fMUONData)
     delete fMUONData;
+  if (fRecModel)
+    delete fRecModel;
 
   return;
 }
@@ -153,7 +147,6 @@ void AliMUONClusterReconstructor::Digits2Clusters()
        idDE_prev = idDE;
       }
 
-
       Int_t idSize = n2;
 
       // loop over id DE
@@ -175,8 +168,6 @@ void AliMUONClusterReconstructor::Digits2Clusters()
          }
        }
 
-       //      if (id[idDE] < 500 && id[idDE] > 299) continue; // temporary patch til St2 geometry is not yet ok (CF)
-
        // cluster finder
        if (fRecModel) {
          AliMUONClusterInput::Instance()->SetDigits(ich, id[idDE], dig1, dig2);