]>
Commit | Line | Data |
---|---|---|
18466557 | 1 | #ifndef ALIMUONPRECLUSTERFINDER_H |
2 | #define ALIMUONPRECLUSTERFINDER_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // $Id$ | |
8 | ||
9 | /// \ingroup rec | |
10 | /// \class AliMUONPreClusterFinder | |
11 | /// \brief A basic pre-cluster finder | |
12 | /// | |
13 | // Author Laurent Aphecetche, Subatech | |
14 | ||
15 | #ifndef AliMUONVCLUSTERFINDER_H | |
16 | # include "AliMUONVClusterFinder.h" | |
17 | #endif | |
18 | ||
19 | class TStopwatch; | |
20 | class AliMUONPad; | |
21 | ||
22 | class AliMUONPreClusterFinder : public AliMUONVClusterFinder | |
23 | { | |
24 | public: | |
25 | AliMUONPreClusterFinder(); | |
26 | virtual ~AliMUONPreClusterFinder(); | |
27 | ||
28 | virtual Bool_t Prepare(const AliMpVSegmentation* segmentations[2], | |
29 | TClonesArray* digits[2]); | |
30 | ||
31 | virtual AliMUONCluster* NextCluster(); | |
32 | ||
33 | virtual Bool_t UsePad(const AliMUONPad& pad); | |
34 | ||
35 | private: | |
46fdcf87 | 36 | /// Not implemented |
18466557 | 37 | AliMUONPreClusterFinder(const AliMUONPreClusterFinder& rhs); |
46fdcf87 | 38 | /// Not implemented |
18466557 | 39 | AliMUONPreClusterFinder& operator=(const AliMUONPreClusterFinder& rhs); |
40 | ||
18466557 | 41 | void AddPad(AliMUONCluster& cluster, AliMUONPad* pad); |
42 | ||
43 | private: | |
46fdcf87 | 44 | TClonesArray* fClusters; //!< the clusters we've found (owner) |
45 | const AliMpVSegmentation** fSegmentations; //!< segmentations (not owner) | |
46 | TClonesArray** fDigits; //!< where to find the digits (not owner) | |
47 | TClonesArray* fPads[2]; //!< the pads corresponding to the digits (owner) | |
48 | Int_t fDetElemId; //!< which DE we're considering | |
18466557 | 49 | |
50 | ClassDef(AliMUONPreClusterFinder,1) // A basic pre-cluster finder | |
51 | }; | |
52 | ||
53 | #endif |