CMS 3D CMS Logo

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

function::ZMuMuNormalBack Class Reference

#include <ZMuMuNormalBack.h>

List of all members.

Public Types

enum  { arguments = 1 }
enum  { parameters = 4 }

Public Member Functions

double operator() (double x) const
void setParameters (double Nb, double l, double a, double b)
 ZMuMuNormalBack (boost::shared_ptr< double > Nb, boost::shared_ptr< double > l, boost::shared_ptr< double > a, boost::shared_ptr< double > b, int rmin, int rmax)
 ZMuMuNormalBack (double Nb, double l, double a, double b, int rmin, int rmax)

Public Attributes

boost::shared_ptr< double > a1
boost::shared_ptr< double > a2
boost::shared_ptr< double > lambda
boost::shared_ptr< double > Nbkg
int x_max
int x_min

Private Attributes

ZMuMuBack zmb_
ZMuMuBackNorm zmbn_

Detailed Description

Definition at line 8 of file ZMuMuNormalBack.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
arguments 

Definition at line 10 of file ZMuMuNormalBack.h.

{ arguments = 1}; 
anonymous enum
Enumerator:
parameters 

Definition at line 11 of file ZMuMuNormalBack.h.

{ parameters = 4};

Constructor & Destructor Documentation

function::ZMuMuNormalBack::ZMuMuNormalBack ( boost::shared_ptr< double >  Nb,
boost::shared_ptr< double >  l,
boost::shared_ptr< double >  a,
boost::shared_ptr< double >  b,
int  rmin,
int  rmax 
) [inline]

Definition at line 12 of file ZMuMuNormalBack.h.

References a1, a2, lambda, Nbkg, x_max, x_min, zmb_, and zmbn_.

                                       : 
      Nbkg(Nb), lambda(l), a1(a), a2(b), x_min(rmin), x_max(rmax), 
      zmb_(Nb, l, a, b), zmbn_(l, a, b) {}
function::ZMuMuNormalBack::ZMuMuNormalBack ( double  Nb,
double  l,
double  a,
double  b,
int  rmin,
int  rmax 
) [inline]

Definition at line 16 of file ZMuMuNormalBack.h.

References a1, a2, lambda, Nbkg, x_max, x_min, zmb_, and zmbn_.

                                       :
      Nbkg(new double(Nb)), lambda(new double(l)), a1(new double(a)), a2(new double(b)), x_min(rmin), x_max(rmax), 
      zmb_(Nb, l, a, b), zmbn_(l, a, b) {} 

Member Function Documentation

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

Definition at line 24 of file ZMuMuNormalBack.h.

References x_max, x_min, zmb_, and zmbn_.

                                      { 
      return zmbn_(x_min, x_max) * zmb_(x);
    }
void function::ZMuMuNormalBack::setParameters ( double  Nb,
double  l,
double  a,
double  b 
) [inline]

Definition at line 20 of file ZMuMuNormalBack.h.

References function::ZMuMuBack::setParameters(), function::ZMuMuBackNorm::setParameters(), zmb_, and zmbn_.

Referenced by function::ZMuTrackScaledNormalBack::setParameters().

                                                                { 
      zmb_.setParameters(Nb, l, a, b);
      zmbn_.setParameters(l, a, b);
    } 

Member Data Documentation

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

Definition at line 27 of file ZMuMuNormalBack.h.

Referenced by ZMuMuNormalBack().

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

Definition at line 27 of file ZMuMuNormalBack.h.

Referenced by ZMuMuNormalBack().

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

Definition at line 27 of file ZMuMuNormalBack.h.

Referenced by ZMuMuNormalBack().

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

Definition at line 27 of file ZMuMuNormalBack.h.

Referenced by ZMuMuNormalBack().

int function::ZMuMuNormalBack::x_max

Definition at line 28 of file ZMuMuNormalBack.h.

Referenced by operator()(), and ZMuMuNormalBack().

int function::ZMuMuNormalBack::x_min

Definition at line 28 of file ZMuMuNormalBack.h.

Referenced by operator()(), and ZMuMuNormalBack().

ZMuMuBack function::ZMuMuNormalBack::zmb_ [private]

Definition at line 30 of file ZMuMuNormalBack.h.

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

ZMuMuBackNorm function::ZMuMuNormalBack::zmbn_ [private]

Definition at line 31 of file ZMuMuNormalBack.h.

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