]>
Commit | Line | Data |
---|---|---|
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 "AliESDtrack.h" | |
12 | ||
13 | class AliPID; | |
14 | ||
15 | class AliTOFcalibESD:public AliESDtrack{ | |
16 | public: | |
17 | AliTOFcalibESD(); | |
18 | AliTOFcalibESD(const AliTOFcalibESD& UnCalib); | |
19 | ~AliTOFcalibESD(); | |
20 | Float_t GetToT() const{return fToT;} //Time Over Threshold | |
21 | Float_t GetTOFsignal() const{return fTOFtime;} | |
22 | Float_t GetTOFsignalND() const{return fTOFsignalND;} | |
23 | Float_t GetIntegratedLength() const{return fIntLen;} | |
24 | void GetExternalCovariance(Double_t cov[15]) const; | |
25 | void GetIntegratedTimes(Double_t exp[AliPID::kSPECIES]) const; | |
26 | Int_t GetCombID()const{return fCombID;} | |
27 | Float_t GetP()const{return fMo;} | |
28 | Int_t GetTOFCalChannel() const {return fTOFCalCh;} | |
29 | void SetToT(Float_t ToT) {fToT=ToT;} | |
30 | void SetTOFtime(Float_t TOFtime) {fTOFtime=TOFtime;} | |
31 | void SetTOFsignalND(Float_t TOFtimeND) {fTOFsignalND=TOFtimeND;} | |
32 | void SetP(Double_t p) {fMo=p;} | |
33 | void SetIntegratedTime(const Double_t *tracktime); | |
34 | void SetCombID(Int_t ID){fCombID = ID;} // 0->pi, 1->K, 2->p | |
35 | void SetTOFCalChannel(Int_t index){fTOFCalChannel=index;} | |
36 | void CopyFromAliESD(const AliESDtrack* track); | |
37 | Bool_t IsSortable() const {return kTRUE;} | |
38 | Int_t Compare(const TObject *uncobj) const; | |
39 | private: | |
40 | Int_t fCombID; //PID for calibration, this track | |
41 | Int_t fTOFCalCh; //TOF cal Channel | |
42 | Float_t fToT; //ToT signal | |
43 | Float_t fIntLen; //track int. length | |
44 | Float_t fTOFtime;//Time signal | |
45 | Double_t fMo;//momentum | |
46 | Float_t fTOFsignalND; //non-decalibrated time signal | |
47 | Double_t fTrTime[AliPID::kSPECIES]; // TOFs estimated by the tracking | |
48 | Double_t fExtCov[15];// external covariance matrix of the track | |
49 | ||
50 | ClassDef(AliTOFcalibESD,1); | |
51 | }; | |
52 | #endif // AliTOFcalibESD_H |