new functionality and new class added
[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,
30 TClonesArray* pads[2],
31 const AliMpArea& area);
e036a7af 32
33 virtual AliMUONCluster* NextCluster();
34
35private:
71a2d3aa 36 /// Not implemented
e036a7af 37 AliMUONClusterFinderSimpleFit(const AliMUONClusterFinderSimpleFit& rhs);
71a2d3aa 38 /// Not implemented
e036a7af 39 AliMUONClusterFinderSimpleFit& operator=(const AliMUONClusterFinderSimpleFit& rhs);
71a2d3aa 40
e036a7af 41 void ComputePosition(AliMUONCluster& cluster);
42
43private:
44 AliMUONVClusterFinder* fClusterFinder; //!< the preclustering we use
45 AliMUONMathieson* fMathieson; //!< Mathieson to compute the charge repartition
46
69d7ac2e 47 ClassDef(AliMUONClusterFinderSimpleFit,1) // Basic cluster finder
e036a7af 48};
49
50#endif