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::ZMuMuScaledFunction Class Reference

#include <ZMuMuScaledFunction.h>

Public Member Functions

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

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.

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.

18  :
19  mass(m.ptr()), width(g.ptr()),
20  Ngamma(Ng.ptr()), Nint(Ni.ptr()),
21  mean(me.ptr()), sigma(s.ptr()),
22  numberOfEvents(N.ptr()),
23  efficiencyTrack(eff_tr.ptr()), efficiencyStandalone(eff_sa.ptr()),
25  zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > mass
boost::shared_ptr< double > efficiencyStandalone
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 > Nint
boost::shared_ptr< double > numberOfEvents
boost::shared_ptr< double > mean
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > width
boost::shared_ptr< double > sigma
boost::shared_ptr< double > Ngamma
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.

31  :
32  mass(m), width(g),
33  Ngamma(Ng), Nint(Ni),
34  mean(me), sigma(s),
35  numberOfEvents(N),
36  efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa),
38  zmm_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > mass
boost::shared_ptr< double > efficiencyStandalone
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 > Nint
boost::shared_ptr< double > numberOfEvents
boost::shared_ptr< double > mean
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > width
boost::shared_ptr< double > sigma
boost::shared_ptr< double > Ngamma

Member Function Documentation

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

Definition at line 39 of file ZMuMuScaledFunction.h.

References binScaleFactor, and zmm_.

39  {
40  return binScaleFactor * zmm_(x);
41  }
Definition: DDAxes.h:10

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

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

Definition at line 43 of file ZMuMuScaledFunction.h.

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

Definition at line 43 of file ZMuMuScaledFunction.h.

boost::shared_ptr<double> function::ZMuMuScaledFunction::mass
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.

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

Definition at line 42 of file ZMuMuScaledFunction.h.

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

Definition at line 43 of file ZMuMuScaledFunction.h.

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

Definition at line 42 of file ZMuMuScaledFunction.h.

boost::shared_ptr<double> function::ZMuMuScaledFunction::width
ZMuMuFunction function::ZMuMuScaledFunction::zmm_
private

Definition at line 46 of file ZMuMuScaledFunction.h.

Referenced by operator()().