]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterReconstructor.h
Added class to read reconstruction parameters from OCDB (Yuri)
[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 AliMUONRecData;
17 class TClonesArray;
18 class AliMUONVClusterFinder;
19 class AliMUONGeometryTransformer;
20
21 class AliMUONClusterReconstructor : public TObject 
22 {
23  public:
24   AliMUONClusterReconstructor(AliMUONRecData* 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   /// Return cluster recontruction model
36   AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
37
38   void SetRecoModel(AliMUONClusterFinderVS* rec);
39
40  protected:
41   /// Not implemented
42   AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
43   /// Not implemented
44   AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
45
46   void ClusterizeOneDE(Int_t detElemId);
47   void ClusterizeOneDEV2(Int_t detElemId);
48   
49 private:
50   AliMUONVClusterFinder* fClusterFinder; //!< the object doing the real job (not owner)  
51   AliMUONRecData*         fMUONData;           //!< Data container for MUON subsystem 
52   AliMUONClusterFinderVS* fRecModel;           //!< cluster recontruction model
53
54   TClonesArray* fDigitsCath0; //!< digits for cathode 0 of the current DE
55   TClonesArray* fDigitsCath1; //!< digits for cathode 1 of the current DE
56   
57   const AliMUONGeometryTransformer* fTransformer; //!< to go from local to global (not owner)
58     
59   ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
60 };
61         
62 #endif