1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
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
21 #ifndef ALIHFEDETPIDQA_H
22 #define ALIHFEDETPIDQA_H
30 class AliHFEpidObject;
32 class AliHFEdetPIDqa : public TNamed{
39 AliHFEdetPIDqa(const Char_t *name, const Char_t *title);
40 AliHFEdetPIDqa(const AliHFEdetPIDqa &c);
41 AliHFEdetPIDqa &operator=(const AliHFEdetPIDqa &o);
44 virtual void Initialize() = 0;
45 virtual void ProcessTrack(AliHFEpidObject *track, EStep_t step)= 0;
47 void SetESDpid(AliESDpid *esdpid) { fESDpid = esdpid; }
48 void SetAODpid(AliAODpidUtil *aodpid) { fAODpid = aodpid; }
49 AliESDpid *GetESDpid() const { return fESDpid; }
50 AliAODpidUtil *GetAODpid() const { return fAODpid; }
53 AliESDpid *fESDpid; //! ESD PID object
54 AliAODpidUtil *fAODpid; //! AOD PID object
56 ClassDef(AliHFEdetPIDqa, 1) // Base class for detector PID QA