]>
Commit | Line | Data |
---|---|---|
1c28d174 | 1 | #ifndef AliAODPid_H |
2 | #define AliAODPid_H | |
3 | /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //------------------------------------------------------------------------- | |
9 | // AOD Pid object for additional pid information | |
d7bdc804 | 10 | // Author: Annalisa Mastroserio, CERN |
1c28d174 | 11 | //------------------------------------------------------------------------- |
12 | ||
13 | #include <TObject.h> | |
14 | ||
15 | class AliAODPid : public TObject { | |
16 | ||
17 | public: | |
1c28d174 | 18 | AliAODPid(); |
19 | virtual ~AliAODPid(); | |
20 | AliAODPid(const AliAODPid& pid); | |
21 | AliAODPid& operator=(const AliAODPid& pid); | |
d7bdc804 | 22 | |
23 | enum{kSPECIES=5, kTRDnPlanes=6}; | |
24 | ||
373fc041 | 25 | //setters |
26 | void SetITSsignal(Double_t its) {fITSsignal=its;} | |
27 | void SetTPCsignal(Double_t tpc) {fTPCsignal=tpc;} | |
28 | void SetTRDsignal(Int_t nslices, Double_t* trdslices) {fTRDnSlices = nslices; fTRDslices=trdslices;} | |
29 | void SetTOFsignal(Double_t tof) {fTOFesdsignal=tof;} | |
30 | void SetIntegratedTimes(Double_t timeint[5]); | |
31 | void SetHMPIDsignal(Double_t hmpid) {fHMPIDsignal=hmpid;} | |
32 | ||
d7bdc804 | 33 | |
34 | Double_t GetITSsignal() {return fITSsignal;} | |
35 | Double_t GetTPCsignal() {return fTPCsignal;} | |
36 | Int_t GetTRDnSlices() {return fTRDnSlices;} | |
37 | Double_t* GetTRDsignal() {return fTRDslices;} | |
38 | Double_t GetTOFsignal() {return fTOFesdsignal;} | |
39 | void GetIntegratedTimes(Double_t timeint[5]); | |
40 | Double_t GetHMPIDsignal() {return fHMPIDsignal;} | |
1c28d174 | 41 | |
42 | private : | |
d7bdc804 | 43 | Double32_t fITSsignal; //[0.,0.,10] detector raw signal |
44 | Double32_t fTPCsignal; //[0.,0.,10] detector raw signal | |
45 | Int_t fTRDnSlices; //N slices used for PID in the TRD | |
46 | Double32_t* fTRDslices; //[fTRDnSlices] | |
47 | Double32_t fTOFesdsignal; //TOF signal - t0 (T0 interaction time) | |
48 | Double32_t fIntTime[5]; //track time hypothesis | |
49 | Double32_t fHMPIDsignal; //detector raw signal | |
1c28d174 | 50 | |
51 | ClassDef(AliAODPid,1); | |
52 | }; | |
53 | ||
54 | #endif |