]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONClusterReconstructor.h
- Added handling of tracks and file mask (used when merging different files).
[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 /////////////////////////////////////
14 /// MUON event reconstructor in ALICE
15 /////////////////////////////////////
16
17 #include <TObject.h>
18
19 class AliMUONClusterFinderVS;
20 class AliMUONData;
21 class TClonesArray;
22
23 class AliMUONClusterReconstructor : public TObject 
24 {
25  public:
26   AliMUONClusterReconstructor(AliMUONData* data = 0x0); // Constructor
27   virtual ~AliMUONClusterReconstructor(void); // Destructor
28
29  
30   // Cluster Finding & Trigger
31   virtual void   Digits2Clusters(Int_t chBeg = 0);
32   virtual void   Trigger2Trigger() ;
33
34 //  // pointer to data container
35 //  AliMUONData*   GetMUONData() {return fMUONData;}
36   // Reco Model
37   AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;}
38
39   void SetRecoModel(AliMUONClusterFinderVS* rec);
40
41  protected:
42   AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor
43   AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator
44
45   void ClusterizeOneDE(Int_t detElemId);
46   
47   void CheckSize(TClonesArray&);
48   
49  private:
50
51   AliMUONData*            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   ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE
58 };
59         
60 #endif