CMS 3D CMS Logo

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

function::ZMuMuScaledFunction Class Reference

#include <ZMuMuScaledFunction.h>

List of all members.

Public Member Functions

double operator() (double x) const
 ZMuMuScaledFunction (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, int bin)
 ZMuMuScaledFunction (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, int bin)
 ZMuMuScaledFunction (const ZMuMuFunction &zmm, int bin)

Public Attributes

int binScaleFactor
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

ZMuMuFunction zmm_

Detailed Description

Definition at line 8 of file ZMuMuScaledFunction.h.


Constructor & Destructor Documentation

function::ZMuMuScaledFunction::ZMuMuScaledFunction ( const ZMuMuFunction zmm,
int  bin 
) [inline]

Definition at line 11 of file ZMuMuScaledFunction.h.

References binScaleFactor, and zmm_.

                                                           : 
      binScaleFactor(bin), zmm_(zmm) {}
function::ZMuMuScaledFunction::ZMuMuScaledFunction ( 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,
int  bin 
) [inline]

Definition at line 13 of file ZMuMuScaledFunction.h.

References binScaleFactor, efficiencyStandalone, efficiencyTrack, Ngamma, Nint, numberOfEvents, sigma, and zmm_.

                                 :
       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()), 
       binScaleFactor(bin), 
       zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
function::ZMuMuScaledFunction::ZMuMuScaledFunction ( 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,
int  bin 
) [inline]

Definition at line 26 of file ZMuMuScaledFunction.h.

References binScaleFactor, efficiencyStandalone, efficiencyTrack, Ngamma, Nint, numberOfEvents, sigma, and zmm_.

                                :
      mass(m), width(g), 
      Ngamma(Ng), Nint(Ni), 
      mean(me), sigma(s), 
      numberOfEvents(N), 
      efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
      binScaleFactor(bin), 
      zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}

Member Function Documentation

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

Definition at line 39 of file ZMuMuScaledFunction.h.

References binScaleFactor, and zmm_.

                                      {
      return binScaleFactor * zmm_(x);
    }

Member Data Documentation

const unsigned int function::ZMuMuScaledFunction::arguments = 1 [static]

Definition at line 10 of file ZMuMuScaledFunction.h.

int function::ZMuMuScaledFunction::binScaleFactor

Definition at line 44 of file ZMuMuScaledFunction.h.

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

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

Definition at line 43 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 43 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 42 of file ZMuMuScaledFunction.h.

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

Definition at line 42 of file ZMuMuScaledFunction.h.

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

Definition at line 42 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 42 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 43 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 42 of file ZMuMuScaledFunction.h.

Referenced by ZMuMuScaledFunction().

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

Definition at line 42 of file ZMuMuScaledFunction.h.

ZMuMuFunction function::ZMuMuScaledFunction::zmm_ [private]

Definition at line 46 of file ZMuMuScaledFunction.h.

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