- Removed not implemented methods AddData(), GetGlobalTriggerPattern
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoCheck.h
CommitLineData
b8dc484b 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
692de412 7/* $Id$ */
8
9/// \ingroup base
10/// \class AliMUONRecoCheck
11/// \brief Utility class to check reconstruction
12
b8dc484b 13#include <TObject.h>
14#include "AliMUONTrack.h"
15
16class TClonesArray;
17class AliMUONData;
18class AliRunLoader;
19
20
21class AliMUONRecoCheck : public TObject
22{
23public:
068e4c36 24 AliMUONRecoCheck(Char_t *chLoader);
45a05f07 25 AliMUONRecoCheck(AliRunLoader *runloader, AliMUONData *muondata);
b8dc484b 26 virtual ~AliMUONRecoCheck();
27
068e4c36 28 /// Return MUON data
29 AliMUONData* GetMUONData() {return fMUONData;}
30 /// Return run loader
31 AliRunLoader* GetRunLoader() {return fRunLoader;}
32
b8dc484b 33 void MakeTrackRef();
5398f946 34 /// Add track reference
b8dc484b 35 void AddMuonTrackReference(const AliMUONTrack *muonTrack)
36 {new ((*fMuonTrackRef)[fMuonTrackRef->GetEntriesFast()]) AliMUONTrack(*muonTrack);}
5398f946 37
b8dc484b 38 void PrintEvent() const;
39 void ResetTracks() const;
b8dc484b 40 void CleanMuonTrackRef();
41 void ReconstructibleTracks();
5398f946 42 /// Return number of reconstructible tracks
b8dc484b 43 Int_t GetNumberOfReconstuctibleTracks() {return fReconstructibleTracks;}
5398f946 44 /// Return number of reconstructed tracks
b8dc484b 45 Int_t GetNumberOfRecoTracks() {return fRecoTracks;}
46 TClonesArray *GetTrackReco();
5398f946 47 /// Return reference muon tracks
b8dc484b 48 TClonesArray *GetMuonTrackRef() {return fMuonTrackRef;}
49
50private:
51
d59274fa 52 AliRunLoader* fRunLoader; ///< alice run loader
53 AliMUONData* fMUONData; ///< Data container for MUON subsystem
54 TClonesArray* fMuonTrackRef; ///< reference muon tracks
55 TClonesArray* fTrackReco; ///< reconstructed muon tracks
56 Int_t fReconstructibleTracks; ///< number of reconstructible tracks
57 Int_t fRecoTracks; ///< number of reconstructed tracks
068e4c36 58 Bool_t fIsLoadConstructor; //!< \brief boolean to tag the constructor,
59 /// to decide if the class should or not deal with the loaders
60
d59274fa 61
54d7ba50 62 AliMUONRecoCheck(const AliMUONRecoCheck& rhs);
63 AliMUONRecoCheck& operator = (const AliMUONRecoCheck& rhs);
64
65 ClassDef(AliMUONRecoCheck, 0) //Utility class to check reconstruction
b8dc484b 66};
67
68#endif
69
70
71
72
73
74
75
76