1 #ifndef ALIMUONCLUSTERFINDERSIMPLEFIT_H
2 #define ALIMUONCLUSTERFINDERSIMPLEFIT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONClusterFinderSimpleFit
11 /// \brief Basic cluster finder
13 // Author Laurent Aphecetche, Subatech
15 #ifndef AliMUONVCLUSTERFINDER_H
16 # include "AliMUONVClusterFinder.h"
19 class AliMUONMathieson;
21 class AliMUONClusterFinderSimpleFit : public AliMUONVClusterFinder
24 AliMUONClusterFinderSimpleFit(AliMUONVClusterFinder* clusterFinder);
25 virtual ~AliMUONClusterFinderSimpleFit();
27 using AliMUONVClusterFinder::Prepare;
29 virtual Bool_t Prepare(Int_t detElemId,
31 const AliMpArea& area);
33 virtual AliMUONCluster* NextCluster();
35 virtual void SetChargeHints(Double_t /*lowestPadCharge*/, Double_t lowestClusterCharge) {
36 fLowestClusterCharge=lowestClusterCharge;
41 AliMUONClusterFinderSimpleFit(const AliMUONClusterFinderSimpleFit& rhs);
43 AliMUONClusterFinderSimpleFit& operator=(const AliMUONClusterFinderSimpleFit& rhs);
45 void ComputePosition(AliMUONCluster& cluster);
48 AliMUONVClusterFinder* fClusterFinder; //!< the preclustering we use
49 AliMUONMathieson* fMathieson; //!< Mathieson to compute the charge repartition
50 Double_t fLowestClusterCharge; //!< minimum cluster charge we allow
52 ClassDef(AliMUONClusterFinderSimpleFit,2) // Basic cluster finder