The changes to perform the trigger chamber efficiency determination from ESD
[u/mrichter/AliRoot.git] / MUON / AliMUONTracker.h
CommitLineData
196471e9 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
6b092dfc 7/// \ingroup rec
196471e9 8/// \class AliMUONTracker
9/// \brief MUON base Tracker
d81d2e8e 10///
11// Author: Christian Finck, SUBATECH Nantes
196471e9 12
13#include "AliTracker.h"
e64fdf8a 14
196471e9 15class AliCluster;
af885e0f 16class AliESDEvent;
e64fdf8a 17class AliMUONDigitMaker;
18class AliMUONGeometryTransformer;
19class AliMUONTrackHitPattern;
32ab62c9 20class AliMUONTriggerCircuit;
e64fdf8a 21class AliMUONVClusterStore;
196471e9 22class AliMUONVTrackReconstructor;
e64fdf8a 23class AliMUONVTrackStore;
24class AliMUONVTriggerStore;
1fef78c8 25class AliMUONVClusterServer;
196471e9 26
27class AliMUONTracker : public AliTracker
28{
29 public:
30
1fef78c8 31 AliMUONTracker(AliMUONVClusterServer& clusterServer,
32 const AliMUONDigitMaker* digitMaker=0,
e64fdf8a 33 const AliMUONGeometryTransformer* transformer=0,
683cb6c5 34 const AliMUONTriggerCircuit* triggerCircuit=0);
196471e9 35 virtual ~AliMUONTracker();
196471e9 36
af885e0f 37 virtual Int_t Clusters2Tracks(AliESDEvent* esd);
e64fdf8a 38
e64fdf8a 39 virtual Int_t LoadClusters(TTree* clustersTree);
40
e64fdf8a 41 virtual void UnloadClusters();
42
71a2d3aa 43 /// Dummy implementation
af885e0f 44 virtual Int_t PropagateBack(AliESDEvent* /*event*/) {return 0;}
71a2d3aa 45 /// Dummy implementation
af885e0f 46 virtual Int_t RefitInward(AliESDEvent* /*event*/) {return 0;}
71a2d3aa 47 /// Dummy implementation
196471e9 48 virtual AliCluster *GetCluster(Int_t /*index*/) const {return 0;}
196471e9 49
50private:
71a2d3aa 51 /// Not implemented
52 AliMUONTracker(const AliMUONTracker& rhs);
53 /// Not implemented
54 AliMUONTracker& operator=(const AliMUONTracker& rhs);
55
1fef78c8 56 AliMUONVClusterStore* ClusterStore() const;
57
3304fa09 58 void CreateTrackReconstructor();
59
af885e0f 60 void FillESD(AliMUONVTrackStore& trackStore, AliESDEvent* esd) const;
e64fdf8a 61
62private:
e64fdf8a 63 const AliMUONDigitMaker* fDigitMaker; //!< digit maker (not owner)
64 const AliMUONGeometryTransformer* fTransformer; //!< geometry transformer (not owner)
3304fa09 65 const AliMUONTriggerCircuit* fTriggerCircuit; //!< trigger circuit (not owner)
e64fdf8a 66 AliMUONTrackHitPattern* fTrackHitPatternMaker; //!< trigger hit pattern maker
3304fa09 67 AliMUONVTrackReconstructor* fTrackReco; //!< track reconstructor
1fef78c8 68 mutable AliMUONVClusterStore* fClusterStore; //!< cluster container
e64fdf8a 69 AliMUONVTriggerStore* fTriggerStore; //!< trigger information
1fef78c8 70 AliMUONVClusterServer& fClusterServer; //!< to get clusters
e64fdf8a 71
196471e9 72 ClassDef(AliMUONTracker,0) //tracker base class for MUON
73};
74#endif