]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGHF/hfe/AliHFEpidESD.h
update
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidESD.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 // Steering class for electron identification
17 // For more information please check the implementation file
18 // ...
19 //
20 #ifndef ALIHFEPIDESD_H
21 #define ALIHFEPIDESD_H
22
23 #ifndef ALIHFEPIDBASE_H
24 #include "AliHFEpidBase.h"
25 #endif
26
27 class AliVParticle;
28
29 class AliHFEpidESD : public AliHFEpidBase{
30   public:
31     AliHFEpidESD();
32     AliHFEpidESD(const AliHFEpidESD &ref);
33     AliHFEpidESD &operator=(const AliHFEpidESD &ref);
34     virtual ~AliHFEpidESD();  
35
36     virtual void InitializePID();
37     virtual Int_t IsSelected(const AliVParticle *track);
38     void SetRequireTOFRange(Double_t pmin, Double_t pmax);
39     void SetRequireTRDRange(Double_t pmin, Double_t pmax);
40     void SetRequireMinTRDtracklets();
41   private:
42     Double_t fPminTRD;          // Min. Momentum where TRD PID is required
43     Double_t fPmaxTRD;          // Max. Momentum where TRD PID is required
44     Double_t fPminTOF;          // Min. Momentum where TOF PID is required
45     Double_t fPmaxTOF;          // Max. Momentum where TOF PID is required
46     Int_t fMinTrackletsTRD;     // Min. Number of TRD tracklets in region where TRD PID is required
47   ClassDef(AliHFEpidESD) // ESD PID class
48 };
49 #endif