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"
19 # include "AliMpArea.h"
25 class AliMUONPreClusterFinder : public AliMUONVClusterFinder
28 AliMUONPreClusterFinder();
29 virtual ~AliMUONPreClusterFinder();
31 using AliMUONVClusterFinder::Prepare;
33 virtual Bool_t Prepare(Int_t detElemId,
34 TClonesArray* pads[2],
35 const AliMpArea& area);
37 virtual AliMUONCluster* NextCluster();
39 virtual Bool_t UsePad(const AliMUONPad& pad);
43 AliMUONPreClusterFinder(const AliMUONPreClusterFinder& rhs);
45 AliMUONPreClusterFinder& operator=(const AliMUONPreClusterFinder& rhs);
47 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
49 AliMUONPad* GetNextPad(Int_t cathode) const;
52 TClonesArray* fClusters; //!< the clusters we've found (owner)
53 TClonesArray** fPads; //!< the pads corresponding to the digits (not owner)
54 Int_t fDetElemId; //!< which DE we're considering
55 AliMpArea fArea; //!< area into which to consider pads to *start* a cluster
57 ClassDef(AliMUONPreClusterFinder,2) // A basic pre-cluster finder