CMS 3D CMS Logo

function::ZMuMuScaledFunction Class Reference

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

List of all members.

Public Member Functions

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

00011                                                            : 
00012       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, mass, Ngamma, Nint, numberOfEvents, sigma, and zmm_.

00018                                  :
00019        mass(m.ptr()), width(g.ptr()), 
00020        Ngamma(Ng.ptr()), Nint(Ni.ptr()), 
00021        mean(me.ptr()), sigma(s.ptr()), 
00022        numberOfEvents(N.ptr()), 
00023        efficiencyTrack(eff_tr.ptr()), efficiencyStandalone(eff_sa.ptr()), 
00024        binScaleFactor(bin), 
00025        zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
    ZMuMuScaledFunction(boost::shared_ptr<double> m, boost::shared_ptr<double> g, 

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, mass, Ngamma, Nint, numberOfEvents, sigma, and zmm_.

00031                                 :
00032       mass(m), width(g), 
00033       Ngamma(Ng), Nint(Ni), 
00034       mean(me), sigma(s), 
00035       numberOfEvents(N), 
00036       efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), 
00037       binScaleFactor(bin), 
00038       zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
    double operator()(double x) const {


Member Function Documentation

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

Definition at line 39 of file ZMuMuScaledFunction.h.

References binScaleFactor, and zmm_.

00039                                       {
00040       return binScaleFactor * zmm_(x);
00041     }


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.

Referenced by ZMuMuScaledFunction().

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


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