]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TRD/AliTRDpidESD.h
Another round of effc++ changes
[u/mrichter/AliRoot.git] / TRD / AliTRDpidESD.h
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
6 /* $Id$ */
7
8 ////////////////////////////////////////////////////////////////////////////
9 //                                                                        //
10 //  Assigns the PID probabilities based on TRD information to the ESDs    //
11 //                                                                        //
12 ////////////////////////////////////////////////////////////////////////////
13
14 #include <Rtypes.h>
15
16 #include <TObject.h>
17
18 class AliESD;
19
20 class AliTRDpidESD : public TObject {
21
22  public:
23
24   AliTRDpidESD();
25   AliTRDpidESD(const AliTRDpidESD &p);
26   virtual ~AliTRDpidESD() {}
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
49 };
50
51 #endif
52
53