]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterFinderCOG.h
Error messages stored in the global raw-reader error log (Cvetan, Chiara)
[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 AliMUONMathieson;
20
21 class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
22 {
23 public:
24   AliMUONClusterFinderCOG();
25   virtual ~AliMUONClusterFinderCOG();
26   
27   virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
28                          TClonesArray* digits[2]);
29   
30   virtual AliMUONCluster* NextCluster();
31   
32 private:
33   /// Not implemented
34   AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
35   /// Not implemented
36   AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
37
38   void ComputePosition(AliMUONCluster& cluster);
39
40 private:
41     AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
42
43   ClassDef(AliMUONClusterFinderCOG,1) // 
44 };
45
46 #endif