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 const AliMUONVDigitStore& digitStore);
31 virtual AliMUONCluster* NextCluster();
33 virtual Bool_t UsePad(const AliMUONPad& pad);
37 AliMUONPreClusterFinder(const AliMUONPreClusterFinder& rhs);
39 AliMUONPreClusterFinder& operator=(const AliMUONPreClusterFinder& rhs);
41 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
44 TClonesArray* fClusters; //!< the clusters we've found (owner)
45 const AliMpVSegmentation** fSegmentations; //!< segmentations (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