1 #ifndef ElectroWeakAnalysis_ZMuMu_ZMuTrackFunction_h 2 #define ElectroWeakAnalysis_ZMuMu_ZMuTrackFunction_h 3 #include "PhysicsTools/Utilities/interface/ConvGaussZLineShape.h" 4 #include <boost/shared_ptr.hpp> 11 ZMuTrackFunction(boost::shared_ptr<double>
m, boost::shared_ptr<double>
g, boost::shared_ptr<double> Ng, boost::shared_ptr<double> Ni,
12 boost::shared_ptr<double> me, boost::shared_ptr<double>
s,
13 boost::shared_ptr<double>
N, boost::shared_ptr<double> eff_tr, boost::shared_ptr<double> eff_sa):
16 cgz_(m, g, Ng, Ni, me, s) {}
19 double N,
double eff_tr,
double eff_sa):
22 cgz_(m, g, Ng, Ni, me, s) {}
26 return cgz_(x) * 2. * (*numberOfEvents) * eff_tr_2 * eff_sa_minus;
30 double N,
double eff_tr,
double eff_sa) {
40 cgz_.setParameters(m, g, Ng, Ni, me, s);
boost::shared_ptr< double > mean
void setParameters(double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa)
double operator()(double x) const
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
boost::shared_ptr< double > efficiencyStandalone
boost::shared_ptr< double > width
boost::shared_ptr< double > Nint
boost::shared_ptr< double > mass
boost::shared_ptr< double > numberOfEvents
ZMuTrackFunction(double m, double g, double Ng, double Ni, double me, double s, double N, double eff_tr, double eff_sa)
ZMuTrackFunction(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)
boost::shared_ptr< double > efficiencyTrack
boost::shared_ptr< double > Ngamma