]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGHF/hfe/AliHFEpidTOF.h
Bug fix
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidTOF.h
1 #ifndef ALIHFEPIDTOF_H
2 #define ALIHFEPIDTOF_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 TOF PID
9 // Rejects protons and kaons at the TPC dE/dx line crossings
10 // For more information please check the implementation file
11 //
12 #ifndef ALIHFEPIDBASE_H
13 #include "AliHFEpidBase.h"
14 #endif
15
16 class AliVParticle;
17 class AliPID;
18
19 class AliHFEpidQAmanager;
20
21 class AliHFEpidTOF : public AliHFEpidBase{
22   public:
23     AliHFEpidTOF();
24     AliHFEpidTOF(const Char_t *name);
25     virtual ~AliHFEpidTOF();
26     AliHFEpidTOF(const AliHFEpidTOF &c);
27     AliHFEpidTOF &operator=(const AliHFEpidTOF &c);
28   
29     virtual Bool_t    InitializePID(Int_t /*run*/);
30     virtual Int_t     IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *piqa) const;
31   
32     void SetTOFnSigma(Float_t nSigma) { fNsigmaTOF = nSigma; };
33     void SetTOFnSigmaBand(Float_t lower, Float_t upper);
34     void SetTOFnSigmaBandCentrality(Float_t lower, Float_t upper, Int_t centralityBin); 
35
36   protected:
37     void Copy(TObject &ref) const;
38   private:
39     enum {
40       kSigmaBand = BIT(15)
41     };
42     Float_t    fNsigmaTOF;          // TOF sigma band
43     Float_t    fSigmaBordersTOFLower[12]; // Min.  sigma cut
44     Float_t    fSigmaBordersTOFUpper[12]; // Max.  sigma cut
45
46     ClassDef(AliHFEpidTOF, 1)
47 };
48
49 #endif