Upgrading the raw data QA for tracker, and introducing the first
[u/mrichter/AliRoot.git] / STEER / AliAODPid.h
CommitLineData
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>
d7bdc804 14class AliESDtrack;
1c28d174 15
16class AliAODPid : public TObject {
17
18 public:
1c28d174 19 AliAODPid();
20 virtual ~AliAODPid();
21 AliAODPid(const AliAODPid& pid);
22 AliAODPid& operator=(const AliAODPid& pid);
d7bdc804 23
24 enum{kSPECIES=5, kTRDnPlanes=6};
25
26 void SetDetectorRawSignals(AliESDtrack *track, Double_t timezero);
27
28 Double_t GetITSsignal() {return fITSsignal;}
29 Double_t GetTPCsignal() {return fTPCsignal;}
30 Int_t GetTRDnSlices() {return fTRDnSlices;}
31 Double_t* GetTRDsignal() {return fTRDslices;}
32 Double_t GetTOFsignal() {return fTOFesdsignal;}
33 void GetIntegratedTimes(Double_t timeint[5]);
34 Double_t GetHMPIDsignal() {return fHMPIDsignal;}
1c28d174 35
36 private :
d7bdc804 37 Double32_t fITSsignal; //[0.,0.,10] detector raw signal
38 Double32_t fTPCsignal; //[0.,0.,10] detector raw signal
39 Int_t fTRDnSlices; //N slices used for PID in the TRD
40 Double32_t* fTRDslices; //[fTRDnSlices]
41 Double32_t fTOFesdsignal; //TOF signal - t0 (T0 interaction time)
42 Double32_t fIntTime[5]; //track time hypothesis
43 Double32_t fHMPIDsignal; //detector raw signal
1c28d174 44
45 ClassDef(AliAODPid,1);
46};
47
48#endif