]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG3/hfe/AliHFEpidTOF.h
Adding Id to PWG3 classes for better tracking of the coverity defect fixes (Ivana)
[u/mrichter/AliRoot.git] / PWG3 / 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 /* $Id$ */ 
8
9 //
10 // Class for TOF PID
11 // Rejects protons and kaons at the TPC dE/dx line crossings
12 // For more information please check the implementation file
13 //
14 #ifndef ALIHFEPIDBASE_H
15 #include "AliHFEpidBase.h"
16 #endif
17
18 class AliVParticle;
19 class AliPID;
20
21 class AliHFEpidQAmanager;
22
23 class AliHFEpidTOF : public AliHFEpidBase{
24   public:
25     AliHFEpidTOF();
26     AliHFEpidTOF(const Char_t *name);
27     virtual ~AliHFEpidTOF();
28     AliHFEpidTOF(const AliHFEpidTOF &c);
29     AliHFEpidTOF &operator=(const AliHFEpidTOF &c);
30   
31     virtual Bool_t    InitializePID();
32     virtual Int_t     IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *piqa) const;
33   
34     void SetTOFnSigma(Short_t nSigma) { fNsigmaTOF = nSigma; };
35     Double_t NumberOfSigmas(const AliVParticle *track, AliPID::EParticleType species, AliHFEpidObject::AnalysisType_t anaType) const;
36     Double_t GetTOFsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype) const;
37     Double_t GetTime0(AliHFEpidObject::AnalysisType_t anatype) const;
38     void GetIntegratedTimes(const AliVParticle *track, Double_t *times, AliHFEpidObject::AnalysisType_t anatype) const;
39
40   protected:
41     void Copy(TObject &ref) const;
42   private:
43     AliPID        *fPID;           //! PID Object
44
45     Short_t    fNsigmaTOF;         // TOF sigma band
46
47     ClassDef(AliHFEpidTOF, 1)
48 };
49
50 #endif