AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONVClusterFinder.h
Go to the documentation of this file.
1 #ifndef ALIMUONVCLUSTERFINDER_H
2 #define ALIMUONVCLUSTERFINDER_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
14 
15 #ifndef ROOT_TObject
16 # include "TObject.h"
17 #endif
18 
19 class AliMUONCluster;
20 class AliMUONRecoParam;
21 class AliMpVSegmentation;
22 class AliMUONPad;
23 class AliMpArea;
24 
25 class AliMUONVClusterFinder : public TObject
26 {
27 public:
29  virtual ~AliMUONVClusterFinder();
30 
32 
33  virtual Bool_t NeedSegmentation() const { return kFALSE; }
34 
35  virtual Bool_t Prepare(Int_t detElemId,
36  TObjArray* pads[2],
37  const AliMpArea& area);
38 
39  virtual Bool_t Prepare(Int_t detElemId,
40  TObjArray* pads[2],
41  const AliMpArea& area,
42  const AliMpVSegmentation* segmentations[2]);
43 
45  virtual AliMUONCluster* NextCluster() = 0;
46 
54  virtual Bool_t UsePad(const AliMUONPad& pad);
55 
60  virtual void SetChargeHints(Double_t /*lowestPadCharge*/, Double_t /*lowestClusterCharge*/) { }
61 
62  ClassDef(AliMUONVClusterFinder,0) // Interface of a MUON cluster finder.
63 };
64 
65 #endif
Interface of a cluster finder.
#define TObjArray
A group of adjacent pads.
A rectangle area positioned in plane..
Definition: AliMpArea.h:20
Class with MUON reconstruction parameters.
virtual Bool_t Prepare(Int_t detElemId, TObjArray *pads[2], const AliMpArea &area)
virtual Bool_t NeedSegmentation() const
virtual Bool_t UsePad(const AliMUONPad &pad)
virtual void SetChargeHints(Double_t, Double_t)
virtual AliMUONCluster * NextCluster()=0
The abstract base class for the segmentation.
Combination of digit and mppad informations.
Definition: AliMUONPad.h:25