test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Private Attributes
function::ZMuStandaloneScaledFunction Class Reference

#include <ZMuStandaloneScaledFunction.h>

Public Types

enum  { arguments = 1 }
 
enum  { parameters = 9 }
 

Public Member Functions

double operator() (double x) const
 
void setParameters (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa)
 
 ZMuStandaloneScaledFunction (const ZMuStandaloneFunction &zms, int bin)
 
 ZMuStandaloneScaledFunction (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)
 
 ZMuStandaloneScaledFunction (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, 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
 

Private Attributes

ZMuStandaloneFunction zms_
 

Detailed Description

Definition at line 7 of file ZMuStandaloneScaledFunction.h.

Member Enumeration Documentation

anonymous enum
Enumerator
arguments 

Definition at line 9 of file ZMuStandaloneScaledFunction.h.

anonymous enum

Constructor & Destructor Documentation

function::ZMuStandaloneScaledFunction::ZMuStandaloneScaledFunction ( const ZMuStandaloneFunction zms,
int  bin 
)
inline
function::ZMuStandaloneScaledFunction::ZMuStandaloneScaledFunction ( 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 13 of file ZMuStandaloneScaledFunction.h.

15  :
16  mass(m), width(g), Ngamma(Ng), Nint(Ni), mean(me), sigma(s),
18  zms_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
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
#define N
Definition: blowfish.cc:9
function::ZMuStandaloneScaledFunction::ZMuStandaloneScaledFunction ( double  m,
double  g,
double  Ng,
double  Ni,
double  me,
double  s,
double  N,
double  eff_tr,
double  eff_sa,
int  bin 
)
inline

Definition at line 19 of file ZMuStandaloneScaledFunction.h.

22  :
23  mass(new double(m)), width(new double(g)), Ngamma(new double(Ng)), Nint(new double(Ni)), mean(new double(me)), sigma(new double(s)),
24  numberOfEvents(new double(N)), efficiencyTrack(new double(eff_tr)), efficiencyStandalone(new double(eff_sa)), binScaleFactor(bin),
25  zms_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
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
#define N
Definition: blowfish.cc:9

Member Function Documentation

double function::ZMuStandaloneScaledFunction::operator() ( double  x) const
inline
void function::ZMuStandaloneScaledFunction::setParameters ( double  m,
double  g,
double  Ng,
double  Ni,
double  me,
double  s,
double  N,
double  eff_tr,
double  eff_sa 
)
inline

Definition at line 26 of file ZMuStandaloneScaledFunction.h.

References efficiencyStandalone, efficiencyTrack, g, visualization-live-secondInstance_cfg::m, mass, hlt_dqm_clientPB-live_cfg::me, mean, N, Ngamma, Nint, numberOfEvents, alignCSCRings::s, sigma, width, and zms_.

28  {
29  *mass = m;
30  *width = g;
31  *Ngamma = Ng;
32  *Nint = Ni;
33  *mean = me;
34  *sigma = s;
35  *numberOfEvents = N;
36  *efficiencyTrack = eff_tr;
37  *efficiencyStandalone = eff_sa;
38  zms_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
39  }
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
#define N
Definition: blowfish.cc:9

Member Data Documentation

int function::ZMuStandaloneScaledFunction::binScaleFactor

Definition at line 45 of file ZMuStandaloneScaledFunction.h.

Referenced by operator()().

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

Definition at line 44 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

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

Definition at line 44 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

boost::shared_ptr<double> function::ZMuStandaloneScaledFunction::mass
boost::shared_ptr<double> function::ZMuStandaloneScaledFunction::mean

Definition at line 43 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

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

Definition at line 44 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuStandaloneScaledFunction.h.

Referenced by setParameters().

boost::shared_ptr<double> function::ZMuStandaloneScaledFunction::width
ZMuStandaloneFunction function::ZMuStandaloneScaledFunction::zms_
private

Definition at line 47 of file ZMuStandaloneScaledFunction.h.

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