]>
Commit | Line | Data |
---|---|---|
6dc9348d | 1 | #ifndef ALITOFCALIBESD_H |
2 | #define ALITOFCALIBESD_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 | // class for TOF calibration:: simulation of uncalibrated data // | |
9 | ////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #include "AliPID.h" | |
12 | #include "AliESDtrack.h" | |
13 | #include "TObject.h" | |
14 | ||
15 | //class AliESDtrack; | |
16 | ||
17 | class AliTOFcalibESD:public AliESDtrack{ | |
18 | public: | |
19 | AliTOFcalibESD(); | |
20 | AliTOFcalibESD(const AliTOFcalibESD& UnCalib); | |
21 | ~AliTOFcalibESD(); | |
22 | Float_t GetToT() const{return fToT;} //Time Over Threshold | |
23 | Float_t GetTOFsignal() const{return fTOFtime;} | |
24 | Float_t GetTOFsignalND() const{return fTOFsignalND;} | |
25 | Float_t GetIntegratedLength() const{return fIntLen;} | |
26 | void GetExternalCovariance(Double_t cov[15]) const; | |
27 | void GetIntegratedTimes(Double_t exp[AliPID::kSPECIES]) const; | |
28 | Int_t GetCombID()const{return fCombID;} | |
29 | Float_t GetP()const{return fP;} | |
30 | Int_t GetSector() const {return fSector;} | |
31 | Int_t GetPlate() const {return fPlate;} | |
32 | Int_t GetStrip() const {return fStrip;} | |
33 | Int_t GetPadz() const {return fPadz;} | |
34 | Int_t GetPadx() const {return fPadz;} | |
35 | void SetToT(Float_t ToT) {fToT=ToT;} | |
36 | void SetTOFtime(Float_t TOFtime) {fTOFtime=TOFtime;} | |
37 | void SetTOFsignalND(Float_t TOFtimeND) {fTOFsignalND=TOFtimeND;} | |
38 | void SetP(Double_t p) {fP=p;} | |
39 | void SetIntegratedTime(const Double_t *tracktime); | |
40 | void SetCombID(Int_t ID){fCombID = ID;} // 0->pi, 1->K, 2->p | |
41 | void CopyFromAliESD(const AliESDtrack* track); | |
42 | Bool_t IsSortable() const {return kTRUE;} | |
43 | Int_t Compare(const TObject *uncobj) const; | |
44 | void SetSector(Int_t isector) {fSector=isector;} | |
45 | void SetPlate(Int_t iplate) {fPlate=iplate;} | |
46 | void SetStrip(Int_t istrip) {fStrip=istrip;} | |
47 | void SetPadz(Int_t ipadz) {fPadz=ipadz;} | |
48 | void SetPadx(Int_t ipadx) {fPadx=ipadx;} | |
49 | private: | |
50 | Float_t fToT; | |
51 | Float_t fIntLen; | |
52 | Float_t fTOFtime; | |
53 | Double_t fP; | |
54 | Double_t fTrackTime[AliPID::kSPECIES]; // TOFs estimated by the tracking | |
55 | Double_t fExtCov[15]; | |
56 | Int_t fCombID; | |
57 | Int_t fSector; | |
58 | Int_t fPlate; | |
59 | Int_t fStrip; | |
60 | Int_t fPadz; | |
61 | Int_t fPadx; | |
62 | Float_t fTOFsignalND; | |
63 | ||
64 | ClassDef(AliTOFcalibESD,1); | |
65 | }; | |
66 | #endif // AliTOFcalibESD_H |