]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONTracker.h
Added protection and 2 levels for problems
[u/mrichter/AliRoot.git] / MUON / AliMUONTracker.h
1 #ifndef ALIMUONTRACKER_H
2 #define ALIMUONTRACKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 /// \ingroup rec
8 /// \class AliMUONTracker
9 /// \brief MUON base Tracker
10 ///
11 //  Author: Christian Finck, SUBATECH Nantes
12
13 #include "AliTracker.h"
14 class AliESD;
15 class AliCluster;
16 class AliMUONRecData;
17 class TClonesArray;
18 class AliMUONVTrackReconstructor;
19
20 class AliMUONTracker : public AliTracker
21 {
22  public:
23
24   AliMUONTracker();
25   virtual ~AliMUONTracker();
26     
27   virtual Int_t Clusters2Tracks(AliESD* /*esd*/); 
28   
29   /// Dummy implementation
30   virtual Int_t PropagateBack(AliESD* /*event*/) {return 0;}
31   /// Dummy implementation
32   virtual Int_t RefitInward(AliESD* /*event*/) {return 0;}
33   /// Dummy implementation
34   virtual Int_t LoadClusters(TTree* /*tree*/) {return 0;}
35   /// Dummy implementation
36   virtual void  UnloadClusters() {return;}
37   /// Dummy implementation
38   virtual AliCluster *GetCluster(Int_t /*index*/) const {return 0;}
39
40   /// Set trigger circuit
41   void SetTriggerCircuit(TClonesArray* circuit) {fTriggerCircuit = circuit;}
42   /// Set pointer to data container
43   void SetMUONData(AliMUONRecData* data) {fMUONData = data;}
44   /// Set option
45   void SetOption(Option_t* opt);
46
47 private:
48   /// Not implemented
49   AliMUONTracker(const AliMUONTracker& rhs);
50   /// Not implemented
51   AliMUONTracker& operator=(const AliMUONTracker& rhs);
52     
53   TClonesArray* fTriggerCircuit;                //!< trigger circuit
54   AliMUONRecData*  fMUONData;                   //!< pointer to container
55   AliMUONVTrackReconstructor* fTrackReco;       //!< track reconstructor
56
57   ClassDef(AliMUONTracker,0)  //tracker base class for MUON
58 };
59 #endif