]>
Commit | Line | Data |
---|---|---|
3a72645a | 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 | // | |
16 | // Class AliHFEdetPIDqa | |
17 | // Base class for detector PID QA describing the interface to the PID QA | |
18 | // manager, keeping also commom functionality | |
19 | // More information can be found inside the implementation file | |
20 | // | |
c2690925 | 21 | #ifndef ALIHFEDETPIDQA_H |
22 | #define ALIHFEDETPIDQA_H | |
23 | ||
3a72645a | 24 | #ifndef ROOT_TNamed |
25 | #include <TNamed.h> | |
26 | #endif | |
27 | ||
3a72645a | 28 | class AliHFEpidObject; |
6555e2ad | 29 | class AliHFEpidQAmanager; |
3a72645a | 30 | |
31 | class AliHFEdetPIDqa : public TNamed{ | |
32 | public: | |
33 | enum EStep_t{ | |
34 | kBeforePID = 0, | |
35 | kAfterPID = 1 | |
36 | }; | |
37 | AliHFEdetPIDqa(); | |
38 | AliHFEdetPIDqa(const Char_t *name, const Char_t *title); | |
39 | AliHFEdetPIDqa(const AliHFEdetPIDqa &c); | |
40 | AliHFEdetPIDqa &operator=(const AliHFEdetPIDqa &o); | |
41 | ~AliHFEdetPIDqa(){} | |
42 | ||
43 | virtual void Initialize() = 0; | |
6555e2ad | 44 | virtual void ProcessTrack(const AliHFEpidObject *track, EStep_t step)= 0; |
3a72645a | 45 | |
6555e2ad | 46 | void SetPIDqaManager(AliHFEpidQAmanager *qamgr) { fQAmanager = qamgr; } |
47 | AliHFEpidQAmanager *GetPIDqaManager() const { return fQAmanager; } | |
3a72645a | 48 | |
49 | protected: | |
6555e2ad | 50 | AliHFEpidQAmanager *fQAmanager; // PID QA manager |
3a72645a | 51 | |
52 | ClassDef(AliHFEdetPIDqa, 1) // Base class for detector PID QA | |
53 | }; | |
54 | ||
55 | #endif |