//
// Class for fast simulation of the ALICE Muon Spectrometer
// Tracking Efficiency.
-// The efficiency depends on trasverse momentum pt, polar angle theta and azimuthal angle phi.
+// The efficiency depends on transverse momentum pt, polar angle theta and azimuthal angle phi.
//
// Author: Alessandro de Falco
// alessandro.de.falco@ca.infn.it
void SetBackground(Float_t bg = 1.) {fBackground = bg;}
void SetCharge(Float_t charge = 1.) {fCharge = charge;}
virtual void Init();
- virtual Float_t Evaluate(Float_t pt, Float_t theta, Float_t phi);
+ virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi);
+ virtual void Evaluate(Float_t charge, Float_t p, Float_t theta , Float_t phi,
+ Float_t& pS, Float_t& thetaS, Float_t& phiS)
+ {AliFastResponse::Evaluate(charge, p, theta, phi, pS, thetaS, phiS);}
virtual void Evaluate(Float_t p, Float_t theta , Float_t phi,
- Float_t& pS, Float_t& thetaS, Float_t& phiS) {
- AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);
- }
- virtual Float_t Evaluate(AliFastParticle* part) {
- return AliFastResponse::Evaluate(part);
- }
- // Copy
+ Float_t& pS, Float_t& thetaS, Float_t& phiS)
+ {AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);}
+
+ // Copy
AliFastMuonTrackingEff& operator=(const AliFastMuonTrackingEff& rhs);
protected:
Float_t fBackground; // Background level