1 #ifndef ALIMUONVCLUSTERFINDER_H
2 #define ALIMUONVCLUSTERFINDER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONClusterFinder
11 /// \brief Interface of a cluster finder.
13 // Author Laurent Aphecetche
20 class AliMpVSegmentation;
24 class AliMUONVClusterFinder : public TObject
27 AliMUONVClusterFinder();
28 virtual ~AliMUONVClusterFinder();
30 virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
31 TClonesArray* digits[2]) = 0;
33 virtual AliMUONCluster* NextCluster() = 0;
35 /** Add a pad to the list of pads to be considered for clustering.
36 Typical usage is to "put-back-in-business" a pad that was part
37 of a previous cluster (returned by NextCluster) but was externally
38 identified of not being part of that cluster, so it must be reuseable.
39 Might not be implemented by all cluster finders...
40 (in which case it must returns kFALSE)
42 virtual Bool_t UsePad(const AliMUONPad& pad);
44 ClassDef(AliMUONVClusterFinder,0) // Interface of a MUON cluster finder.