]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGHF/hfe/AliHFEdetPIDqa.h
Config file of AliAnalysisTaskElecV2
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEdetPIDqa.h
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 //
21 #ifndef ALIHFEDETPIDQA_H
22 #define ALIHFEDETPIDQA_H
23
24 #ifndef ROOT_TNamed
25 #include <TNamed.h>
26 #endif
27
28 class AliHFEpidObject;
29 class AliHFEpidQAmanager;
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;
44     virtual void ProcessTrack(const AliHFEpidObject *track, EStep_t step)= 0;
45
46     void SetPIDqaManager(AliHFEpidQAmanager *qamgr) { fQAmanager = qamgr; }
47     AliHFEpidQAmanager *GetPIDqaManager() const { return fQAmanager; }
48
49   protected:
50     AliHFEpidQAmanager *fQAmanager; // PID QA manager
51   
52     ClassDef(AliHFEdetPIDqa, 1)     // Base class for detector PID QA
53 };
54
55 #endif