AliRoot Core  3dc7879 (3dc7879)
AliESDTOFMatch.h
Go to the documentation of this file.
1 #ifndef ALIESDTOFMATCH_H
2 #define ALIESDTOFMATCH_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 //----------------------------------------------------------------------//
10 // //
11 // AliESDTOFMatch Class //
12 // //
13 //----------------------------------------------------------------------//
14 
15 #include "AliVTOFMatch.h"
16 
18 {
19  public:
21  AliESDTOFMatch(Int_t i,Double_t inttimes[AliPID::kSPECIESC],Double_t dx,Double_t dy,Double_t dz,Double_t l);
23  virtual ~AliESDTOFMatch() {}
24  AliESDTOFMatch &operator=(const AliESDTOFMatch& source);
25  virtual Float_t GetDx() const {return fDx;}
26  virtual Float_t GetDy() const {return fDy;}
27  virtual Float_t GetDz() const {return fDz;}
28  virtual Float_t GetTrackLength() const {return fTrackLength;}
29  virtual void SetDx(Double_t delta) {fDx = delta;}
30  virtual void SetDy(Double_t delta) {fDy = delta;}
31  virtual void SetDz(Double_t delta) {fDz = delta;}
32  virtual void SetTrackLength(Double_t length) {fTrackLength = length;}
33  //
34  virtual Double_t GetIntegratedTimes(Int_t i) const {return fIntegratedTimes[i];}
35  virtual void GetIntegratedTimes(Double_t* t) const {for (int i=AliPID::kSPECIESC;i--;) t[i]=fIntegratedTimes[i];}
36  virtual void SetIntegratedTimes(Double_t* t) {for (int i=AliPID::kSPECIESC;i--;) fIntegratedTimes[i]=t[i];}
37  //
38  virtual Int_t GetTrackIndex() const {return GetUniqueID();}
39  virtual void SetTrackIndex(Int_t id) {SetUniqueID(id);}
40  void Print(const Option_t *opt=0) const;
41 
42  protected:
43  Double32_t fDx; // DeltaX residual
44  Double32_t fDy;
45  Double32_t fDz; // DeltaZ residual
46  Double32_t fTrackLength; // track Length
47  Double32_t fIntegratedTimes[AliPID::kSPECIESC]; // int timex
48  //
49  ClassDef(AliESDTOFMatch, 1) // TOF matchable hit
50  //
51 };
52 #endif
Double32_t fIntegratedTimes[AliPID::kSPECIESC]
virtual Int_t GetTrackIndex() const
virtual Float_t GetDz() const
virtual void SetIntegratedTimes(Double_t *t)
void Print(const Option_t *opt=0) const
Double32_t fDz
DeltaY residual.
virtual ~AliESDTOFMatch()
virtual void SetDz(Double_t delta)
virtual Double_t GetIntegratedTimes(Int_t i) const
AliESDTOFMatch & operator=(const AliESDTOFMatch &source)
virtual Float_t GetTrackLength() const
Double32_t fTrackLength
virtual Float_t GetDx() const
virtual void SetTrackIndex(Int_t id)
virtual Float_t GetDy() const
Double32_t fDy
virtual void SetDy(Double_t delta)
virtual void SetDx(Double_t delta)
virtual void SetTrackLength(Double_t length)
Double32_t fDx
virtual void GetIntegratedTimes(Double_t *t) const