]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDMuonTrack.h
Additional protection (Yu.Belikov)
[u/mrichter/AliRoot.git] / STEER / AliESDMuonTrack.h
1 #ifndef ALIESDMUONTRACK_H
2 #define ALIESDMUONTRACK_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 //  Class to describe the MUON tracks
10 //  in the Event Summary Data class
11 //  Author: G.Martinez
12
13
14 #include "TObject.h"
15
16 class AliESDMuonTrack : public TObject {
17 public:
18   AliESDMuonTrack(){} //Constructor
19   virtual ~AliESDMuonTrack(){} // Destructor
20   AliESDMuonTrack(const AliESDMuonTrack& esdm);
21   AliESDMuonTrack& operator=(const AliESDMuonTrack& esdm);
22
23
24  // Get and Set methods for data
25   Double_t GetInverseBendingMomentum(void) const {return fInverseBendingMomentum;}
26   void SetInverseBendingMomentum(Double_t InverseBendingMomentum) 
27     {fInverseBendingMomentum = InverseBendingMomentum;}
28   Double_t GetThetaX(void) const {return fThetaX;}
29   void SetThetaX(Double_t ThetaX) {fThetaX = ThetaX;}
30   Double_t GetThetaY(void) const {return fThetaY;}
31   void SetThetaY(Double_t ThetaY) {fThetaY = ThetaY;}
32   Double_t GetZ(void) const {return fZ;}
33   void SetZ(Double_t Z) {fZ = Z;}
34   Double_t GetBendingCoor(void) const {return fBendingCoor;}
35   void SetBendingCoor(Double_t BendingCoor) {fBendingCoor = BendingCoor;}
36   Double_t GetNonBendingCoor(void) const {return fNonBendingCoor;}
37   void SetNonBendingCoor(Double_t NonBendingCoor) {fNonBendingCoor = NonBendingCoor;}
38   Double_t GetChi2(void) const {return fChi2;}
39   void SetChi2(Double_t Chi2) {fChi2 = Chi2;}
40   UInt_t GetNHit(void) const {return fNHit;}
41   void SetNHit(UInt_t NHit) {fNHit = NHit;}
42
43   Bool_t GetMatchTrigger() const {return fMatchTrigger;}
44   void SetMatchTrigger(Bool_t MatchTrigger) {fMatchTrigger = MatchTrigger;}
45   Double_t GetChi2MatchTrigger() const {return fChi2MatchTrigger;}
46   void SetChi2MatchTrigger(Double_t Chi2MatchTrigger) {fChi2MatchTrigger = Chi2MatchTrigger;}
47
48 protected:
49   // tracking chamber
50   Double_t fInverseBendingMomentum; // Inverse bending momentum (GeV/c ** -1) times the charge 
51   Double_t fThetaX;           // Angle of track at vertex in X direction (rad)
52   Double_t fThetaY;           // Angle of track at vertex in Y direction (rad)
53   Double_t fZ;                // Z coordinate (cm)
54   Double_t fBendingCoor;      // bending coordinate (cm)
55   Double_t fNonBendingCoor;   // non bending coordinate (cm)
56   Double_t fChi2;             // chi2 in the MUON track fit
57   UInt_t   fNHit;              // number of hit in the track
58
59   // trigger matching
60   Bool_t   fMatchTrigger; // 1 if track matches with trigger track, 0 if not
61   Double_t fChi2MatchTrigger; // chi2 of trigger/track matching 
62
63
64   ClassDef(AliESDMuonTrack,2)  //MUON ESD track class 
65 };
66
67 #endif