Initialisation of fgMinuit and fgClusterFinder (Piotr)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Apr 2004 09:03:35 +0000 (09:03 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Apr 2004 09:03:35 +0000 (09:03 +0000)
MUON/AliMUONClusterFinderAZ.cxx

index 47834dbb2e8374ce59fc9e36e2ee84d319c4a92e..1992593fe12bd0f0704577566648cd15672182ee 100644 (file)
@@ -32,6 +32,9 @@
 
 
 ClassImp(AliMUONClusterFinderAZ)
+ AliMUONClusterFinderAZ* AliMUONClusterFinderAZ::fgClusterFinder = 0x0;
+ TMinuit* AliMUONClusterFinderAZ::fgMinuit = 0x0;
 
 
 //_____________________________________________________________________________
@@ -41,6 +44,8 @@ AliMUONClusterFinderAZ::AliMUONClusterFinderAZ(Bool_t draw=0, Int_t iReco=0)
   for (Int_t i=0; i<4; i++) {fHist[i] = 0;}
   fMuonDigits = 0;
   fSegmentation[1] = fSegmentation[0] = 0; 
+  fgClusterFinder = 0x0;
+  fgMinuit = 0x0; 
   if (!fgClusterFinder) fgClusterFinder = this;
   if (!fgMinuit) fgMinuit = new TMinuit(8);
   fDraw = draw;
@@ -54,8 +59,6 @@ AliMUONClusterFinderAZ::AliMUONClusterFinderAZ(Bool_t draw=0, Int_t iReco=0)
   fNextCathode = kFALSE; 
   fColPad = 0;
   */
-  fgClusterFinder = NULL;
-  fgMinuit = NULL;
 }
 
 //_____________________________________________________________________________