CMS 3D CMS Logo

Public Member Functions | Private Attributes

hitfit::Gentop_Args Class Reference

Hold on to parameters for the toy event generator. More...

#include <gentop.h>

List of all members.

Public Member Functions

double boost_sigma () const
 Return the value of boost_sigma parameter.
std::string ele_res_str () const
 Return the value of ele_res_str parameter.
 Gentop_Args (const Defaults &defs)
 Constructor, initialize an instance of Gentop_Args from an instance of Defaults object.
std::string jet_res_str () const
 Return the value of jet_res_str parameter.
std::string kt_res_str () const
 Return the value of kt_res_str parameter.
double m_boost () const
 Return the value of m_boost parameter.
double mb () const
 Return the value of mb parameter.
double mh () const
 Return the value of mh parameter.
double mt () const
 Return the value of mt parameter.
std::string muo_res_str () const
 Return the value of muon_res_str parameter.
bool muon () const
 Return the value of muon parameter.
double mw () const
 Return the value of mw parameter.
double recoil_pt_mean () const
 Return the value of recoil_pt_mean parameter.
double sigma_mb () const
 Return the value of sigma_mb parameter.
double sigma_mh () const
 Return the value of sigma_mh parameter.
double sigma_mt () const
 Return the value of sigma_mt parameter.
double sigma_mw () const
 Return the value of sigma_mw parameter.
bool smear () const
 Return the value of smear parameter.
bool smear_dir () const
 Return the value of smear_dir parameter.
double svx_tageff () const
 Return the value of svx_tageff parameter.
double t_pt_mean () const
 Return the value of t_pt_mean parameter.

Private Attributes

double _boost_sigma
std::string _ele_res_str
std::string _jet_res_str
std::string _kt_res_str
double _m_boost
double _mb
double _mh
double _mt
std::string _muo_res_str
bool _muon
double _mw
double _recoil_pt_mean
double _sigma_mb
double _sigma_mh
double _sigma_mt
double _sigma_mw
bool _smear
bool _smear_dir
double _svx_tageff
double _t_pt_mean

Detailed Description

Hold on to parameters for the toy event generator.

Definition at line 74 of file gentop.h.


Constructor & Destructor Documentation

hitfit::Gentop_Args::Gentop_Args ( const Defaults defs)

Constructor, initialize an instance of Gentop_Args from an instance of Defaults object.

Parameters:
defsThe defaults instance from which to initialize. The instance must contain the following parameters with types and names:

  • double t_pt_mean.
  • double mt.
  • double sigma_mt.
  • double mh.
  • double sigma_mh.
  • double recoil_pt_mean.
  • double boost_sigma.
  • double m_boost.
  • double mb.
  • double sigma_mb.
  • double mw.
  • double sigma_mw.
  • double svx_tageff.
  • bool smear.
  • bool smear_dir.
  • bool muon.
  • string ele_res_str.
  • string muo_res_str.
  • string jet_res_str.
  • string kt_res_str.

Definition at line 71 of file gentop.cc.

  : _t_pt_mean      (defs.get_float ("t_pt_mean")),
    _mt             (defs.get_float ("mt")),
    _sigma_mt       (defs.get_float ("sigma_mt")),
    _mh             (defs.get_float ("mh")),
    _sigma_mh       (defs.get_float ("sigma_mh")),
    _recoil_pt_mean (defs.get_float ("recoil_pt_mean")),
    _boost_sigma    (defs.get_float ("boost_sigma")),
    _m_boost        (defs.get_float ("m_boost")),
    _mb             (defs.get_float ("mb")),
    _sigma_mb       (defs.get_float ("sigma_mb")),
    _mw             (defs.get_float ("mw")),
    _sigma_mw       (defs.get_float ("sigma_mw")),
    _svx_tageff     (defs.get_float ("svx_tageff")),
    _smear          (defs.get_bool ("smear")),
    _smear_dir      (defs.get_bool ("smear_dir")),
    _muon           (defs.get_bool ("muon")),
    _ele_res_str    (defs.get_string ("ele_res_str")),
    _muo_res_str    (defs.get_string ("muo_res_str")),
    _jet_res_str    (defs.get_string ("jet_res_str")),
    _kt_res_str     (defs.get_string ("kt_res_str"))
{
}

