1 #ifndef ALIMUONPRECLUSTERFINDER_H
2 #define ALIMUONPRECLUSTERFINDER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPreClusterFinder
11 /// \brief A basic pre-cluster finder
13 // Author Laurent Aphecetche, Subatech
15 #ifndef AliMUONVCLUSTERFINDER_H
16 # include "AliMUONVClusterFinder.h"
22 class AliMUONPreClusterFinder : public AliMUONVClusterFinder
25 AliMUONPreClusterFinder();
26 virtual ~AliMUONPreClusterFinder();
28 virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2],
29 TClonesArray* digits[2]);
31 virtual AliMUONCluster* NextCluster();
33 virtual Bool_t UsePad(const AliMUONPad& pad);
36 AliMUONPreClusterFinder(const AliMUONPreClusterFinder& rhs);
37 AliMUONPreClusterFinder& operator=(const AliMUONPreClusterFinder& rhs);
39 Bool_t AreNeighbours(const AliMUONPad&, const AliMUONPad&);
40 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
43 TClonesArray* fClusters; ///<! the clusters we've found (owner)
44 const AliMpVSegmentation** fSegmentations; ///<! segmentations (not owner)
45 TClonesArray** fDigits; ///<! where to find the digits (not owner)
46 TClonesArray* fPads[2]; ///!< the pads corresponding to the digits (owner)
47 Int_t fDetElemId; ///!< which DE we're considering
49 ClassDef(AliMUONPreClusterFinder,1) // A basic pre-cluster finder