From: hristov Date: Tue, 1 Mar 2005 11:36:00 +0000 (+0000) Subject: Correcting sources of warnings X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=88445b6c7cc562d84b11382a9ed6b56ded135009;ds=sidebyside Correcting sources of warnings --- diff --git a/FASTSIM/AliFastMuonTrackingRes.h b/FASTSIM/AliFastMuonTrackingRes.h index 1ab02df375f..64426b7f6ed 100644 --- a/FASTSIM/AliFastMuonTrackingRes.h +++ b/FASTSIM/AliFastMuonTrackingRes.h @@ -23,6 +23,9 @@ class AliFastMuonTrackingRes : public AliFastResponse { virtual Float_t Evaluate(AliFastParticle* part) { return AliFastResponse::Evaluate(part); } + virtual Float_t Evaluate(Float_t pt, Float_t theta , Float_t phi) { + return AliFastResponse::Evaluate(pt,theta,phi); + } protected: Float_t fBackground; // Background level Float_t fCharge; // Current charge diff --git a/FASTSIM/AliFastMuonTriggerEff.cxx b/FASTSIM/AliFastMuonTriggerEff.cxx index d060e6cfc0d..6a5e5cee424 100644 --- a/FASTSIM/AliFastMuonTriggerEff.cxx +++ b/FASTSIM/AliFastMuonTriggerEff.cxx @@ -263,7 +263,8 @@ void AliFastMuonTriggerEff::InitTree() } void AliFastMuonTriggerEff::Evaluate(Float_t charge, Float_t pt, - Float_t theta, Float_t phi,Float_t& effLow, Float_t& effHigh) + Float_t theta, Float_t phi,Float_t& effLow, Float_t& effHigh, + Float_t& /*eff*/) { // // Trigger efficiency for pt, theta, phi (low and high cut) diff --git a/FASTSIM/AliFastMuonTriggerEff.h b/FASTSIM/AliFastMuonTriggerEff.h index ba716a46895..e4aa840fc2e 100644 --- a/FASTSIM/AliFastMuonTriggerEff.h +++ b/FASTSIM/AliFastMuonTriggerEff.h @@ -16,8 +16,12 @@ class AliFastMuonTriggerEff : public AliFastResponse { virtual ~AliFastMuonTriggerEff(){;} virtual void Init(); virtual void Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi, - Float_t& effLow, Float_t& effHigh); + Float_t& effLow, Float_t& effHigh, Float_t& eff); virtual Float_t Evaluate(Float_t charge, Float_t pt, Float_t theta, Float_t phi); + 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(Float_t pt, Float_t theta, Float_t phi) { return AliFastResponse::Evaluate(pt, theta, phi); }