Line data Source code
1 : #ifndef ALIMUONCLUSTERFINDERCOG_H
2 : #define ALIMUONCLUSTERFINDERCOG_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 AliMUONClusterFinderCOG
11 : /// \brief A very basic (and mostly useless, probably) cluster finder
12 : ///
13 : // Author Laurent Aphecetche, Subatech
14 :
15 : #ifndef AliMUONVCLUSTERFINDER_H
16 : # include "AliMUONVClusterFinder.h"
17 : #endif
18 :
19 : class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
20 : {
21 : public:
22 : AliMUONClusterFinderCOG(AliMUONVClusterFinder* clusterFinder);
23 : virtual ~AliMUONClusterFinderCOG();
24 :
25 : using AliMUONVClusterFinder::Prepare;
26 :
27 : virtual Bool_t Prepare(Int_t detElemId,
28 : TObjArray* pads[2],
29 : const AliMpArea& area);
30 :
31 : virtual AliMUONCluster* NextCluster();
32 :
33 : private:
34 : /// Not implemented
35 : AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
36 : /// Not implemented
37 : AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
38 :
39 : void ComputePosition(AliMUONCluster& cluster);
40 :
41 : private:
42 : AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
43 :
44 18 : ClassDef(AliMUONClusterFinderCOG,1) // A very basic (and mostly useless, probably) cluster finder
45 : };
46 :
47 : #endif
|