]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterReconstructor.h
Make this class non static, correct a bug (float instead of double) in ReadPCB, and...
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterReconstructor.h
1 #ifndef ALIMUONCLUSTERRECONSTRUCTOR_H
2 #define ALIMUONCLUSTERRECONSTRUCTOR_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /*$Id$*/
7 // Revision of includes 07/05/2004
8
9 /// \ingroup rec
10 /// \class AliMUONClusterReconstructor
11 /// \brief MUON cluster reconstructor in ALICE
12
13 #include <TObject.h>
14
15 class AliMUONClusterFinderVS;
16 class AliMUONData;
17 class TClonesArray;
18 class AliMUONVClusterFinder;
19 class AliMUONGeometryTransformer;
20
21 class AliMUONClusterReconstructor : public TObject 
22 {
23  public:
24   AliMUONClusterReconstructor(AliMUONData* data = 0x0,
25                               AliMUONVClusterFinder* finder = 0x0,
26                               const AliMUONGeometryTransformer* transformer = 0x0
27                               ); 
28   virtual ~AliMUONClusterReconstructor(void); // Destructor
29
30  
31   // Cluster Finding & Trigger
32   virtual void   Digits2Clusters(Int_t chBeg = 0);
33   virtual void   Trigger2Trigger() ;
34
35   // Reco Model
36   AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
37
38   void SetRecoModel(AliMUONClusterFinderVS* rec);
39
40  protected:
41
42   AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
43   AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
44
45   void ClusterizeOneDE(Int_t detElemId);
46   void ClusterizeOneDEV2(Int_t detElemId);
47   
48 private:
49   AliMUONVClusterFinder* fClusterFinder; //!< the object doing the real job (not owner)  
50   AliMUONData*            fMUONData;           //!< Data container for MUON subsystem 
51   AliMUONClusterFinderVS* fRecModel;           //!< cluster recontruction model
52
53   TClonesArray* fDigitsCath0; //!< digits for cathode 0 of the current DE
54   TClonesArray* fDigitsCath1; //!< digits for cathode 1 of the current DE
55   
56   const AliMUONGeometryTransformer* fTransformer; //!< to go from local to global (not owner)
57     
58   ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
59 };
60         
61 #endif