]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TRD/AliTRDpidESD.h
Try to fix compilation error
[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// //
c8ab4518 10// Assigns the PID probabilities based on TRD information to the ESDs //
11// //
12// Authors : //
13// Prashant Shukla <shukla@pi0.physi.uni-heidelberg.de> (orig. version) //
14// Alex Bercuci (a.bercuci@gsi.de) //
b52cb1b6 15// //
16////////////////////////////////////////////////////////////////////////////
17
14a65137 18//#include <Rtypes.h>
b0f03c34 19
b52cb1b6 20#include <TObject.h>
21
af885e0f 22class AliESDEvent;
dab811d0 23class AliESDtrack;
c6011b06 24class AliExternalTrackParam;
c8ab4518 25
b52cb1b6 26class AliTRDpidESD : public TObject {
27
28 public:
29
30 AliTRDpidESD();
31 AliTRDpidESD(const AliTRDpidESD &p);
c6011b06 32 virtual ~AliTRDpidESD();
b52cb1b6 33 AliTRDpidESD &operator=(const AliTRDpidESD &p);
34
35 virtual void Copy(TObject &p) const;
14a65137 36 static Bool_t CheckTrack(AliESDtrack * const t);
37 Int_t MakePID(AliESDEvent * const event);
b52cb1b6 38
c8ab4518 39 void SetCheckTrackStatus(Bool_t status = kTRUE) { fgCheckTrackStatus = status; };
40 void SetCheckKinkStatus(Bool_t status = kTRUE) { fgCheckKinkStatus = status; };
41 void SetMinPlane(Int_t plane) { fgMinPlane = plane; };
b52cb1b6 42
c8ab4518 43 Bool_t GetCheckTrackStatus() const { return fgCheckTrackStatus; };
44 Bool_t GetCheckKinkStatus() const { return fgCheckKinkStatus; };
45 Int_t GetMinPlane() const { return fgMinPlane; };
c6011b06 46
47private:
c6011b06 48
14a65137 49 Bool_t RecalculateTrackSegmentKine(AliESDtrack * const t
c8ab4518 50 , Int_t plan
51 , Float_t &mom
52 , Float_t &length);
b52cb1b6 53
c8ab4518 54 static Bool_t fgCheckTrackStatus; // Enable check on ESD track status
55 static Bool_t fgCheckKinkStatus; // Enable check on ESD kink track
56 static Int_t fgMinPlane; // Minimum number of planes
b52cb1b6 57
c8ab4518 58 AliExternalTrackParam *fTrack; //! Memory holder for Track segment calculations
c6011b06 59
c8ab4518 60 ClassDef(AliTRDpidESD,2) // TRD PID class
b52cb1b6 61
b0f03c34 62};
63
64#endif
65
66