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 __ALIHFEPIDTRD_H__
16 #define __ALIHFEPIDTRD_H__
18 #ifndef __ALIHFEPIDBASE_H__
19 #include "AliHFEpidBase.h"
24 class AliHFEpidTRD : public AliHFEpidBase{
33 AliHFEpidTRD(const Char_t *name);
34 AliHFEpidTRD(const AliHFEpidTRD &ref);
35 AliHFEpidTRD& operator=(const AliHFEpidTRD &ref);
36 virtual ~AliHFEpidTRD();
38 virtual Bool_t InitializePID();
39 virtual Int_t IsSelected(AliVParticle *track);
40 virtual Bool_t HasQAhistos() const { return kFALSE; };
42 void SetPIDMethod(PIDMethodTRD_t method) { fPIDMethod = method; };
44 void Copy(TObject &ref) const;
45 Double_t GetTRDthresholds(Double_t electronEff, Double_t p);
46 void InitParameters();
47 void GetParameters(Double_t electronEff, Double_t *parameters);
49 PIDMethodTRD_t fPIDMethod; // PID Method: 2D Likelihood or Neural Network
50 Double_t fThreshParams[kThreshParams]; // Threshold parametrisation
51 ClassDef(AliHFEpidTRD, 1) // TRD electron ID class