3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////////////////////////
10 // Assigns the PID probabilities based on TRD information to the ESDs //
13 // Prashant Shukla <shukla@pi0.physi.uni-heidelberg.de> (orig. version) //
14 // Alex Bercuci (a.bercuci@gsi.de) //
16 ////////////////////////////////////////////////////////////////////////////
24 class AliExternalTrackParam;
26 class AliTRDpidESD : public TObject {
31 AliTRDpidESD(const AliTRDpidESD &p);
32 virtual ~AliTRDpidESD();
33 AliTRDpidESD &operator=(const AliTRDpidESD &p);
35 virtual void Copy(TObject &p) const;
36 static Bool_t CheckTrack(AliESDtrack *t);
37 Int_t MakePID(AliESDEvent *event);
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; };
43 Bool_t GetCheckTrackStatus() const { return fgCheckTrackStatus; };
44 Bool_t GetCheckKinkStatus() const { return fgCheckKinkStatus; };
45 Int_t GetMinPlane() const { return fgMinPlane; };
49 Bool_t RecalculateTrackSegmentKine(AliESDtrack *t
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
58 AliExternalTrackParam *fTrack; //! Memory holder for Track segment calculations
60 ClassDef(AliTRDpidESD,2) // TRD PID class