]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONClusterFinderCOG.h
Added protection and 2 levels for problems
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterFinderCOG.h
CommitLineData
a224d738 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 AliMUONMathieson;
20
21class AliMUONClusterFinderCOG : public AliMUONVClusterFinder
22{
23public:
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
32private:
71a2d3aa 33 /// Not implemented
a224d738 34 AliMUONClusterFinderCOG(const AliMUONClusterFinderCOG& rhs);
71a2d3aa 35 /// Not implemented
a224d738 36 AliMUONClusterFinderCOG& operator=(const AliMUONClusterFinderCOG& rhs);
71a2d3aa 37
a224d738 38 void ComputePosition(AliMUONCluster& cluster);
39
40private:
41 AliMUONVClusterFinder* fPreClusterFinder; ///< the preclustering we use
42
43 ClassDef(AliMUONClusterFinderCOG,1) //
44};
45
46#endif