X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FASTSIM%2FAliFastResponse.cxx;h=e3191af15511f21712e5d3f6a8beaa30cdb09b6a;hb=21e7df4456edc6147e2455935c0e8af7140a49f9;hp=60331e14c2d9793bc11ee844f14e5dedb35b7098;hpb=a42548b0b6131829cbb3f50108aedb8785fbb6e7;p=u%2Fmrichter%2FAliRoot.git diff --git a/FASTSIM/AliFastResponse.cxx b/FASTSIM/AliFastResponse.cxx index 60331e14c2d..e3191af1551 100644 --- a/FASTSIM/AliFastResponse.cxx +++ b/FASTSIM/AliFastResponse.cxx @@ -28,16 +28,24 @@ 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,