test
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::ZMuStandaloneFunction Class Reference

#include <ZMuStandaloneFunction.h>

Public Member Functions

double operator() (double x) const
 
 ZMuStandaloneFunction (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)
 
 ZMuStandaloneFunction (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, 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 ZMuStandaloneFunction.h.

Constructor & Destructor Documentation

function::ZMuStandaloneFunction::ZMuStandaloneFunction ( 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 13 of file ZMuStandaloneFunction.h.

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

Definition at line 25 of file ZMuStandaloneFunction.h.

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

Member Function Documentation

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

Definition at line 35 of file ZMuStandaloneFunction.h.

References cgz_, efficiencyStandalone, and efficiencyTrack.

35  {
36  double eff_sa_2 = *efficiencyStandalone * (*efficiencyStandalone);
37  double eff_tr_minus = *efficiencyTrack * ( 1. - *efficiencyTrack );
38  return cgz_(x) * 2. * (*numberOfEvents) * eff_sa_2 * eff_tr_minus;
39  }
Convolution< ZLineShape, Gaussian > cgz_
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > efficiencyStandalone
Definition: DDAxes.h:10

Member Data Documentation

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

Definition at line 12 of file ZMuStandaloneFunction.h.

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

Definition at line 45 of file ZMuStandaloneFunction.h.

Referenced by operator()().

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

Definition at line 41 of file ZMuStandaloneFunction.h.

Referenced by operator()().

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

Definition at line 41 of file ZMuStandaloneFunction.h.

Referenced by operator()().

Gaussian function::ZMuStandaloneFunction::gau_
private

Definition at line 44 of file ZMuStandaloneFunction.h.

boost::shared_ptr<double> function::ZMuStandaloneFunction::mass

Definition at line 40 of file ZMuStandaloneFunction.h.

boost::shared_ptr<double> function::ZMuStandaloneFunction::mean

Definition at line 40 of file ZMuStandaloneFunction.h.

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

Definition at line 40 of file ZMuStandaloneFunction.h.

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

Definition at line 40 of file ZMuStandaloneFunction.h.

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

Definition at line 41 of file ZMuStandaloneFunction.h.

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

Definition at line 40 of file ZMuStandaloneFunction.h.

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

Definition at line 43 of file ZMuStandaloneFunction.h.