]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/AliMUONClusterFinderCOG.h
new functionality and new class added
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderCOG.h
... / ...
CommitLineData
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
19class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
20{
21public:
22 AliMUONClusterFinderCOG(AliMUONVClusterFinder* clusterFinder);
23 virtual ~AliMUONClusterFinderCOG();
24
25 using AliMUONVClusterFinder::Prepare;
26
27 virtual Bool_t Prepare(Int_t detElemId,
28 TClonesArray* pads[2],
29 const AliMpArea& area);
30
31 virtual AliMUONCluster* NextCluster();
32
33private:
34 /// Not implemented
35 AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
36 /// Not implemented
37 AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
38
39 void ComputePosition(AliMUONCluster& cluster);
40
41private:
42 AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
43
44 ClassDef(AliMUONClusterFinderCOG,1) // A very basic (and mostly useless, probably) cluster finder
45};
46
47#endif