CMS 3D CMS Logo

ZMuTrackScaledFunction.cc

Go to the documentation of this file.
00001 /*
00002 #include "ElectroWeakAnalysis/ZMuMu/interface/ZMuTrackScaledFunction.h"
00003 
00004 ZMuTrackScaledFunction::ZMuTrackScaledFunction(const ZMuTrackFunction & ZMM, int bin):
00005   ZMM_(ZMM), bin_(bin) {
00006 }
00007 
00008 ZMuTrackScaledFunction::ZMuTrackScaledFunction(double m, double g, double Ng, double Ni, 
00009                                                double me, double s, 
00010                                                double N, double eff_tr, double eff_sa, int bin):
00011   ZMM_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa), bin_(bin) {
00012 }
00013 
00014 void ZMuTrackScaledFunction::setParameters(double m, double g, double Ng, double Ni, 
00015                                            double me, double s, 
00016                                            double N, double eff_tr, double eff_sa) { 
00017   ZMM_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
00018 }
00019 
00020 void ZMuTrackScaledFunction::setConstants(int bin) { 
00021   bin_ = bin;
00022 }
00023 
00024 double ZMuTrackScaledFunction::operator()(double x) const {
00025   return bin_ * ZMM_(x);
00026 }
00027 */
00028 

Generated on Tue Jun 9 17:34:20 2009 for CMSSW by  doxygen 1.5.4