Float_t GetRes0(ETPCgainScenario s) const { return fRes0[s]; }
Float_t GetResN2(ETPCgainScenario s) const { return fResN2[s]; }
+ Bool_t RegisterSpline(const char * name, Int_t index);
+ Double_t EvaldEdxSpline(Double_t bg,Int_t entry);
+ static Double_t SEvaldEdx(Double_t bg,Int_t entry){ return (fgInstance!=0)? fgInstance->EvaldEdxSpline(bg,entry):0;};
+
protected:
Double_t GetExpectedSignal(const AliVTrack* track,
AliPID::EParticleType species,
const TSpline3* responseFunction,
Bool_t correctEta,
Bool_t correctMultiplicity) const;
-
+ //
+ // function for numberical debugging 0 registed splines can be used in the TFormula and tree visualizations
+ //
private:
Float_t fMIP; // dEdx for MIP
Float_t fRes0[fgkNumberOfGainScenarios]; // relative dEdx resolution rel sigma = fRes0*sqrt(1+fResN2/npoint)
TF1* fCorrFuncMultiplicityTanTheta; //! Function to correct the additional tanTheta dependence of the multiplicity dependence of the TPC dEdx
TF1* fCorrFuncSigmaMultiplicity; //! Function to correct for the multiplicity dependence of the TPC dEdx resolution
+ //
+ //
+ static AliTPCPIDResponse* fgInstance; //! Instance of this class (singleton implementation)
+ TObjArray fSplineArray; //array of registered splines
ClassDef(AliTPCPIDResponse,6) // TPC PID class
};
+
#endif