Major update of the HFE package (comments inside the code
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEpidTOF.h
CommitLineData
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 16class AliVParticle;
17class AliPID;
809a4336 18
3a72645a 19class AliHFEpidQAmanager;
809a4336 20
21class 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();
3a72645a 30 virtual Int_t IsSelected(AliHFEpidObject *track, AliHFEpidQAmanager *piqa);
50685501 31
9bcfd1ab 32 void SetTOFnSigma(Short_t nSigma) { fNsigmaTOF = nSigma; };
33
50685501 34 protected:
35 void Copy(TObject &ref) const;
3a72645a 36 Double_t NumberOfSigmas(const AliVParticle *track, AliPID::EParticleType species, AliHFEpidObject::AnalysisType_t anaType);
50685501 37 private:
9bcfd1ab 38 AliPID *fPID; //! PID Object
9bcfd1ab 39
faee3b18 40 Short_t fNsigmaTOF; // TOF sigma band
50685501 41
9bcfd1ab 42 ClassDef(AliHFEpidTOF, 1)
809a4336 43};
44
45#endif