Member Function Documentation

double hitfit::Gentop_Args::boost_sigma ( ) const

Return the value of boost_sigma parameter.

Definition at line 202 of file gentop.cc.

References _boost_sigma.

{
  return _boost_sigma;
}
std::string hitfit::Gentop_Args::ele_res_str ( ) const

Return the value of ele_res_str parameter.

Definition at line 262 of file gentop.cc.

References _ele_res_str.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _ele_res_str;
}
std::string hitfit::Gentop_Args::jet_res_str ( ) const

Return the value of jet_res_str parameter.

Definition at line 282 of file gentop.cc.

References _jet_res_str.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _jet_res_str;
}
std::string hitfit::Gentop_Args::kt_res_str ( ) const

Return the value of kt_res_str parameter.

Definition at line 292 of file gentop.cc.

References _kt_res_str.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _kt_res_str;
}
double hitfit::Gentop_Args::m_boost ( ) const

Return the value of m_boost parameter.

Definition at line 212 of file gentop.cc.

References _m_boost.

{
  return _m_boost;
}
double hitfit::Gentop_Args::mb ( ) const

Return the value of mb parameter.

Definition at line 222 of file gentop.cc.

References _mb.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _mb;
}
double hitfit::Gentop_Args::mh ( ) const

Return the value of mh parameter.

Definition at line 142 of file gentop.cc.

References _mh.

Referenced by hitfit::gentth().

{
  return _mh;
}
double hitfit::Gentop_Args::mt ( ) const

Return the value of mt parameter.

Definition at line 112 of file gentop.cc.

References _mt.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _mt;
}
std::string hitfit::Gentop_Args::muo_res_str ( ) const

Return the value of muon_res_str parameter.

Definition at line 272 of file gentop.cc.

References _muo_res_str.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _muo_res_str;
}
bool hitfit::Gentop_Args::muon ( ) const

Return the value of muon parameter.

Definition at line 182 of file gentop.cc.

References _muon.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _muon;
}
double hitfit::Gentop_Args::mw ( ) const

Return the value of mw parameter.

Definition at line 242 of file gentop.cc.

References _mw.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _mw;
}
double hitfit::Gentop_Args::recoil_pt_mean ( ) const

Return the value of recoil_pt_mean parameter.

Definition at line 192 of file gentop.cc.

References _recoil_pt_mean.

{
  return _recoil_pt_mean;
}
double hitfit::Gentop_Args::sigma_mb ( ) const

Return the value of sigma_mb parameter.

Definition at line 232 of file gentop.cc.

References _sigma_mb.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _sigma_mb;
}
double hitfit::Gentop_Args::sigma_mh ( ) const

Return the value of sigma_mh parameter.

Definition at line 152 of file gentop.cc.

References _sigma_mh.

Referenced by hitfit::gentth().

{
  return _sigma_mh;
}
double hitfit::Gentop_Args::sigma_mt ( ) const

Return the value of sigma_mt parameter.

Definition at line 122 of file gentop.cc.

References _sigma_mt.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _sigma_mt;
}
double hitfit::Gentop_Args::sigma_mw ( ) const

Return the value of sigma_mw parameter.

Definition at line 252 of file gentop.cc.

References _sigma_mw.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _sigma_mw;
}
bool hitfit::Gentop_Args::smear ( ) const

Return the value of smear parameter.

Definition at line 162 of file gentop.cc.

References _smear.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _smear;
}
bool hitfit::Gentop_Args::smear_dir ( ) const

Return the value of smear_dir parameter.

Definition at line 172 of file gentop.cc.

