]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGHF/hfe/AliHFEpidBayes.h
Fix for par file creation on lion with clang (Dario Berzano)
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEpidBayes.h
CommitLineData
8c1c76e9 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// Class for Bayes PID
17// electron selection via combined PID
18// For more information please check the implementation file
19//
20#ifndef ALIHFEPIDBAYES_H
21#define ALIHFEPIDBAYES_H
22
23#ifndef ALIHFEPIDBASE_H
24#include "AliHFEpidBase.h"
25#endif
26
27//#ifndef ALIPID_H
28//#include "AliPID.h"
29//#endif
30
31class TList;
32class AliAODTrack;
33class AliAODMCParticle;
34class AliESDtrack;
35class AliMCParticle;
36class AliVParticle;
37class AliHFEcollection;
38class AliHFEpidQAmanager;
39class AliPIDCombined;
40class AliPID;
41
42class AliHFEpidBayes : public AliHFEpidBase{
43 public:
44 AliHFEpidBayes();
45 AliHFEpidBayes(const Char_t *name);
46 AliHFEpidBayes(const AliHFEpidBayes &ref);
47 AliHFEpidBayes &operator=(const AliHFEpidBayes &ref);
48 void Copy(TObject &ref) const;
49 virtual ~AliHFEpidBayes();
50
51 virtual Bool_t InitializePID(Int_t /*run*/);
52 virtual Int_t IsSelected(const AliHFEpidObject *track, AliHFEpidQAmanager *pidqa) const;
53 void CalcCombProb(const AliHFEpidObject *track,const AliPIDResponse *fkPIDResponse, Double_t* probTPCTOF) const;
54 void SetBayesDetectorMask(Int_t detmask) { fDetMask = detmask; };
55 void SetBayesPIDThreshold(Float_t pidthres) {fpidthres=pidthres;};
56
57protected:
58
59 private:
60 AliPIDCombined *fPIDCombined; //! combined PID object
61 Int_t fDetMask; // detector mask
62 Int_t fDetMaskDefault; // default detector mask
63 Int_t fDetMaskDefaultandTRD; // default detector mask +TRD
64 Float_t fpidthres; // pid threshold
65 ClassDef(AliHFEpidBayes, 1) // Bayes Electron ID class
66};
67
68
69#endif