00001 /* 00002 #include "ElectroWeakAnalysis/ZMuMu/interface/ZMuMuScaledFunction.h" 00003 00004 ZMuMuScaledFunction::ZMuMuScaledFunction(const ZMuMuFunction & ZMM, int bin): 00005 ZMM_(ZMM), bin_(bin) { 00006 } 00007 00008 ZMuMuScaledFunction::ZMuMuScaledFunction(double m, double g, double Ng, double Ni, 00009 double me, double s, 00010 double N, double eff_tr, double eff_sa, int bin): 00011 ZMM_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa), bin_(bin) { 00012 } 00013 00014 void ZMuMuScaledFunction::setParameters(double m, double g, double Ng, double Ni, 00015 double me, double s, 00016 double N, double eff_tr, double eff_sa) { 00017 ZMM_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa); 00018 } 00019 00020 00021 double ZMuMuScaledFunction::operator()(double x) const { 00022 return bin_ * ZMM_(x); 00023 } 00024 */