References _smear_dir.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _smear_dir;
}
double hitfit::Gentop_Args::svx_tageff ( ) const

Return the value of svx_tageff parameter.

Definition at line 132 of file gentop.cc.

References _svx_tageff.

{
  return _svx_tageff;
}
double hitfit::Gentop_Args::t_pt_mean ( ) const

Return the value of t_pt_mean parameter.

Definition at line 102 of file gentop.cc.

References _t_pt_mean.

Referenced by hitfit::gentop(), and hitfit::gentth().

{
  return _t_pt_mean;
}

Member Data Documentation

Width of the $z-$boost of the $t\bar{t}$ system, in GeV.

Definition at line 278 of file gentop.h.

Referenced by boost_sigma().

std::string hitfit::Gentop_Args::_ele_res_str [private]

Electron resolution information in format suitable for Vector_Resolution.

Definition at line 332 of file gentop.h.

Referenced by ele_res_str().

std::string hitfit::Gentop_Args::_jet_res_str [private]

Jet resolution information in format suitable for Vector_Resolution.

Definition at line 342 of file gentop.h.

Referenced by jet_res_str().

std::string hitfit::Gentop_Args::_kt_res_str [private]

$k_{T}$ resolution information in format suitable for Vector_Resolution.

Definition at line 348 of file gentop.h.

Referenced by kt_res_str().

Mass of the $z-$boost of the $t\bar{t}$ system, in GeV.

Definition at line 283 of file gentop.h.

Referenced by m_boost().

double hitfit::Gentop_Args::_mb [private]

Mass of the generated b quark, in GeV.

Definition at line 288 of file gentop.h.

Referenced by mb().

double hitfit::Gentop_Args::_mh [private]

Mass of the generated Higgs boson, in GeV.

Definition at line 262 of file gentop.h.

Referenced by mh().

double hitfit::Gentop_Args::_mt [private]

Mass of the generated top quark, in GeV.

Definition at line 252 of file gentop.h.

Referenced by mt().

std::string hitfit::Gentop_Args::_muo_res_str [private]

Muon resolution information in format suitable for Vector_Resolution.

Definition at line 337 of file gentop.h.

Referenced by muo_res_str().

If TRUE, decay the leptonic top quark into muon.
If FALSE, decay the leptonic top quark into electron.

Definition at line 327 of file gentop.h.

Referenced by muon().

double hitfit::Gentop_Args::_mw [private]

Mass of the generated W boson, in GeV.

Definition at line 298 of file gentop.h.

Referenced by mw().

Mean transverse momentum $p_{T}$ of the generated $t\bar{t}$ system, in GeV, drawn from an exponential distribution.

Definition at line 273 of file gentop.h.

Referenced by recoil_pt_mean().

Width of the generated b quark mass distribution, in GeV.

Definition at line 293 of file gentop.h.

Referenced by sigma_mb().

Width of the generated Higgs boson mass distribution, in GeV.

Definition at line 267 of file gentop.h.

Referenced by sigma_mh().

Width of the generated top quark mass distribution, in GeV.

Definition at line 257 of file gentop.h.

Referenced by sigma_mt().

Width of the generated W boson mass, in GeV.

Definition at line 303 of file gentop.h.

Referenced by sigma_mw().

If TRUE, smear the event.
If FALSE, don't smear the event.

Definition at line 315 of file gentop.h.

Referenced by smear().

If TRUE, smear the energy and direction of individual particles.
If FALSE, only smear the energy of individual particle.

Definition at line 321 of file gentop.h.

Referenced by smear_dir().

Assumed efficiency of SVX (Secondary Vertex) b-tagging, for most cases it is irrelevant.

Definition at line 309 of file gentop.h.

Referenced by svx_tageff().

Mean transverse momentum $p_{T}$ of the generated top quarks, in GeV, drawn from an exponential distribution.

Definition at line 247 of file gentop.h.

Referenced by t_pt_mean().