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 **************************************************************************/
29 class AliHFEpid : public TObject{
52 AliHFEpid(const AliHFEpid &c);
53 AliHFEpid &operator=(const AliHFEpid &c);
56 Bool_t InitializePID(TString detectors);
57 Bool_t IsSelected(AliVParticle *track);
58 void SetMCEvent(AliMCEvent *mc);
60 Bool_t IsQAOn() const { return TestBit(kIsQAOn); };
61 Bool_t HasMCData() const { return TestBit(kHasMCData); };
63 void SetHasMCData(Bool_t hasMCdata = kTRUE) { SetBit(kHasMCData, hasMCdata); };
64 TList *GetQAhistograms() const { return fQAlist; };
67 Bool_t MakePidTpcTof(AliESDtrack *track);
68 Bool_t MakePidTpcTrd(AliESDtrack *track);
69 void MakePlotsItsTpc(AliESDtrack *track);
71 AliHFEpidBase *fDetectorPID[kNdetectorPID]; //! Detector PID classes
72 UInt_t fEnabledDetectors; // Enabled Detectors
73 TList *fQAlist; //! QA histograms
75 ClassDef(AliHFEpid, 1) // Steering class for Electron ID