]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONVClusterFinder.h
Adding functionality to read the MC data in HLT. Also updated some classes to read...
[u/mrichter/AliRoot.git] / MUON / AliMUONVClusterFinder.h
CommitLineData
5e185331 1#ifndef ALIMUONVCLUSTERFINDER_H
2#define ALIMUONVCLUSTERFINDER_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
c25af45b 10/// \class AliMUONVClusterFinder
5e185331 11/// \brief Interface of a cluster finder.
12///
13// Author Laurent Aphecetche
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONCluster;
20class AliMpVSegmentation;
5e185331 21class AliMUONPad;
24935e58 22class AliMpArea;
5e185331 23
24class AliMUONVClusterFinder : public TObject
25{
26public:
27 AliMUONVClusterFinder();
28 virtual ~AliMUONVClusterFinder();
29
71a2d3aa 30 /// \todo add comment
24935e58 31
32 virtual Bool_t NeedSegmentation() const { return kFALSE; }
33
34 virtual Bool_t Prepare(Int_t detElemId,
35 TClonesArray* pads[2],
36 const AliMpArea& area);
37
38 virtual Bool_t Prepare(Int_t detElemId,
39 TClonesArray* pads[2],
40 const AliMpArea& area,
41 const AliMpVSegmentation* segmentations[2]);
5e185331 42
71a2d3aa 43 /// \todo add comment
5e185331 44 virtual AliMUONCluster* NextCluster() = 0;
45
46 /** Add a pad to the list of pads to be considered for clustering.
47 Typical usage is to "put-back-in-business" a pad that was part
48 of a previous cluster (returned by NextCluster) but was externally
49 identified of not being part of that cluster, so it must be reuseable.
50 Might not be implemented by all cluster finders...
51 (in which case it must returns kFALSE)
52 */
53 virtual Bool_t UsePad(const AliMUONPad& pad);
54
55 ClassDef(AliMUONVClusterFinder,0) // Interface of a MUON cluster finder.
56};
57
58#endif