]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTrackingEff.h
Extra header added to the list
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingEff.h
index 5facfc68e46796256a9d711ca234160b502715c9..450489826d0286668eb70ead1cbab94a926db4ca 100644 (file)
@@ -1,9 +1,16 @@
-#ifndef ALIFASTMUONTRACKINGEFF
-#define ALIFASTMUONTRACKINGEFF
+#ifndef ALIFASTMUONTRACKINGEFF_H
+#define ALIFASTMUONTRACKINGEFF_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+//
+// Class for fast simulation of the ALICE Muon Spectrometer
+// Tracking Efficiency.
+// The efficiency depends on transverse momentum pt, polar angle theta and azimuthal angle phi.
+//
+// Author: Alessandro de Falco 
+// alessandro.de.falco@ca.infn.it
 
 #include "AliFastResponse.h"
 class AliMUONFastTracking;
@@ -11,11 +18,21 @@ class AliMUONFastTracking;
 class AliFastMuonTrackingEff :  public AliFastResponse {
  public:
     AliFastMuonTrackingEff();
-    ~AliFastMuonTrackingEff(){;}
+    virtual ~AliFastMuonTrackingEff(){;}
+    AliFastMuonTrackingEff(const AliFastMuonTrackingEff& eff);
     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);}
+    
+    // Copy
+    AliFastMuonTrackingEff& operator=(const AliFastMuonTrackingEff& rhs);
  protected:
     Float_t              fBackground;   // Background level
     Float_t              fCharge;       // Current charge