]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTrackingEff.h
Bug fix - T0 form AliRelKamna in microseconds
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingEff.h
index 087ce8b65c5e45379b63f50923750eb1bd23e9b1..450489826d0286668eb70ead1cbab94a926db4ca 100644 (file)
@@ -7,7 +7,7 @@
 //
 // 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
@@ -23,15 +23,15 @@ class AliFastMuonTrackingEff :  public AliFastResponse {
     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