]>
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 | **************************************************************************/ | |
50685501 | 15 | // |
16 | // PID development class for ITS | |
17 | // does proton rejection via dE/dx | |
18 | // For more information see implementation file | |
e8a6457a | 19 | #ifndef ALIHFEPIDITS_H |
20 | #define ALIHFEPIDITS_H | |
21 | ||
22 | #ifndef ALIHFEPIDBASE_H | |
23 | #include "AliHFEpidBase.h" | |
24 | #endif | |
25 | ||
e8a6457a | 26 | class AliVParticle; |
27 | class TList; | |
28 | ||
29 | class AliHFEpidITS : public AliHFEpidBase{ | |
e8a6457a | 30 | public: |
31 | AliHFEpidITS(const Char_t *name); | |
32 | AliHFEpidITS(const AliHFEpidITS &ref); | |
33 | AliHFEpidITS& operator=(const AliHFEpidITS &ref); | |
34 | virtual ~AliHFEpidITS(); | |
35 | ||
36 | virtual Bool_t InitializePID(); | |
722347d8 | 37 | virtual Int_t IsSelected(AliHFEpidObject *track); |
e8a6457a | 38 | virtual Bool_t HasQAhistos() const { return kTRUE; }; |
39 | ||
722347d8 | 40 | Double_t GetITSSignalV1(AliVParticle *track, Int_t mcPID); |
41 | Double_t GetITSSignalV2(AliVParticle *track, Int_t mcPID); | |
e8a6457a | 42 | protected: |
43 | virtual void AddQAhistograms(TList *l); | |
44 | void Copy(TObject &o) const; | |
45 | void FillHistogramsSignalV1(Double_t p, Double_t signal, Int_t species); | |
46 | void FillHistogramsSignalV2(Double_t p, Double_t signal, Int_t species); | |
e8a6457a | 47 | private: |
50685501 | 48 | enum{ |
49 | kITSsigV1 = 0, | |
50 | kITSsigV2 = 1, | |
51 | kHistosSigAll = 2 | |
52 | }; | |
e8a6457a | 53 | TList *fQAlist; // QA histograms for ITS pid |
54 | ||
55 | ClassDef(AliHFEpidITS, 0) // PID class for ITS | |
56 | }; | |
57 | #endif | |
58 |