Main Page
Namespaces
Classes
Package Documentation
src
ElectroWeakAnalysis
ZMuMu
src
ZMuMuFunction.cc
Go to the documentation of this file.
1
/*
2
#include "ElectroWeakAnalysis/ZMuMu/interface/ZMuMuFunction.h"
3
4
void ZMuMuFunction::setParameters(double m, double g, double Ng, double Ni,
5
double me, double s,
6
double N, double eff_tr, double eff_sa) {
7
mass = m;
8
width = g;
9
Ngamma = Ng;
10
Nint = Ni;
11
mean = me;
12
sigma = s;
13
numberOfEvents = N;
14
efficiencyTrack = eff_tr;
15
efficiencyStandalone = eff_sa;
16
cgz_.setParameters(m, g, Ng, Ni, me, s);
17
}
18
19
double ZMuMuFunction::operator()(double x) const {
20
double eff_tr_2 = efficiencyTrack * efficiencyTrack;
21
double eff_sa_2 = efficiencyStandalone * efficiencyStandalone;
22
return cgz_(x) * numberOfEvents * eff_tr_2 * eff_sa_2;
23
}
24
*/
Generated for CMSSW Reference Manual by
1.8.11