3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
13 class AliTRDPartID: public TObject {
16 AliTRDPartID(TF1* betheBloch, Double_t res, Double_t range);
17 virtual ~AliTRDPartID();
19 Bool_t MakePID(AliESDtrack* track);
21 void FitBetheBloch(TProfile* dEdxVsBetaGamma);
22 inline TF1* GetBetheBloch() {return fBetheBloch;};
23 TF1* CreateBetheBloch(Double_t mass);
25 static AliTRDPartID* GetFromFile(const char* fileName = "pid.root");
28 static Double_t fcnBetheBloch(Double_t* xx, Double_t* par);
29 static Double_t fcnBetheBlochMass(Double_t* xx, Double_t* par);
31 TF1* fBetheBloch; // parametrized bethe bloch function
32 Double_t fRes; // relative dE/dx resolution
33 Double_t fRange; // cut off in standard deviations
35 ClassDef(AliTRDPartID,1) // TRD PID class