Main Page
Namespaces
Classes
Package Documentation
ElectroWeakAnalysis
ZMuMu
src
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
*/
Generated for CMSSW Reference Manual by
1.8.11