]>
Commit | Line | Data |
---|---|---|
2874a2f5 | 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 | ||
17 | class AliESDTOFMatch : public AliVTOFMatch | |
18 | { | |
19 | public: | |
20 | AliESDTOFMatch(); | |
21 | AliESDTOFMatch(Int_t i,Double_t inttimes[AliPID::kSPECIESC],Double_t dx,Double_t dy,Double_t dz,Double_t l); | |
22 | AliESDTOFMatch(AliESDTOFMatch &source); | |
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; //! DeltaY residual | |
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 |