CMS 3D CMS Logo

function::ZMuTrackScaledNormalBack Class Reference

#include <ElectroWeakAnalysis/ZMuMu/interface/ZMuTrackScaledNormalBack.h>

List of all members.

Public Types

enum  { arguments = 1 }
enum  { parameters = 13 }

Public Member Functions

double operator() (double x) const
void setParameters (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa, double Nb, double l, double a, double b)
 ZMuTrackScaledNormalBack (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa, double Nb, double l, double a, double b, int bin, int rmin, int rmax)
 ZMuTrackScaledNormalBack (boost::shared_ptr< double > m, boost::shared_ptr< double > g, boost::shared_ptr< double > Ng, boost::shared_ptr< double > Ni, boost::shared_ptr< double > me, boost::shared_ptr< double > s, boost::shared_ptr< double > N, boost::shared_ptr< double > eff_tr, boost::shared_ptr< double > eff_sa, boost::shared_ptr< double > Nb, boost::shared_ptr< double > l, boost::shared_ptr< double > a, boost::shared_ptr< double > b, int bin, int rmin, int rmax)

Public Attributes

boost::shared_ptr< double > a1
boost::shared_ptr< double > a2
int binScaleFactor
boost::shared_ptr< double > efficiencyStandalone
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > lambda
boost::shared_ptr< double > mass
boost::shared_ptr< double > mean
boost::shared_ptr< double > Nbkg
boost::shared_ptr< double > Ngamma
boost::shared_ptr< double > Nint
boost::shared_ptr< double > numberOfEvents
boost::shared_ptr< double > sigma
boost::shared_ptr< double > width
int x_max
int x_min

Private Attributes

ZMuMuNormalBack zmmnb_
ZMuTrackScaledFunction zmts_


Detailed Description

Definition at line 8 of file ZMuTrackScaledNormalBack.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
arguments 

Definition at line 10 of file ZMuTrackScaledNormalBack.h.

00010 { arguments = 1}; 

anonymous enum

Enumerator:
parameters 

Definition at line 11 of file ZMuTrackScaledNormalBack.h.

00011 { parameters = 13};


Constructor & Destructor Documentation

function::ZMuTrackScaledNormalBack::ZMuTrackScaledNormalBack ( boost::shared_ptr< double >  m,
boost::shared_ptr< double >  g,
boost::shared_ptr< double >  Ng,
boost::shared_ptr< double >  Ni,
boost::shared_ptr< double >  me,
boost::shared_ptr< double >  s,
boost::shared_ptr< double >  N,
boost::shared_ptr< double >  eff_tr,
boost::shared_ptr< double >  eff_sa,
boost::shared_ptr< double >  Nb,
boost::shared_ptr< double >  l,
boost::shared_ptr< double >  a,
boost::shared_ptr< double >  b,
int  bin,
int  rmin,
int  rmax 
) [inline]

Definition at line 12 of file ZMuTrackScaledNormalBack.h.

References binScaleFactor, efficiencyStandalone, efficiencyTrack, lambda, mass, Nbkg, Ngamma, Nint, numberOfEvents, sigma, x_max, x_min, zmmnb_, and zmts_.

00016                                                          :
00017       mass(m), width(g), Ngamma(Ng), Nint(Ni), 
00018       mean(me), sigma(s), 
00019       numberOfEvents(N), efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
00020       Nbkg(Nb), lambda(l), a1(a), a2(b), 
00021       binScaleFactor(bin), x_min(rmin), x_max(rmax), 
00022       zmts_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa, bin), zmmnb_(Nb, l, a, b, rmin, rmax) {}
    ZMuTrackScaledNormalBack(double m, double g, double Ng, double Ni, 

function::ZMuTrackScaledNormalBack::ZMuTrackScaledNormalBack ( double  m,
double  g,
double  Ng,
double  Ni,
double  me,
double  s,
double  N,
double  eff_tr,
double  eff_sa,
double  Nb,
double  l,
double  a,
double  b,
int  bin,
int  rmin,
int  rmax 
) [inline]

Definition at line 23 of file ZMuTrackScaledNormalBack.h.

References binScaleFactor, efficiencyStandalone, efficiencyTrack, lambda, mass, Nbkg, Ngamma, Nint, numberOfEvents, sigma, x_max, x_min, zmmnb_, and zmts_.

00027                                                          : 
00028       mass(new double(m)), width(new double(g)), Ngamma(new double(Ng)), Nint(new double(Ni)), 
00029       mean(new double(me)), sigma(new double(s)), 
00030       numberOfEvents(new double(N)), efficiencyTrack(new double(eff_tr)), efficiencyStandalone(new double(eff_sa)), 
00031       Nbkg(new double(Nb)), lambda(new double(l)), a1(new double(a)), a2(new double(b)), 
00032       binScaleFactor(bin), x_min(rmin), x_max(rmax), 
00033       zmts_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa, bin), zmmnb_(Nb, l, a, b, rmin, rmax) {}


Member Function Documentation

double function::ZMuTrackScaledNormalBack::operator() ( double  x  )  const [inline]

Definition at line 41 of file ZMuTrackScaledNormalBack.h.

References zmmnb_, and zmts_.

00041                                       { 
00042       return zmts_(x) + zmmnb_(x);
00043     }

void function::ZMuTrackScaledNormalBack::setParameters ( double  m,
double  g,
double  Ng,
double  Ni,
double  me,
double  s,
double  N,
double  eff_tr,
double  eff_sa,
double  Nb,
double  l,
double  a,
double  b 
) [inline]

Definition at line 34 of file ZMuTrackScaledNormalBack.h.

References function::ZMuMuNormalBack::setParameters(), setParameters(), function::ZMuTrackScaledFunction::setParameters(), zmmnb_, and zmts_.

Referenced by setParameters().

00037                                                                 { 
00038       zmts_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
00039       zmmnb_.setParameters(Nb, l, a, b);
00040     } 


Member Data Documentation

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::a1

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::a2

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

int function::ZMuTrackScaledNormalBack::binScaleFactor

Definition at line 47 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::efficiencyStandalone

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::efficiencyTrack

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::lambda

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::mass

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::mean

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::Nbkg

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::Ngamma

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::Nint

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::numberOfEvents

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::sigma

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::width

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

int function::ZMuTrackScaledNormalBack::x_max

Definition at line 47 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

int function::ZMuTrackScaledNormalBack::x_min

Definition at line 47 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

ZMuMuNormalBack function::ZMuTrackScaledNormalBack::zmmnb_ [private]

Definition at line 50 of file ZMuTrackScaledNormalBack.h.

Referenced by operator()(), setParameters(), and ZMuTrackScaledNormalBack().

ZMuTrackScaledFunction function::ZMuTrackScaledNormalBack::zmts_ [private]

Definition at line 49 of file ZMuTrackScaledNormalBack.h.

Referenced by operator()(), setParameters(), and ZMuTrackScaledNormalBack().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:47:04 2009 for CMSSW by  doxygen 1.5.4