New class added to check the reconstruction of muon tracks using reference tracks
[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
7//////////////////////////////////////////////////////////////////////////
8// //
9// AliMUONRecoCheck //
10// //
11//////////////////////////////////////////////////////////////////////////
12#include <TObject.h>
13#include "AliMUONTrack.h"
14
15class TClonesArray;
16class AliMUONData;
17class AliRunLoader;
18
19
20class AliMUONRecoCheck : public TObject
21{
22public:
23 AliMUONRecoCheck(Char_t *chLoader);
24 virtual ~AliMUONRecoCheck();
25
26 AliMUONData* GetMUONData() {return fMUONData;}
27 void MakeTrackRef();
28 void AddMuonTrackReference(const AliMUONTrack *muonTrack)
29 {new ((*fMuonTrackRef)[fMuonTrackRef->GetEntriesFast()]) AliMUONTrack(*muonTrack);}
30 void PrintEvent() const;
31 void ResetTracks() const;
32 AliRunLoader* GetRunLoader() {return fRunLoader;}
33 void CleanMuonTrackRef();
34 void ReconstructibleTracks();
35 Int_t GetNumberOfReconstuctibleTracks() {return fReconstructibleTracks;}
36 Int_t ChamberNumber(Float_t z) const;
37 Int_t GetNumberOfRecoTracks() {return fRecoTracks;}
38 TClonesArray *GetTrackReco();
39 TClonesArray *GetMuonTrackRef() {return fMuonTrackRef;}
40
41private:
42
43 AliRunLoader* fRunLoader; // alice run loader
44 AliMUONData* fMUONData; // Data container for MUON subsystem
45 TClonesArray* fMuonTrackRef; // reference muon tracks
46 TClonesArray* fTrackReco; // reconstructed muon tracks
47 Int_t fReconstructibleTracks; // number of reconstructible tracks
48 Int_t fRecoTracks; // number of reconstructed tracks
49
50 ClassDef(AliMUONRecoCheck, 0) //Utility class to check reconstruction
51};
52
53#endif
54
55
56
57
58
59
60
61