new interface library added to be independent of AliRoot dependecies
[u/mrichter/AliRoot.git] / TRD / AliTRDpidESD.h
CommitLineData
b0f03c34 1#ifndef ALITRDPIDESD_H
2#define ALITRDPIDESD_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
b52cb1b6 6/* $Id$ */
7
8////////////////////////////////////////////////////////////////////////////
9// //
10// Assigns the PID probabilities based on TRD information to the ESDs //
11// //
12////////////////////////////////////////////////////////////////////////////
13
b0f03c34 14#include <Rtypes.h>
15
b52cb1b6 16#include <TObject.h>
17
b0f03c34 18class AliESD;
19
b52cb1b6 20class AliTRDpidESD : public TObject {
21
22 public:
23
24 AliTRDpidESD();
25 AliTRDpidESD(const AliTRDpidESD &p);
45160b1f 26 virtual ~AliTRDpidESD() {}
b52cb1b6 27 AliTRDpidESD &operator=(const AliTRDpidESD &p);
28
29 virtual void Copy(TObject &p) const;
30
31 static Int_t MakePID(AliESD *event);
32
33 void SetCheckTrackStatus(Bool_t status = kTRUE) { fCheckTrackStatus = status; };
34 void SetCheckKinkStatus(Bool_t status = kTRUE) { fCheckKinkStatus = status; };
35 void SetMinPlane(Int_t plane) { fMinPlane = plane; };
36
37 Bool_t GetCheckTrackStatus() { return fCheckTrackStatus; };
38 Bool_t GetCheckKinkStatus() { return fCheckKinkStatus; };
39 Int_t GetMinPlane() { return fMinPlane; };
40
41 private:
42
43 static Bool_t fCheckTrackStatus; // Enable check on ESD track status
44 static Bool_t fCheckKinkStatus; // Enable check on ESD kink track
45 static Int_t fMinPlane; // Minimum number of planes
46
47 ClassDef(AliTRDpidESD,2) // TRD PID class
48
b0f03c34 49};
50
51#endif
52
53