]>
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 | ||
e8a6457a | 22 | class AliVParticle; |
23 | class TList; | |
24 | ||
25 | class AliHFEpidITS : public AliHFEpidBase{ | |
26 | enum{ | |
27 | kITSsigV1 = 0, | |
28 | kITSsigV2 = 1, | |
29 | kHistosSigAll = 2 | |
30 | }; | |
31 | public: | |
32 | AliHFEpidITS(const Char_t *name); | |
33 | AliHFEpidITS(const AliHFEpidITS &ref); | |
34 | AliHFEpidITS& operator=(const AliHFEpidITS &ref); | |
35 | virtual ~AliHFEpidITS(); | |
36 | ||
37 | virtual Bool_t InitializePID(); | |
722347d8 | 38 | virtual Int_t IsSelected(AliHFEpidObject *track); |
e8a6457a | 39 | virtual Bool_t HasQAhistos() const { return kTRUE; }; |
40 | ||
722347d8 | 41 | Double_t GetITSSignalV1(AliVParticle *track, Int_t mcPID); |
42 | Double_t GetITSSignalV2(AliVParticle *track, Int_t mcPID); | |
e8a6457a | 43 | protected: |
44 | virtual void AddQAhistograms(TList *l); | |
45 | void Copy(TObject &o) const; | |
46 | void FillHistogramsSignalV1(Double_t p, Double_t signal, Int_t species); | |
47 | void FillHistogramsSignalV2(Double_t p, Double_t signal, Int_t species); | |
e8a6457a | 48 | private: |
49 | TList *fQAlist; // QA histograms for ITS pid | |
50 | ||
51 | ClassDef(AliHFEpidITS, 0) // PID class for ITS | |
52 | }; | |
53 | #endif | |
54 |