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 **************************************************************************/
15 #ifndef __ALIHFEPID_H__
16 #define __ALIHFEPID_H__
29 class AliHFEpid : public TObject{
44 AliHFEpid(const AliHFEpid &c);
45 AliHFEpid &operator=(const AliHFEpid &c);
48 Bool_t InitializePID(TString detectors);
49 Bool_t IsSelected(AliVParticle *track);
50 void SetMCEvent(AliMCEvent *mc);
52 Bool_t IsQAOn() const { return TestBit(kIsQAOn); };
53 Bool_t HasMCData() const { return TestBit(kHasMCData); };
55 void SetHasMCData(Bool_t hasMCdata = kTRUE) { SetBit(kHasMCData, hasMCdata); };
56 TList *GetQAhistograms() const { return fQAlist; };
59 Bool_t MakePID_TPC_TOF(AliESDtrack *track);
61 AliHFEpidBase *fDetectorPID[kNdetectorPID]; //! Detector PID classes
62 UInt_t fEnabledDetectors; // Enabled Detectors
63 TList *fQAlist; //! QA histograms
65 ClassDef(AliHFEpid, 1) // Steering class for Electron ID