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