CMS 3D CMS Logo

ZMuMuBack.cc
Go to the documentation of this file.
1 /*
2 #include "ElectroWeakAnalysis/ZMuMu/interface/ZMuMuBack.h"
3 
4 void ZMuMuBack::setParameters(double Nb, double l, double a, double b) {
5  *Nbkg = Nb;
6  *lambda = l;
7  *a1 = a;
8  *a2 = b;
9  expo_.setParameters(-l);
10  poly_.setParameters(1., a, b);
11 }
12 
13 double ZMuMuBack::operator()(double x) const {
14  return *Nbkg * expo_(x) * poly_(x);
15 }
16 */