]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidEMCAL.h
Changes to compile with Root6 on macosx64
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidEMCAL.h
CommitLineData
c2690925 1#ifndef ALIHFEPIDEMCAL_H
2#define ALIHFEPIDEMCAL_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//
8// Class for EMCAL PID
9// electron selection with energy-momnetum matching (e/p)
10// For more information please check the implementation file
11//
12#ifndef ALIHFEPIDBASE_H
13#include "AliHFEpidBase.h"
14#endif
15
16class AliVParticle;
17class AliPID;
18
19class AliHFEpidQAmanager;
c2690925 20
21class AliHFEpidEMCAL : public AliHFEpidBase{
22 public:
23 AliHFEpidEMCAL();
24 AliHFEpidEMCAL(const Char_t *name);
25 virtual ~AliHFEpidEMCAL();
26 AliHFEpidEMCAL(const AliHFEpidEMCAL &c);
27 AliHFEpidEMCAL &operator=(const AliHFEpidEMCAL &c);
28
8c1c76e9 29 virtual Bool_t InitializePID(Int_t /*run*/);
c2690925 30 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *piqa) const;
31
e156c3bb 32 //Double_t MomentumEnergyMatchV1(const AliVParticle *track) const;
33 Double_t MomentumEnergyMatchV2(const AliVParticle *track) const;
8c1c76e9 34 Double_t CalEopCutMax(const AliVParticle *const track, Int_t flageop) const;
35 Double_t CalEopCutMim(const AliVParticle *const track, Int_t flageop) const;
36
37 void SetEoPMax(Float_t eopmax) {feopMax = eopmax;}
38 void SetEoPMim(Float_t eopmim) {feopMim = eopmim;}
39
c2690925 40
41 protected:
42 void Copy(TObject &ref) const;
43 private:
44 AliPID *fPID; //! PID Object
45 Float_t feopMim; // EMCAL eop mim. cut
46 Float_t feopMax; // EMCAL eop max. cut
57189f04 47 //TRandom3 fRandom;
c2690925 48
49 ClassDef(AliHFEpidEMCAL, 1)
50};
51
52#endif