]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PWGHF/hfe/AliHFEpidITS.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidITS.h
... / ...
CommitLineData
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 **************************************************************************/
15//
16// PID development class for ITS
17// does proton rejection via dE/dx
18// For more information see implementation file
19#ifndef ALIHFEPIDITS_H
20#define ALIHFEPIDITS_H
21
22#ifndef ALIHFEPIDBASE_H
23#include "AliHFEpidBase.h"
24#endif
25
26class AliVParticle;
27class AliVTrack;
28class AliPID;
29
30class AliHFEpidQAmanager;
31
32class AliHFEpidITS : public AliHFEpidBase{
33 public:
34 AliHFEpidITS();
35 AliHFEpidITS(const Char_t *name);
36 AliHFEpidITS(const AliHFEpidITS &ref);
37 AliHFEpidITS& operator=(const AliHFEpidITS &ref);
38 virtual ~AliHFEpidITS();
39
40 void SetITSnSigma(Float_t nSigma) { fNsigmaITS = nSigma; };
41 void SetMeanShift(Double_t meanshift) { fMeanShift = meanshift; }
42 virtual Bool_t InitializePID(Int_t /*run*/);
43 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *pidqa) const;
44
45 Double_t GetITSNsigmaCorrected(const AliVTrack *track) const;
46 protected:
47 void Copy(TObject &o) const;
48 private:
49 enum{
50 kITSsigV1 = 0,
51 kITSsigV2 = 1
52 };
53 Float_t fNsigmaITS; // ITS sigma band
54 Double_t fMeanShift; // Correction for possible shift of the electron band
55
56 ClassDef(AliHFEpidITS, 1) // PID class for ITS
57};
58#endif
59