1 #ifndef ALIMUONREFITTER_H
2 #define ALIMUONREFITTER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONRefitter
11 /// \brief class to refit the ESD clusters/tracks
13 // Author Philippe Pillot
17 class AliMUONGeometryTransformer;
18 class AliMUONVClusterFinder;
19 class AliMUONVClusterServer;
20 class AliMUONVTrackReconstructor;
21 class AliMUONESDInterface;
22 class AliMUONVClusterStore;
23 class AliMUONVTrackStore;
26 class AliMUONRefitter : public TObject
31 virtual ~AliMUONRefitter();
33 /// connect to the ESD interface containing MUON data to refit
34 void Connect(AliMUONESDInterface* esdInterface) {fESDInterface = esdInterface;}
36 // re-reconstruct all tracks (clusters) in the ESD event
37 AliMUONVTrackStore* ReconstructFromDigits();
38 AliMUONVTrackStore* ReconstructFromClusters();
40 // refit a particular track in the ESD event
41 AliMUONTrack* RetrackFromDigits(Int_t iTrack);
42 AliMUONTrack* RetrackFromClusters(Int_t iTrack);
44 // re-clusterize a particular cluster in the ESD event
45 AliMUONVClusterStore* ReClusterize(Int_t iTrack, Int_t iCluster);
46 AliMUONVClusterStore* ReClusterize(UInt_t clusterId);
51 AliMUONRefitter (const AliMUONRefitter&); ///< copy constructor
52 AliMUONRefitter& operator=(const AliMUONRefitter&); ///< assignment operator
57 void CreateGeometryTransformer();
58 void CreateClusterServer(AliMUONGeometryTransformer& transformer);
60 void AddClusterToTracks(const AliMUONVClusterStore &localClusterStore, AliMUONVTrackStore &trackStore);
65 AliMUONGeometryTransformer* fGeometryTransformer; ///< geometry transformer (owner)
66 AliMUONVClusterServer* fClusterServer; ///< clusterizer (owner)
67 AliMUONVTrackReconstructor* fTracker; ///< tracker (owner)
68 AliMUONESDInterface* fESDInterface; ///< container of MUON tracks/clusters/digits (not owner)
71 ClassDef(AliMUONRefitter,0)