]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONClusterFinderAZ.h
Correction of coding conventions: comments for all data members were added.
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderAZ.h
index 73624502ab71fd01f252f801ec44d417e1bd28cb..706ed3052331d7e8393fb517c036edebaf66c36c 100644 (file)
@@ -3,41 +3,41 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-#include <TROOT.h>
+/* $Id$ */
+// Revision of includes 07/05/2004
+
+#include "AliMUONClusterFinderVS.h"
+
 class TH2F;
 class TH2D;
 class TClonesArray;
-class AliSegmentation;
-class AliMUONResponse;
 class TMinuit;
 class TMatrixD;
-class AliMUONPixel;
-#include "AliMUONClusterFinderVS.h"
-
-//class AliMUONClusterFinderAZ : public TObject {
-class AliMUONClusterFinderAZ : public AliMUONClusterFinderVS {
 
- public:
+class AliSegmentation;
+class AliMUONResponse;
+class AliMUONPixel;
 
-  AliMUONClusterFinderAZ(Bool_t draw, Int_t iReco);// Constructor
+class AliMUONClusterFinderAZ : public AliMUONClusterFinderVS 
+{
+public:
+  AliMUONClusterFinderAZ(Bool_t draw = 0, Int_t iReco = 0);// Constructor
   virtual ~AliMUONClusterFinderAZ(); // Destructor
 
   void     FindRawClusters(); // the same interface as for old cluster finder
   void     EventLoop(Int_t nev, Int_t ch); // first event 
-  Bool_t   TestTrack(Int_t t); // test if track was selected
-
-  static   AliMUONClusterFinderAZ* fgClusterFinder;
+  Bool_t   TestTrack(Int_t t) const; // test if track was selected
  
 protected:
-
+  AliMUONClusterFinderAZ(const AliMUONClusterFinderAZ& rhs);
+  AliMUONClusterFinderAZ& operator=(const AliMUONClusterFinderAZ& rhs);
 
  private:
   // Some constants
   static const Int_t fgkDim = 2000; // array size
   static const Double_t fgkCouplMin; // threshold on coupling 
 
+  static  AliMUONClusterFinderAZ* fgClusterFinder; // the ClusterFinderAZ instance
 
   Int_t      fnPads[2];        // ! number of pads in the cluster on 2 cathodes
   Float_t    fXyq[6][fgkDim];    // ! pad information
@@ -86,8 +86,9 @@ protected:
   void  FlagLocalMax(TH2D *hist, Int_t i, Int_t j, Int_t *isLocalMax); // flag local max
   void  FindCluster(Int_t *localMax, Int_t iMax); // find cluster around local max
   // This function is used for fitting
-  void  fcn1(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag);
+  void  Fcn1(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag);
 
   ClassDef(AliMUONClusterFinderAZ,0) // cluster finder in MUON arm of ALICE
-    };
+};
+
 #endif