CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Private Attributes
function::ZMuMuNormalBack Class Reference

#include <ZMuMuNormalBack.h>

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.

anonymous enum
Enumerator
parameters 

Definition at line 11 of file ZMuMuNormalBack.h.

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.

13  :
14  Nbkg(Nb), lambda(l), a1(a), a2(b), x_min(rmin), x_max(rmax),
15  zmb_(Nb, l, a, b), zmbn_(l, a, b) {}
int l
Definition: vlib.h:269
boost::shared_ptr< double > Nbkg
boost::shared_ptr< double > a2
double b
Definition: hdecay.h:120
boost::shared_ptr< double > a1
double a
Definition: hdecay.h:121
boost::shared_ptr< double > lambda
function::ZMuMuNormalBack::ZMuMuNormalBack ( double  Nb,
double  l,
double  a,
double  b,
int  rmin,
int  rmax 
)
inline

Definition at line 16 of file ZMuMuNormalBack.h.

17  :
18  Nbkg(new double(Nb)), lambda(new double(l)), a1(new double(a)), a2(new double(b)), x_min(rmin), x_max(rmax),
19  zmb_(Nb, l, a, b), zmbn_(l, a, b) {}
int l
Definition: vlib.h:269
boost::shared_ptr< double > Nbkg
boost::shared_ptr< double > a2
double b
Definition: hdecay.h:120
boost::shared_ptr< double > a1
double a
Definition: hdecay.h:121
boost::shared_ptr< double > lambda

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_.

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

20  {
21  zmb_.setParameters(Nb, l, a, b);
22  zmbn_.setParameters(l, a, b);
23  }
int l
Definition: vlib.h:269
void setParameters(double Nb, double l, double a, double b)
Definition: ZMuMuBack.h:23
void setParameters(double l, double a, double b)
Definition: ZMuMuBackNorm.h:29
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

Member Data Documentation

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

Definition at line 27 of file ZMuMuNormalBack.h.

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

Definition at line 27 of file ZMuMuNormalBack.h.

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

Definition at line 27 of file ZMuMuNormalBack.h.

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

Definition at line 27 of file ZMuMuNormalBack.h.

int function::ZMuMuNormalBack::x_max

Definition at line 28 of file ZMuMuNormalBack.h.

Referenced by operator()().

int function::ZMuMuNormalBack::x_min

Definition at line 28 of file ZMuMuNormalBack.h.

Referenced by operator()().

ZMuMuBack function::ZMuMuNormalBack::zmb_
private

Definition at line 30 of file ZMuMuNormalBack.h.

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

ZMuMuBackNorm function::ZMuMuNormalBack::zmbn_
private

Definition at line 31 of file ZMuMuNormalBack.h.

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