#include <ZMuStandaloneFunction.h>
Public Member Functions | |
double | operator() (double x) const |
ZMuStandaloneFunction (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) | |
ZMuStandaloneFunction (double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa) | |
Public Attributes | |
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 | |
Convolution< ZLineShape, Gaussian > | cgz_ |
Gaussian | gau_ |
ZLineShape | zls_ |
Definition at line 10 of file ZMuStandaloneFunction.h.
function::ZMuStandaloneFunction::ZMuStandaloneFunction | ( | 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 | ||
) | [inline] |
Definition at line 13 of file ZMuStandaloneFunction.h.
References cgz_, efficiencyStandalone, efficiencyTrack, gau_, Ngamma, Nint, numberOfEvents, sigma, and zls_.
function::ZMuStandaloneFunction::ZMuStandaloneFunction | ( | double | m, |
double | g, | ||
double | Ng, | ||
double | Ni, | ||
double | me, | ||
double | s, | ||
double | N, | ||
double | eff_tr, | ||
double | eff_sa | ||
) | [inline] |
Definition at line 25 of file ZMuStandaloneFunction.h.
References cgz_, efficiencyStandalone, efficiencyTrack, gau_, Ngamma, Nint, numberOfEvents, sigma, and zls_.
: 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)), zls_(m, g, Ng, Ni), gau_(me, s), cgz_(zls_, gau_, -3*(*s), 3*(*s), 200) {}
double function::ZMuStandaloneFunction::operator() | ( | double | x | ) | const [inline] |
Definition at line 35 of file ZMuStandaloneFunction.h.
References cgz_, efficiencyStandalone, and efficiencyTrack.
{ double eff_sa_2 = *efficiencyStandalone * (*efficiencyStandalone); double eff_tr_minus = *efficiencyTrack * ( 1. - *efficiencyTrack ); return cgz_(x) * 2. * (*numberOfEvents) * eff_sa_2 * eff_tr_minus; }
const unsigned int function::ZMuStandaloneFunction::arguments = 1 [static] |
Definition at line 12 of file ZMuStandaloneFunction.h.
Convolution<ZLineShape, Gaussian> function::ZMuStandaloneFunction::cgz_ [private] |
Definition at line 45 of file ZMuStandaloneFunction.h.
Referenced by operator()(), and ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::efficiencyStandalone |
Definition at line 41 of file ZMuStandaloneFunction.h.
Referenced by operator()(), and ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::efficiencyTrack |
Definition at line 41 of file ZMuStandaloneFunction.h.
Referenced by operator()(), and ZMuStandaloneFunction().
Gaussian function::ZMuStandaloneFunction::gau_ [private] |
Definition at line 44 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::mass |
Definition at line 40 of file ZMuStandaloneFunction.h.
boost::shared_ptr<double> function::ZMuStandaloneFunction::mean |
Definition at line 40 of file ZMuStandaloneFunction.h.
boost::shared_ptr<double> function::ZMuStandaloneFunction::Ngamma |
Definition at line 40 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::Nint |
Definition at line 40 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::numberOfEvents |
Definition at line 41 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::sigma |
Definition at line 40 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().
boost::shared_ptr<double> function::ZMuStandaloneFunction::width |
Definition at line 40 of file ZMuStandaloneFunction.h.
ZLineShape function::ZMuStandaloneFunction::zls_ [private] |
Definition at line 43 of file ZMuStandaloneFunction.h.
Referenced by ZMuStandaloneFunction().