CMS 3D CMS Logo

function::ZMuMuFunction Class Reference

#include <ElectroWeakAnalysis/ZMuMu/interface/ZMuMuFunction.h>

List of all members.

Public Member Functions

double operator() (double x) const
 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)
 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)

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, sigma, and zls_.

00016                                                                                           :
00017       mass(m.ptr()), width(g.ptr()), 
00018       Ngamma(Ng.ptr()), Nint(Ni.ptr()), 
00019       mean(me.ptr()), sigma(s.ptr()), 
00020       numberOfEvents(N.ptr()), 
00021       efficiencyTrack(eff_tr.ptr()), efficiencyStandalone(eff_sa.ptr()), 
00022       zls_(m, g, Ng, Ni), gau_(me, s), 
00023       cgz_(zls_, gau_, -3*s.value(), 3*s.value(), 200) {}
    ZMuMuFunction(boost::shared_ptr<double> m, boost::shared_ptr<double> g, 

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, sigma, and zls_.

00028                                                                                  :
00029       mass(m), width(g), 
00030       Ngamma(Ng), Nint(Ni), 
00031       mean(me), sigma(s), 
00032       numberOfEvents(N), 
00033       efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
00034       zls_(m, g, Ng, Ni), gau_(me, s), 
00035       cgz_(zls_, gau_, -3*(*s), 3*(*s), 200) {}
    double operator()(double x) const {


Member Function Documentation

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

Definition at line 36 of file ZMuMuFunction.h.

References cgz_, efficiencyStandalone, and efficiencyTrack.

00036                                       {
00037       double eff_tr_2 = *efficiencyTrack * (*efficiencyTrack);
00038       double eff_sa_2 = *efficiencyStandalone * (*efficiencyStandalone);
00039       return cgz_(x) * (*numberOfEvents) * eff_tr_2 * eff_sa_2;
00040     }


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.

Referenced by ZMuMuFunction().

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


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:47:03 2009 for CMSSW by  doxygen 1.5.4