CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZMuMuScaledFunction.cc
Go to the documentation of this file.
1 /*
2 #include "ElectroWeakAnalysis/ZMuMu/interface/ZMuMuScaledFunction.h"
3 
4 ZMuMuScaledFunction::ZMuMuScaledFunction(const ZMuMuFunction & ZMM, int bin):
5  ZMM_(ZMM), bin_(bin) {
6 }
7 
8 ZMuMuScaledFunction::ZMuMuScaledFunction(double m, double g, double Ng, double Ni,
9  double me, double s,
10  double N, double eff_tr, double eff_sa, int bin):
11  ZMM_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa), bin_(bin) {
12 }
13 
14 void ZMuMuScaledFunction::setParameters(double m, double g, double Ng, double Ni,
15  double me, double s,
16  double N, double eff_tr, double eff_sa) {
17  ZMM_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
18 }
19 
20 
21 double ZMuMuScaledFunction::operator()(double x) const {
22  return bin_ * ZMM_(x);
23 }
24 */