#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 (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) | |
ZMuTrackScaledFunction (const ZMuTrackFunction &zmt, 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_ |
Definition at line 7 of file ZMuTrackScaledFunction.h.
anonymous enum |
anonymous enum |
function::ZMuTrackScaledFunction::ZMuTrackScaledFunction | ( | const ZMuTrackFunction & | zmt, |
int | bin | ||
) | [inline] |
Definition at line 11 of file ZMuTrackScaledFunction.h.
References binScaleFactor, and zmt_.
: binScaleFactor(bin), zmt_(zmt) {}
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.
References binScaleFactor, efficiencyStandalone, efficiencyTrack, Ngamma, Nint, numberOfEvents, sigma, and zmt_.
: mass(m), width(g), Ngamma(Ng), Nint(Ni), mean(me), sigma(s), numberOfEvents(N), efficiencyTrack(eff_tr), efficiencyStandalone(eff_sa), binScaleFactor(bin), zmt_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
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.
References binScaleFactor, efficiencyStandalone, efficiencyTrack, Ngamma, Nint, numberOfEvents, sigma, and zmt_.
: mass(new double(m)), width(new double(g)), Ngamma(new double(Ng)), Nint(new double(Ni)), mean(new double(me)), sigma(new double(s)), numberOfEvents(new double(N)), efficiencyTrack(new double(eff_tr)), efficiencyStandalone(new double(eff_sa)), binScaleFactor(bin), zmt_(m, g, Ng, Ni, me, s, N, eff_tr, eff_sa) {}
double function::ZMuTrackScaledFunction::operator() | ( | double | x | ) | const [inline] |
Definition at line 40 of file ZMuTrackScaledFunction.h.
References binScaleFactor, and zmt_.
{ return binScaleFactor * zmt_(x); }
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, m, scaleCards::mass, timingPdfMaker::mean, N, Ngamma, Nint, numberOfEvents, alignCSCRings::s, function::ZMuTrackFunction::setParameters(), setParameters(), sigma, tablePrinter::width, and zmt_.
Referenced by function::ZMuTrackScaledNormalBack::setParameters(), and setParameters().
int function::ZMuTrackScaledFunction::binScaleFactor |
Definition at line 45 of file ZMuTrackScaledFunction.h.
Referenced by operator()(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::efficiencyStandalone |
Definition at line 44 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::efficiencyTrack |
Definition at line 44 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::mass |
Definition at line 43 of file ZMuTrackScaledFunction.h.
boost::shared_ptr<double> function::ZMuTrackScaledFunction::mean |
Definition at line 43 of file ZMuTrackScaledFunction.h.
boost::shared_ptr<double> function::ZMuTrackScaledFunction::Ngamma |
Definition at line 43 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::Nint |
Definition at line 43 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::numberOfEvents |
Definition at line 44 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::sigma |
Definition at line 43 of file ZMuTrackScaledFunction.h.
Referenced by setParameters(), and ZMuTrackScaledFunction().
boost::shared_ptr<double> function::ZMuTrackScaledFunction::width |
Definition at line 43 of file ZMuTrackScaledFunction.h.
ZMuTrackFunction function::ZMuTrackScaledFunction::zmt_ [private] |
Definition at line 47 of file ZMuTrackScaledFunction.h.
Referenced by operator()(), setParameters(), and ZMuTrackScaledFunction().