CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes | Private Attributes

function::ZMuTrackScaledNormalBack Class Reference

#include <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 (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)
 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)

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.

{ arguments = 1}; 
anonymous enum
Enumerator:
parameters 

Definition at line 11 of file ZMuTrackScaledNormalBack.h.

{ 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 a1, a2, binScaleFactor, efficiencyStandalone, efficiencyTrack, lambda, mass, Nbkg, Ngamma, Nint, numberOfEvents, sigma, x_max, x_min, zmmnb_, and zmts_.

                                                         :
      mass(m), width(g), Ngamma(Ng), Nint(Ni), 
      mean(me), sigma(s), 
      numberOfEvents(N), efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
      Nbkg(Nb), lambda(l), a1(a), a2(b), 
      binScaleFactor(bin), x_min(rmin), x_max(rmax), 
      zmts_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa, bin), zmmnb_(Nb, l, a, b, rmin, rmax) {}
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 a1, a2, binScaleFactor, efficiencyStandalone, efficiencyTrack, lambda, mass, Nbkg, Ngamma, Nint, numberOfEvents, sigma, x_max, x_min, zmmnb_, and zmts_.

                                                         : 
      mass(new double(m)), width(new double(g)), Ngamma(new double(Ng)), Nint(new double(Ni)), 
      mean(new double(me)), sigma(new double(s)), 
      numberOfEvents(new double(N)), efficiencyTrack(new double(eff_tr)), efficiencyStandalone(new double(eff_sa)), 
      Nbkg(new double(Nb)), lambda(new double(l)), a1(new double(a)), a2(new double(b)), 
      binScaleFactor(bin), x_min(rmin), x_max(rmax), 
      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_.

                                      { 
      return zmts_(x) + zmmnb_(x);
    }
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().

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

Member Data Documentation

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

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

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

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

Referenced by ZMuTrackScaledNormalBack().

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().