1 #ifndef ALIMUONPRECLUSTERFINDERV2_H
2 #define ALIMUONPRECLUSTERFINDERV2_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONPreClusterFinderV2
11 /// \brief A basic pre-cluster finder
13 // Author Laurent Aphecetche, Subatech
15 #ifndef AliMUONVCLUSTERFINDER_H
16 # include "AliMUONVClusterFinder.h"
22 class AliMUONPreClusterFinderV2 : public AliMUONVClusterFinder
25 AliMUONPreClusterFinderV2();
26 virtual ~AliMUONPreClusterFinderV2();
28 Bool_t NeedSegmentation() const { return kTRUE; }
30 using AliMUONVClusterFinder::Prepare;
32 virtual Bool_t Prepare(Int_t detElemId,
34 const AliMpArea& area,
35 const AliMpVSegmentation* seg[2]);
37 virtual AliMUONCluster* NextCluster();
39 virtual Bool_t UsePad(const AliMUONPad& pad);
43 AliMUONPreClusterFinderV2(const AliMUONPreClusterFinderV2& rhs);
45 AliMUONPreClusterFinderV2& operator=(const AliMUONPreClusterFinderV2& rhs);
47 void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
50 TClonesArray* fClusters; //!< the clusters we've found (owner)
51 const AliMpVSegmentation** fkSegmentations; //!< segmentations (not owner)
52 TObjArray** fPads; //!< the pads corresponding to the digits (not owner)
53 Int_t fDetElemId; //!< which DE we're considering
55 ClassDef(AliMUONPreClusterFinderV2,2) // A basic pre-cluster finder