]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterReconstructor.h
Changes, needed to use AliMUONClusterFinderAZ (Sacha)
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.h
index cd93836111e2d1926412a0427ad297f69840068d..a1641f00660a1c4f5f06df981c2665711fcf2fa5 100644 (file)
 ////////////////////////////////////
 
 #include <TObject.h>
+#include "AliMUONClusterFinderVS.h" //AZ
 
 class AliLoader;
 class AliMUON;
 class AliMUONRawCluster;
-class AliMUONClusterFinderVS;
+//AZ class AliMUONClusterFinderVS;
 class AliMUONData;
 class AliRawReader;
 
@@ -40,7 +41,8 @@ class AliMUONClusterReconstructor : public TObject
   // Reco Model
   AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
   //  AliMUONClusterFinderAZ* GetRecoModel() {return fRecModel;}
-  void   SetRecoModel(AliMUONClusterFinderVS* rec) {fRecModel = rec;}
+  //AZ void   SetRecoModel(AliMUONClusterFinderVS* rec) {fRecModel = rec;}
+  void   SetRecoModel(AliMUONClusterFinderVS* rec) {if (fRecModel) delete fRecModel; fRecModel = rec;} //AZ
   //  void   SetRecoModel(AliMUONClusterFinderAZ* rec) {fRecModel = rec;}
 
   // print level