]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidTOF.h
Bug fix
[u/mrichter/AliRoot.git] / PWGHF / 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;
bf892a6a 17class AliPID;
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
8c1c76e9 29 virtual Bool_t InitializePID(Int_t /*run*/);
6555e2ad 30 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *piqa) const;
50685501 31
c2690925 32 void SetTOFnSigma(Float_t nSigma) { fNsigmaTOF = nSigma; };
959ea9d8 33 void SetTOFnSigmaBand(Float_t lower, Float_t upper);
5cd679b7 34 void SetTOFnSigmaBandCentrality(Float_t lower, Float_t upper, Int_t centralityBin);
9bcfd1ab 35
50685501 36 protected:
37 void Copy(TObject &ref) const;
50685501 38 private:
11ff28c5 39 enum {
40 kSigmaBand = BIT(15)
41 };
42 Float_t fNsigmaTOF; // TOF sigma band
5cd679b7 43 Float_t fSigmaBordersTOFLower[12]; // Min. sigma cut
44 Float_t fSigmaBordersTOFUpper[12]; // Max. sigma cut
50685501 45
9bcfd1ab 46 ClassDef(AliHFEpidTOF, 1)
809a4336 47};
48
49#endif