]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastMuonTrackingAcc.h
Geometry builder classes moved from base to sim.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastMuonTrackingAcc.h
index c0bda33b5033d7637557115eee279dfcf1291ec1..e4d7cb9761cb1f2ee6fc3171a988fa08688b54b0 100644 (file)
@@ -1,28 +1,38 @@
-#ifndef ALIFASTMUONTRACKINGACC
-#define ALIFASTMUONTRACKINGACC
+#ifndef ALIFASTMUONTRACKINGACC_H
+#define ALIFASTMUONTRACKINGACC_H
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
 
+// Realisation of AliFastResponse for the
+// fast simulation of the muon spectrometer acceptance.
+// The acceptance depends on the muon 3-vector which can be passed as (pt, theta, phi), 
+// where pt is the transverse momentum, theta the polar angle and phi the azimuthal angle.
+// Author: Andreas Morsch
+// andreas.morsch@cern.ch 
+
 #include "AliFastResponse.h"
 class AliMUONFastTracking;
 
 class AliFastMuonTrackingAcc :  public AliFastResponse {
  public:
     AliFastMuonTrackingAcc();
-    ~AliFastMuonTrackingAcc(){;}
+    AliFastMuonTrackingAcc(const AliFastMuonTrackingAcc& acc);
+    virtual ~AliFastMuonTrackingAcc(){;}
     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 void    Init();
+    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);
-    }
+                            Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
+       {AliFastResponse::Evaluate(p, theta, phi, pS, thetaS, phiS);}
+    
+    // Copy
+    AliFastMuonTrackingAcc& operator=(const AliFastMuonTrackingAcc& rhs);
  protected:
     Float_t              fBackground;   // Background level
     Float_t              fCharge;       // Current charge