CMS 3D CMS Logo

Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes

function::ZMuMuFunction Class Reference

#include <ZMuMuFunction.h>

List of all members.

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, Gaussian > cgz_
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.

References cgz_, efficiencyStandalone, efficiencyTrack, gau_, mass, Ngamma, Nint, numberOfEvents, and zls_.

                                                                                          :
      mass(m.ptr()), width(g.ptr()), 
      Ngamma(Ng.ptr()), Nint(Ni.ptr()), 
      mean(me.ptr()), sigma(s.ptr()), 
      numberOfEvents(N.ptr()), 
      efficiencyTrack(eff_tr.ptr()), efficiencyStandalone(eff_sa.ptr()), 
      zls_(m, g, Ng, Ni), gau_(me, s), 
      cgz_(zls_, gau_, -3*s.value(), 3*s.value(), 200) {}
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.

References cgz_, efficiencyStandalone, efficiencyTrack, gau_, mass, Ngamma, Nint, numberOfEvents, and zls_.

                                                                                 :
      mass(m), width(g), 
      Ngamma(Ng), Nint(Ni), 
      mean(me), sigma(s), 
      numberOfEvents(N), 
      efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
      zls_(m, g, Ng, Ni), gau_(me, s), 
      cgz_(zls_, gau_, -3*(*s), 3*(*s), 200) {}

Member Function Documentation

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

Definition at line 36 of file ZMuMuFunction.h.

References cgz_, efficiencyStandalone, and efficiencyTrack.

                                      {
      double eff_tr_2 = *efficiencyTrack * (*efficiencyTrack);
      double eff_sa_2 = *efficiencyStandalone * (*efficiencyStandalone);
      return cgz_(x) * (*numberOfEvents) * eff_tr_2 * eff_sa_2;
    }

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()(), and ZMuMuFunction().

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

Definition at line 42 of file ZMuMuFunction.h.

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

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

Definition at line 42 of file ZMuMuFunction.h.

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

Gaussian function::ZMuMuFunction::gau_ [private]

Definition at line 45 of file ZMuMuFunction.h.

Referenced by ZMuMuFunction().

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

Definition at line 41 of file ZMuMuFunction.h.

Referenced by ZMuMuFunction().

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.

Referenced by ZMuMuFunction().

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

Definition at line 41 of file ZMuMuFunction.h.

Referenced by ZMuMuFunction().

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

Definition at line 42 of file ZMuMuFunction.h.

Referenced by ZMuMuFunction().

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

Definition at line 41 of file ZMuMuFunction.h.

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

Definition at line 41 of file ZMuMuFunction.h.

ZLineShape function::ZMuMuFunction::zls_ [private]

Definition at line 44 of file ZMuMuFunction.h.

Referenced by ZMuMuFunction().