]>
Commit | Line | Data |
---|---|---|
75d81601 | 1 | #ifndef ALIHFEPIDTOF_H |
2 | #define ALIHFEPIDTOF_H | |
809a4336 | 3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
50685501 | 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 | // | |
75d81601 | 12 | #ifndef ALIHFEPIDBASE_H |
809a4336 | 13 | #include "AliHFEpidBase.h" |
14 | #endif | |
15 | ||
3a72645a | 16 | class AliVParticle; |
bf892a6a | 17 | class AliPID; |
18 | ||
3a72645a | 19 | class AliHFEpidQAmanager; |
809a4336 | 20 | |
21 | class AliHFEpidTOF : public AliHFEpidBase{ | |
50685501 | 22 | public: |
3a72645a | 23 | AliHFEpidTOF(); |
50685501 | 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(); | |
6555e2ad | 30 | virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *piqa) const; |
50685501 | 31 | |
c2690925 | 32 | void SetTOFnSigma(Float_t nSigma) { fNsigmaTOF = nSigma; }; |
6555e2ad | 33 | Double_t NumberOfSigmas(const AliVParticle *track, AliPID::EParticleType species, AliHFEpidObject::AnalysisType_t anaType) const; |
34 | Double_t GetTOFsignal(const AliVParticle *track, AliHFEpidObject::AnalysisType_t anatype) const; | |
35 | Double_t GetTime0(AliHFEpidObject::AnalysisType_t anatype) const; | |
36 | void GetIntegratedTimes(const AliVParticle *track, Double_t *times, AliHFEpidObject::AnalysisType_t anatype) const; | |
9bcfd1ab | 37 | |
50685501 | 38 | protected: |
39 | void Copy(TObject &ref) const; | |
50685501 | 40 | private: |
9bcfd1ab | 41 | AliPID *fPID; //! PID Object |
9bcfd1ab | 42 | |
c2690925 | 43 | Float_t fNsigmaTOF; // TOF sigma band |
50685501 | 44 | |
9bcfd1ab | 45 | ClassDef(AliHFEpidTOF, 1) |
809a4336 | 46 | }; |
47 | ||
48 | #endif |