]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastResponse.cxx
Updated comments (Raffaele)
[u/mrichter/AliRoot.git] / FASTSIM / AliFastResponse.cxx
index 60331e14c2d9793bc11ee844f14e5dedb35b7098..e3191af15511f21712e5d3f6a8beaa30cdb09b6a 100644 (file)
 ClassImp(AliFastResponse)
 
 
-Float_t AliFastResponse::Evaluate(AliFastParticle* part)
+Float_t AliFastResponse::Evaluate(Float_t /*charge*/, Float_t /*pt*/, Float_t /*theta*/, Float_t /*phi*/)
 {
 //
+//  Dummy implementation of this method
+// 
+    return 0.;
+}
+
+
+void AliFastResponse::Evaluate(Float_t /*charge*/, Float_t   p,  Float_t  theta , Float_t   phi,
+                              Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
+{
+//    
 // Basic implementation of this method 
 //
-    Float_t theta = part->Theta();
-    Float_t phi   = part->Phi();
-    Float_t pt    = part->Pt();
-    Float_t eff   = Evaluate(pt, theta, phi);
-    return eff;
+    pS     = p;
+    thetaS = theta;
+    phiS   = phi;
 }
 
 void AliFastResponse::Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,