]>
Commit | Line | Data |
---|---|---|
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 | //////////////////////////////////// | |
10 | // MUON event reconstructor in ALICE | |
11 | //////////////////////////////////// | |
12 | ||
13 | #include <TObject.h> | |
14 | #include "AliMUONClusterFinderVS.h" //AZ | |
15 | ||
16 | class AliLoader; | |
17 | class AliMUON; | |
18 | class AliMUONRawCluster; | |
19 | //AZ class AliMUONClusterFinderVS; | |
20 | class AliMUONData; | |
21 | class AliRawReader; | |
22 | ||
23 | class AliMUONClusterReconstructor : public TObject | |
24 | { | |
25 | public: | |
26 | AliMUONClusterReconstructor(AliLoader* loader, AliMUONData* data = 0x0); // Constructor | |
27 | virtual ~AliMUONClusterReconstructor(void); // Destructor | |
28 | ||
29 | // Interface with AliMUONData | |
30 | virtual void SetTreeAddress(){}; | |
31 | ||
32 | // Cluster Finding & Trigger | |
33 | virtual void Digits2Clusters(); | |
34 | virtual void Trigger2Trigger() ; | |
35 | ||
36 | // pointer to data container | |
37 | AliMUONData* GetMUONData() {return fMUONData;} | |
38 | // Reco Model | |
39 | AliMUONClusterFinderVS* GetRecoModel() {return fRecModel;} | |
40 | // AliMUONClusterFinderAZ* GetRecoModel() {return fRecModel;} | |
41 | //AZ void SetRecoModel(AliMUONClusterFinderVS* rec) {fRecModel = rec;} | |
42 | void SetRecoModel(AliMUONClusterFinderVS* rec) {if (fRecModel) delete fRecModel; fRecModel = rec;} //AZ | |
43 | // void SetRecoModel(AliMUONClusterFinderAZ* rec) {fRecModel = rec;} | |
44 | ||
45 | // print level | |
46 | Int_t GetPrintLevel(void) const {return fPrintLevel;} | |
47 | void SetPrintLevel(Int_t printLevel) {fPrintLevel = printLevel;} | |
48 | ||
49 | protected: | |
50 | AliMUONClusterReconstructor(); // Default constructor | |
51 | AliMUONClusterReconstructor (const AliMUONClusterReconstructor& rhs); // copy constructor | |
52 | AliMUONClusterReconstructor& operator=(const AliMUONClusterReconstructor& rhs); // assignment operator | |
53 | ||
54 | private: | |
55 | static const Int_t fgkDefaultPrintLevel; // Default print level | |
56 | ||
57 | AliMUONData* fMUONData; //! Data container for MUON subsystem | |
58 | AliMUONClusterFinderVS* fRecModel; //! cluster recontruction model | |
59 | //AliMUONClusterFinderAZ* fRecModel; //! cluster recontruction model | |
60 | ||
61 | // print level | |
62 | Int_t fPrintLevel; | |
63 | ||
64 | // debug | |
65 | Int_t fDebug; | |
66 | ||
67 | // alice loader | |
68 | AliLoader* fLoader; | |
69 | ||
70 | ||
71 | ClassDef(AliMUONClusterReconstructor,0) // MUON cluster reconstructor in ALICE | |
72 | }; | |
73 | ||
74 | #endif |