]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRecoCheck.h
Main changes:
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoCheck.h
1 #ifndef ALIMUONRECOCHECK_H
2 #define ALIMUONRECOCHECK_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id$ */
8
9 /// \ingroup evaluation
10 /// \class AliMUONRecoCheck
11 /// \brief Utility class to check reconstruction
12
13 #include <TObject.h>
14
15 class TClonesArray;
16 class AliMCEventHandler;
17 class AliMUONDataInterface;
18 class AliMUONVTrackStore;
19
20 class AliMUONRecoCheck : public TObject 
21 {
22 public:
23   AliMUONRecoCheck(Char_t *chLoader, Char_t *pathSim = "./");
24   virtual ~AliMUONRecoCheck();
25
26   Int_t NumberOfEvents() const;
27   
28   AliMUONVTrackStore* ReconstructedTracks(Int_t event);
29   
30   AliMUONVTrackStore* TrackRefs(Int_t event);
31
32   AliMUONVTrackStore* ReconstructibleTracks(Int_t event);
33   
34 private:
35   /// Not implemented
36   AliMUONRecoCheck(const AliMUONRecoCheck& rhs);
37   /// Not implemented
38   AliMUONRecoCheck& operator = (const AliMUONRecoCheck& rhs);
39
40   void ResetStores();
41   
42   void MakeTrackRefs();
43   
44   void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore);
45   
46   void MakeReconstructibleTracks();
47
48 private:
49   AliMCEventHandler* fMCEventHandler; ///< to access MC truth information
50   AliMUONDataInterface* fDataInterface; ///< to access MUON data
51   
52   Int_t fCurrentEvent; ///< current event number
53   
54   AliMUONVTrackStore* fTrackRefStore;     ///< current simulated tracks (owner)
55   AliMUONVTrackStore* fRecoTrackRefStore; ///< current reconstructible tracks (owner)
56   AliMUONVTrackStore* fRecoTrackStore;    ///< current reconstructed tracks (owner)
57   
58   ClassDef(AliMUONRecoCheck, 0)   //Utility class to check reconstruction
59 };
60
61 #endif
62