]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidITS.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidITS.h
CommitLineData
e8a6457a 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
50685501 15//
16// PID development class for ITS
17// does proton rejection via dE/dx
18// For more information see implementation file
c2690925 19#ifndef ALIHFEPIDITS_H
20#define ALIHFEPIDITS_H
e8a6457a 21
22#ifndef ALIHFEPIDBASE_H
23#include "AliHFEpidBase.h"
24#endif
25
e8a6457a 26class AliVParticle;
4437a0d2 27class AliVTrack;
28class AliPID;
29
3a72645a 30class AliHFEpidQAmanager;
e8a6457a 31
32class AliHFEpidITS : public AliHFEpidBase{
e8a6457a 33 public:
4437a0d2 34 AliHFEpidITS();
e8a6457a 35 AliHFEpidITS(const Char_t *name);
36 AliHFEpidITS(const AliHFEpidITS &ref);
37 AliHFEpidITS& operator=(const AliHFEpidITS &ref);
38 virtual ~AliHFEpidITS();
39
4437a0d2 40 void SetITSnSigma(Float_t nSigma) { fNsigmaITS = nSigma; };
f06b970d 41 void SetMeanShift(Double_t meanshift) { fMeanShift = meanshift; }
8c1c76e9 42 virtual Bool_t InitializePID(Int_t /*run*/);
6555e2ad 43 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *pidqa) const;
e8a6457a 44
f06b970d 45 Double_t GetITSNsigmaCorrected(const AliVTrack *track) const;
e8a6457a 46 protected:
e8a6457a 47 void Copy(TObject &o) const;
e8a6457a 48 private:
50685501 49 enum{
50 kITSsigV1 = 0,
3a72645a 51 kITSsigV2 = 1
50685501 52 };
f06b970d 53 Float_t fNsigmaITS; // ITS sigma band
54 Double_t fMeanShift; // Correction for possible shift of the electron band
e8a6457a 55
4437a0d2 56 ClassDef(AliHFEpidITS, 1) // PID class for ITS
e8a6457a 57};
58#endif
59