]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterFinderCOG.h
Adding FindPCBIndexByMotifPositionID method (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderCOG.h
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   virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
26                          const AliMUONVDigitStore& digitStore);
27   
28   virtual AliMUONCluster* NextCluster();
29   
30 private:
31   /// Not implemented
32   AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
33   /// Not implemented
34   AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
35
36   void ComputePosition(AliMUONCluster& cluster);
37
38 private:
39     AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
40
41   ClassDef(AliMUONClusterFinderCOG,1) // A very basic (and mostly useless, probably) cluster finder
42 };
43
44 #endif