test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
ElectroWeakAnalysis
ZMuMu
src
ZMuTrackScaledFunction.cc
Go to the documentation of this file.
1
/*
2
#include "ElectroWeakAnalysis/ZMuMu/interface/ZMuTrackScaledFunction.h"
3
4
ZMuTrackScaledFunction::ZMuTrackScaledFunction(const ZMuTrackFunction & ZMM, int bin):
5
ZMM_(ZMM), bin_(bin) {
6
}
7
8
ZMuTrackScaledFunction::ZMuTrackScaledFunction(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 ZMuTrackScaledFunction::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
void ZMuTrackScaledFunction::setConstants(int bin) {
21
bin_ = bin;
22
}
23
24
double ZMuTrackScaledFunction::operator()(double x) const {
25
return bin_ * ZMM_(x);
26
}
27
*/
28
Generated for CMSSW Reference Manual by
1.8.5