00001 /* 00002 #include "ElectroWeakAnalysis/ZMuMu/interface/ZMuTrackFunction.h" 00003 00004 void ZMuTrackFunction::setParameters(double m, double g, double Ng, double Ni, 00005 double me, double s, 00006 double N, double eff_tr, double eff_sa) { 00007 mass = m; 00008 width = g; 00009 Ngamma = Ng; 00010 Nint = Ni; 00011 mean = me; 00012 sigma = s; 00013 numberOfEvents = N; 00014 efficiencyTrack = eff_tr; 00015 efficiencyStandalone = eff_sa; 00016 cgz_.setParameters(m, g, Ng, Ni, me, s); 00017 } 00018 00019 double ZMuTrackFunction::operator()(double x) const { 00020 double eff_tr_2 = efficiencyTrack * efficiencyTrack; 00021 double eff_sa_minus = efficiencyStandalone * (1. - efficiencyStandalone); 00022 return cgz_(x) * 2. * numberOfEvents * eff_tr_2 * eff_sa_minus; 00023 } 00024 */