]>
Commit | Line | Data |
---|---|---|
e8a6457a | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | #ifndef ALIHFEPIDITS_H | |
16 | #define ALIHFEPIDITS_H | |
17 | ||
18 | #ifndef ALIHFEPIDBASE_H | |
19 | #include "AliHFEpidBase.h" | |
20 | #endif | |
21 | ||
22 | class AliESDtrack; | |
23 | class AliVParticle; | |
24 | class TList; | |
25 | ||
26 | class AliHFEpidITS : public AliHFEpidBase{ | |
27 | enum{ | |
28 | kITSsigV1 = 0, | |
29 | kITSsigV2 = 1, | |
30 | kHistosSigAll = 2 | |
31 | }; | |
32 | public: | |
33 | AliHFEpidITS(const Char_t *name); | |
34 | AliHFEpidITS(const AliHFEpidITS &ref); | |
35 | AliHFEpidITS& operator=(const AliHFEpidITS &ref); | |
36 | virtual ~AliHFEpidITS(); | |
37 | ||
38 | virtual Bool_t InitializePID(); | |
39 | virtual Int_t IsSelected(AliVParticle *track); | |
40 | virtual Bool_t HasQAhistos() const { return kTRUE; }; | |
41 | ||
42 | Double_t GetITSSignalV1(AliESDtrack *track); | |
43 | Double_t GetITSSignalV2(AliESDtrack *track); | |
44 | protected: | |
45 | virtual void AddQAhistograms(TList *l); | |
46 | void Copy(TObject &o) const; | |
47 | void FillHistogramsSignalV1(Double_t p, Double_t signal, Int_t species); | |
48 | void FillHistogramsSignalV2(Double_t p, Double_t signal, Int_t species); | |
49 | Int_t GetMCpid(AliESDtrack *track); | |
50 | private: | |
51 | TList *fQAlist; // QA histograms for ITS pid | |
52 | ||
53 | ClassDef(AliHFEpidITS, 0) // PID class for ITS | |
54 | }; | |
55 | #endif | |
56 |