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

#include <ZMuTrackScaledFunction.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)
 
 ZMuTrackScaledFunction (const ZMuTrackFunction &zmt, int bin)
 
 ZMuTrackScaledFunction (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)
 
 ZMuTrackScaledFunction (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

ZMuTrackFunction zmt_
 

Detailed Description

Definition at line 7 of file ZMuTrackScaledFunction.h.

Member Enumeration Documentation

anonymous enum
Enumerator
arguments 

Definition at line 9 of file ZMuTrackScaledFunction.h.

anonymous enum
Enumerator
parameters 

Definition at line 10 of file ZMuTrackScaledFunction.h.

Constructor & Destructor Documentation

function::ZMuTrackScaledFunction::ZMuTrackScaledFunction ( const ZMuTrackFunction zmt,
int  bin 
)
inline
function::ZMuTrackScaledFunction::ZMuTrackScaledFunction ( 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 ZMuTrackScaledFunction.h.

15  :
16  mass(m), width(g), Ngamma(Ng), Nint(Ni), mean(me), sigma(s),
18  zmt_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
boost::shared_ptr< double > efficiencyStandalone
boost::shared_ptr< double > width
boost::shared_ptr< double > sigma
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 > Ngamma
boost::shared_ptr< double > mass
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > Nint
boost::shared_ptr< double > mean
boost::shared_ptr< double > numberOfEvents
function::ZMuTrackScaledFunction::ZMuTrackScaledFunction ( 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 ZMuTrackScaledFunction.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  zmt_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
boost::shared_ptr< double > efficiencyStandalone
boost::shared_ptr< double > width
boost::shared_ptr< double > sigma
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 > Ngamma
boost::shared_ptr< double > mass
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > Nint
boost::shared_ptr< double > mean
boost::shared_ptr< double > numberOfEvents

Member Function Documentation

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

Definition at line 40 of file ZMuTrackScaledFunction.h.

References binScaleFactor, and zmt_.

void function::ZMuTrackScaledFunction::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 ZMuTrackScaledFunction.h.

References efficiencyStandalone, efficiencyTrack, g, visualization-live-secondInstance_cfg::m, mass, hlt_dqm_clientPB-live_cfg::me, mean, N, Ngamma, Nint, numberOfEvents, alignCSCRings::s, function::ZMuTrackFunction::setParameters(), sigma, width, and zmt_.

Referenced by function::ZMuTrackScaledNormalBack::setParameters().

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  zmt_.setParameters(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa);
39  }
boost::shared_ptr< double > efficiencyStandalone
void setParameters(double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa)
boost::shared_ptr< double > width
boost::shared_ptr< double > sigma
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 > Ngamma
boost::shared_ptr< double > mass
#define N
Definition: blowfish.cc:9
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > Nint
boost::shared_ptr< double > mean
boost::shared_ptr< double > numberOfEvents

Member Data Documentation

int function::ZMuTrackScaledFunction::binScaleFactor

Definition at line 45 of file ZMuTrackScaledFunction.h.

Referenced by operator()().

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

Definition at line 44 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 44 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 44 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

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

Definition at line 43 of file ZMuTrackScaledFunction.h.

Referenced by setParameters().

boost::shared_ptr<double> function::ZMuTrackScaledFunction::width
ZMuTrackFunction function::ZMuTrackScaledFunction::zmt_
private

Definition at line 47 of file ZMuTrackScaledFunction.h.

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