Update HFE v2 analyses
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderSimpleFit.h
CommitLineData
e036a7af 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
19class AliMUONMathieson;
20
21class AliMUONClusterFinderSimpleFit : public AliMUONVClusterFinder
22{
23public:
b1a19e07 24 AliMUONClusterFinderSimpleFit(AliMUONVClusterFinder* clusterFinder);
e036a7af 25 virtual ~AliMUONClusterFinderSimpleFit();
26
24935e58 27 using AliMUONVClusterFinder::Prepare;
28
29 virtual Bool_t Prepare(Int_t detElemId,
9e41a340 30 TObjArray* pads[2],
24935e58 31 const AliMpArea& area);
e036a7af 32
33 virtual AliMUONCluster* NextCluster();
34
110edb51 35 virtual void SetChargeHints(Double_t /*lowestPadCharge*/, Double_t lowestClusterCharge) {
36 fLowestClusterCharge=lowestClusterCharge;
37 }
38
e036a7af 39private:
71a2d3aa 40 /// Not implemented
e036a7af 41 AliMUONClusterFinderSimpleFit(const AliMUONClusterFinderSimpleFit& rhs);
71a2d3aa 42 /// Not implemented
e036a7af 43 AliMUONClusterFinderSimpleFit& operator=(const AliMUONClusterFinderSimpleFit& rhs);
71a2d3aa 44
e036a7af 45 void ComputePosition(AliMUONCluster& cluster);
46
47private:
48 AliMUONVClusterFinder* fClusterFinder; //!< the preclustering we use
49 AliMUONMathieson* fMathieson; //!< Mathieson to compute the charge repartition
110edb51 50 Double_t fLowestClusterCharge; //!< minimum cluster charge we allow
e036a7af 51
110edb51 52 ClassDef(AliMUONClusterFinderSimpleFit,2) // Basic cluster finder
e036a7af 53};
54
55#endif