]>
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;} | |
340693af | 29 | Float_t GetP()const{return fMo;} |
30 | Int_t GetTOFCalChannel() const {return fTOFCalCh;} | |
6dc9348d | 31 | void SetToT(Float_t ToT) {fToT=ToT;} |
32 | void SetTOFtime(Float_t TOFtime) {fTOFtime=TOFtime;} | |
33 | void SetTOFsignalND(Float_t TOFtimeND) {fTOFsignalND=TOFtimeND;} | |
340693af | 34 | void SetP(Double_t p) {fMo=p;} |
6dc9348d | 35 | void SetIntegratedTime(const Double_t *tracktime); |
36 | void SetCombID(Int_t ID){fCombID = ID;} // 0->pi, 1->K, 2->p | |
d4ad0d6b | 37 | void SetTOFCalChannel(Int_t index){fTOFCalChannel=index;} |
6dc9348d | 38 | void CopyFromAliESD(const AliESDtrack* track); |
39 | Bool_t IsSortable() const {return kTRUE;} | |
40 | Int_t Compare(const TObject *uncobj) const; | |
6dc9348d | 41 | private: |
340693af | 42 | Int_t fCombID; //PID for calibration, this track |
43 | Int_t fTOFCalCh; //TOF cal Channel | |
44 | Float_t fToT; //ToT signal | |
45 | Float_t fIntLen; //track int. length | |
46 | Float_t fTOFtime;//Time signal | |
47 | Double_t fMo;//momentum | |
48 | Float_t fTOFsignalND; //non-decalibrated time signal | |
49 | Double_t fTrTime[AliPID::kSPECIES]; // TOFs estimated by the tracking | |
50 | Double_t fExtCov[15];// external covariance matrix of the track | |
6dc9348d | 51 | |
52 | ClassDef(AliTOFcalibESD,1); | |
53 | }; | |
54 | #endif // AliTOFcalibESD_H |