]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterFinderSimpleFit.h
d2a95ff747fb1d759da9bdb076071973724a193e
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderSimpleFit.h
1 #ifndef ALIMUONCLUSTERFINDERSIMPLEFIT_H
2 #define ALIMUONCLUSTERFINDERSIMPLEFIT_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice                               */
6
7 // $Id$
8
9 /// \ingroup rec
10 /// \class AliMUONClusterFinderSimpleFit
11 /// \brief Basic cluster finder 
12 /// 
13 // Author Laurent Aphecetche, Subatech
14
15 #ifndef AliMUONVCLUSTERFINDER_H
16 #  include "AliMUONVClusterFinder.h"
17 #endif
18
19 class AliMUONMathieson;
20
21 class AliMUONClusterFinderSimpleFit : public AliMUONVClusterFinder
22 {
23 public:
24   AliMUONClusterFinderSimpleFit();
25   virtual ~AliMUONClusterFinderSimpleFit();
26   
27   virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
28                          TClonesArray* digits[2]);
29   
30   virtual AliMUONCluster* NextCluster();
31   
32 private:
33   AliMUONClusterFinderSimpleFit(const AliMUONClusterFinderSimpleFit& rhs);
34   AliMUONClusterFinderSimpleFit& operator=(const AliMUONClusterFinderSimpleFit& rhs);
35   void ComputePosition(AliMUONCluster& cluster);
36
37 private:
38     AliMUONVClusterFinder* fClusterFinder; //!< the preclustering we use
39   AliMUONMathieson* fMathieson; //!< Mathieson to compute the charge repartition
40   
41   ClassDef(AliMUONClusterFinderSimpleFit,1) // 
42 };
43
44 #endif