#ifndef ALITRDPROBDIST_H #define ALITRDPROBDIST_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /*----------------------------------------------------------------- Class for dE/dx and Time Bin of Max. Cluster for Electrons and pions in TRD. It is instantiated in class AliTRDpidESD for particle identification in TRD Prashant Shukla -----------------------------------------------------------------*/ #include "TObject.h" const Int_t kNo_Mom=7; const Int_t kNo_EnBins=250; const Int_t kNo_TBins=20; class AliTRDprobdist : public TObject { public: AliTRDprobdist(Int_t multiplicity=1); // multiplicity can take // values 1, 2000, 4000, 6000, 8000 // ~AliTRDprobdist(); void FillData(); // Fills Data // void FillData2000(); // Fills Data of multiplicity 2000 // void FillData4000(); // Fills Data of multiplicity 4000 // void FillData6000(); // Fills Data of multiplicity 6000 // void FillData8000(); // Fills Data of multiplicity 8000 Double_t GetBM(Int_t ip) const { return fTrackMomentum[ip];} Double_t GetMeanPI(Int_t ip) const; // Gets mean of de/dx dist. of pi Double_t GetMeanEL(Int_t ip) const; // Gets mean of de/dx dist. of e Double_t GetNormalizationPI(Int_t ip) const; // Gets Norm. of de/dx dist. of pi Double_t GetNormalizationEL(Int_t ip) const; // Gets Norm. of de/dx dist. of e Double_t GetProbability(Int_t k, Double_t mom, Double_t dedx) const; // Gets the Probability of having dedx Double_t GetProbabilityT(Int_t k, Double_t mom, Int_t timbin) const; // Gets the Probability of having timbin void GetData(Int_t ip, Double_t *ebin, Double_t *ppi, Double_t *pel) const { for(Int_t ie=0; ie