CMS 3D CMS Logo

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

#include <ZMuMuFunction.h>

Public Member Functions

double operator() (double x) const
 
 ZMuMuFunction (const Parameter &m, const Parameter &g, const Parameter &Ng, const Parameter &Ni, const Parameter &me, const Parameter &s, const Parameter &N, const Parameter &eff_tr, const Parameter &eff_sa)
 
 ZMuMuFunction (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)
 

Public Attributes

boost::shared_ptr< double > efficiencyStandalone
 
boost::shared_ptr< double > efficiencyTrack
 
boost::shared_ptr< double > mass
 
boost::shared_ptr< double > mean
 
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
 

Static Public Attributes

static const unsigned int arguments = 1
 

Private Attributes

Convolution< ZLineShape, Gaussiancgz_
 
Gaussian gau_
 
ZLineShape zls_
 

Detailed Description

Definition at line 10 of file ZMuMuFunction.h.

Constructor & Destructor Documentation

function::ZMuMuFunction::ZMuMuFunction ( const Parameter &  m,
const Parameter &  g,
const Parameter &  Ng,
const Parameter &  Ni,
const Parameter &  me,
const Parameter &  s,
const Parameter &  N,
const Parameter &  eff_tr,
const Parameter &  eff_sa 
)
inline

Definition at line 13 of file ZMuMuFunction.h.

16  :
17  mass(m.ptr()), width(g.ptr()),
18  Ngamma(Ng.ptr()), Nint(Ni.ptr()),
19  mean(me.ptr()), sigma(s.ptr()),
20  numberOfEvents(N.ptr()),
21  efficiencyTrack(eff_tr.ptr()), efficiencyStandalone(eff_sa.ptr()),
22  zls_(m, g, Ng, Ni), gau_(me, s),
23  cgz_(zls_, gau_, -3*s.value(), 3*s.value(), 200) {}
boost::shared_ptr< double > Ngamma
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > sigma
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > Nint
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > mass
Definition: ZMuMuFunction.h:41
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
boost::shared_ptr< double > width
Definition: ZMuMuFunction.h:41
Convolution< ZLineShape, Gaussian > cgz_
Definition: ZMuMuFunction.h:46
boost::shared_ptr< double > mean
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > efficiencyStandalone
Definition: ZMuMuFunction.h:42
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > numberOfEvents
Definition: ZMuMuFunction.h:42
boost::shared_ptr< double > efficiencyTrack
Definition: ZMuMuFunction.h:42
function::ZMuMuFunction::ZMuMuFunction ( 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 
)
inline

Definition at line 24 of file ZMuMuFunction.h.

28  :
29  mass(m), width(g),
30  Ngamma(Ng), Nint(Ni),
31  mean(me), sigma(s),
32  numberOfEvents(N),
33  efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa),
34  zls_(m, g, Ng, Ni), gau_(me, s),
35  cgz_(zls_, gau_, -3*(*s), 3*(*s), 200) {}
boost::shared_ptr< double > Ngamma
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > sigma
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > Nint
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > mass
Definition: ZMuMuFunction.h:41
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
boost::shared_ptr< double > width
Definition: ZMuMuFunction.h:41
Convolution< ZLineShape, Gaussian > cgz_
Definition: ZMuMuFunction.h:46
boost::shared_ptr< double > mean
Definition: ZMuMuFunction.h:41
boost::shared_ptr< double > efficiencyStandalone
Definition: ZMuMuFunction.h:42
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > numberOfEvents
Definition: ZMuMuFunction.h:42
boost::shared_ptr< double > efficiencyTrack
Definition: ZMuMuFunction.h:42

Member Function Documentation

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

Definition at line 36 of file ZMuMuFunction.h.

References cgz_, efficiencyStandalone, and efficiencyTrack.

36  {
37  double eff_tr_2 = *efficiencyTrack * (*efficiencyTrack);
38  double eff_sa_2 = *efficiencyStandalone * (*efficiencyStandalone);
39  return cgz_(x) * (*numberOfEvents) * eff_tr_2 * eff_sa_2;
40  }
Convolution< ZLineShape, Gaussian > cgz_
Definition: ZMuMuFunction.h:46
boost::shared_ptr< double > efficiencyStandalone
Definition: ZMuMuFunction.h:42
boost::shared_ptr< double > efficiencyTrack
Definition: ZMuMuFunction.h:42

Member Data Documentation

const unsigned int function::ZMuMuFunction::arguments = 1
static

Definition at line 12 of file ZMuMuFunction.h.

Convolution<ZLineShape, Gaussian> function::ZMuMuFunction::cgz_
private

Definition at line 46 of file ZMuMuFunction.h.

Referenced by operator()().

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

Definition at line 42 of file ZMuMuFunction.h.

Referenced by operator()().

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

Definition at line 42 of file ZMuMuFunction.h.

Referenced by operator()().

Gaussian function::ZMuMuFunction::gau_
private

Definition at line 45 of file ZMuMuFunction.h.

boost::shared_ptr<double> function::ZMuMuFunction::mass
boost::shared_ptr<double> function::ZMuMuFunction::mean

Definition at line 41 of file ZMuMuFunction.h.

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

Definition at line 41 of file ZMuMuFunction.h.

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

Definition at line 41 of file ZMuMuFunction.h.

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

Definition at line 42 of file ZMuMuFunction.h.

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

Definition at line 41 of file ZMuMuFunction.h.

boost::shared_ptr<double> function::ZMuMuFunction::width
ZLineShape function::ZMuMuFunction::zls_
private

Definition at line 44 of file ZMuMuFunction.h.