AliRoot Core  edcc906 (edcc906)
AliMUONPreClusterFinderV3.h
Go to the documentation of this file.
1 #ifndef ALIMUONPRECLUSTERFINDERV3_H
2 #define ALIMUONPRECLUSTERFINDERV3_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 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef AliMUONVCLUSTERFINDER_H
16 # include "AliMUONVClusterFinder.h"
17 #endif
18 
19 class TIterator;
20 class TClonesArray;
21 class AliMUONPad;
22 
24 {
25 public:
28 
29  virtual Bool_t NeedSegmentation() const { return kTRUE; }
30 
32 
33  virtual Bool_t Prepare(Int_t detElemId,
34  TObjArray* pads[2],
35  const AliMpArea& area,
36  const AliMpVSegmentation* seg[2]);
37 
38  virtual AliMUONCluster* NextCluster();
39 
40  virtual Bool_t UsePad(const AliMUONPad& pad);
41 
42 private:
47 
48  void AddPad(AliMUONCluster& cluster, AliMUONPad* pad);
49  void AddPreCluster(AliMUONCluster& cluster, AliMUONCluster* preCluster);
50  void MakeCathodePreClusters(Int_t cathode);
51  void MakeClusters();
52 
53  void DumpPreClusters() const;
54 
55 private:
56  TClonesArray* fClusters;
59  TClonesArray* fPreClusters[2];
60  Int_t fDetElemId;
61  TIterator* fIterator;
62 
63  ClassDef(AliMUONPreClusterFinderV3,2) // A basic pre-cluster finder
64 };
65 
66 #endif
TClonesArray * fPreClusters[2]
! the preclusters per cathode (owner)
void AddPreCluster(AliMUONCluster &cluster, AliMUONCluster *preCluster)
Interface of a cluster finder.
const AliMpVSegmentation ** fkSegmentations
! segmentations (not owner)
#define TObjArray
Int_t fDetElemId
! which DE we're considering
A group of adjacent pads.
TClonesArray * fClusters
! the clusters we've found (owner)
A rectangle area positioned in plane..
Definition: AliMpArea.h:20
void AddPad(AliMUONCluster &cluster, AliMUONPad *pad)
virtual Bool_t NeedSegmentation() const
virtual Bool_t Prepare(Int_t detElemId, TObjArray *pads[2], const AliMpArea &area)
virtual Bool_t Prepare(Int_t detElemId, TObjArray *pads[2], const AliMpArea &area, const AliMpVSegmentation *seg[2])
virtual AliMUONCluster * NextCluster()
AliMUONPreClusterFinderV3 & operator=(const AliMUONPreClusterFinderV3 &rhs)
Not implemented.
A basic pre-cluster finder.
TObjArray ** fPads
! the pads corresponding to the digits (not owner)
The abstract base class for the segmentation.
TIterator * fIterator
! iterator on fClusters
Combination of digit and mppad informations.
Definition: AliMUONPad.h:25
virtual Bool_t UsePad(const AliMUONPad &pad)