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::ZMuTrackScaledNormalBack Class Reference

#include <ZMuTrackScaledNormalBack.h>

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.

anonymous enum
Enumerator
parameters 

Definition at line 11 of file ZMuTrackScaledNormalBack.h.

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.

16  :
17  mass(m), width(g), Ngamma(Ng), Nint(Ni),
18  mean(me), sigma(s),
20  Nbkg(Nb), lambda(l), a1(a), a2(b),
21  binScaleFactor(bin), x_min(rmin), x_max(rmax),
22  zmts_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa, bin), zmmnb_(Nb, l, a, b, rmin, rmax) {}
boost::shared_ptr< double > numberOfEvents
int l
Definition: vlib.h:268
boost::shared_ptr< double > efficiencyStandalone
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
#define N
Definition: blowfish.cc:9
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
boost::shared_ptr< double > efficiencyTrack
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.

27  :
28  mass(new double(m)), width(new double(g)), Ngamma(new double(Ng)), Nint(new double(Ni)),
29  mean(new double(me)), sigma(new double(s)),
30  numberOfEvents(new double(N)), efficiencyTrack(new double(eff_tr)), efficiencyStandalone(new double(eff_sa)),
31  Nbkg(new double(Nb)), lambda(new double(l)), a1(new double(a)), a2(new double(b)),
32  binScaleFactor(bin), x_min(rmin), x_max(rmax),
33  zmts_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa, bin), zmmnb_(Nb, l, a, b, rmin, rmax) {}
boost::shared_ptr< double > numberOfEvents
int l
Definition: vlib.h:268
boost::shared_ptr< double > efficiencyStandalone
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
#define N
Definition: blowfish.cc:9
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
boost::shared_ptr< double > efficiencyTrack

Member Function Documentation

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

Definition at line 41 of file ZMuTrackScaledNormalBack.h.

References zmmnb_, and zmts_.

41  {
42  return zmts_(x) + zmmnb_(x);
43  }
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(), function::ZMuTrackScaledFunction::setParameters(), zmmnb_, and zmts_.

37  {
38  zmts_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
39  zmmnb_.setParameters(Nb, l, a, b);
40  }
int l
Definition: vlib.h:268
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
void setParameters(double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa)
#define N
Definition: blowfish.cc:9
void setParameters(double Nb, double l, double a, double b)
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121

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.

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

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 46 of file ZMuTrackScaledNormalBack.h.

boost::shared_ptr<double> function::ZMuTrackScaledNormalBack::mass
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.

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

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 45 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 44 of file ZMuTrackScaledNormalBack.h.

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

Definition at line 47 of file ZMuTrackScaledNormalBack.h.

int function::ZMuTrackScaledNormalBack::x_min

Definition at line 47 of file ZMuTrackScaledNormalBack.h.

ZMuMuNormalBack function::ZMuTrackScaledNormalBack::zmmnb_
private

Definition at line 50 of file ZMuTrackScaledNormalBack.h.

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

ZMuTrackScaledFunction function::ZMuTrackScaledNormalBack::zmts_
private

Definition at line 49 of file ZMuTrackScaledNormalBack.h.

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