CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
hitfit::Gentop_Args Class Reference

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

#include <gentop.h>

Public Member Functions

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

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 69 of file gentop.h.

Constructor & Destructor Documentation

◆ Gentop_Args()

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 64 of file gentop.cc.

71  : _t_pt_mean(defs.get_float("t_pt_mean")),
72  _mt(defs.get_float("mt")),
73  _sigma_mt(defs.get_float("sigma_mt")),
74  _mh(defs.get_float("mh")),
75  _sigma_mh(defs.get_float("sigma_mh")),
76  _recoil_pt_mean(defs.get_float("recoil_pt_mean")),
77  _boost_sigma(defs.get_float("boost_sigma")),
78  _m_boost(defs.get_float("m_boost")),
79  _mb(defs.get_float("mb")),
80  _sigma_mb(defs.get_float("sigma_mb")),
81  _mw(defs.get_float("mw")),
82  _sigma_mw(defs.get_float("sigma_mw")),
83  _svx_tageff(defs.get_float("svx_tageff")),
84  _smear(defs.get_bool("smear")),
85  _smear_dir(defs.get_bool("smear_dir")),
86  _muon(defs.get_bool("muon")),
87  _ele_res_str(defs.get_string("ele_res_str")),
88  _muo_res_str(defs.get_string("muo_res_str")),
89  _jet_res_str(defs.get_string("jet_res_str")),
90  _kt_res_str(defs.get_string("kt_res_str")) {}
std::string _jet_res_str
Definition: gentop.h:337
double _sigma_mt
Definition: gentop.h:252
double _t_pt_mean
Definition: gentop.h:242
double _sigma_mh
Definition: gentop.h:262
double _svx_tageff
Definition: gentop.h:304
std::string _kt_res_str
Definition: gentop.h:343
double _sigma_mb
Definition: gentop.h:288
double _recoil_pt_mean
Definition: gentop.h:268
std::string _ele_res_str
Definition: gentop.h:327
double _sigma_mw
Definition: gentop.h:298
std::string _muo_res_str
Definition: gentop.h:332
double _boost_sigma
Definition: gentop.h:273

Member Function Documentation

◆ boost_sigma()

double hitfit::Gentop_Args::boost_sigma ( ) const

Return the value of boost_sigma parameter.

Definition at line 182 of file gentop.cc.

References _boost_sigma.

187  {
188  return _boost_sigma;
189  }
double _boost_sigma
Definition: gentop.h:273

◆ ele_res_str()

std::string hitfit::Gentop_Args::ele_res_str ( ) const

Return the value of ele_res_str parameter.

Definition at line 236 of file gentop.cc.

References _ele_res_str.

241  {
242  return _ele_res_str;
243  }
std::string _ele_res_str
Definition: gentop.h:327

◆ jet_res_str()

std::string hitfit::Gentop_Args::jet_res_str ( ) const

Return the value of jet_res_str parameter.

Definition at line 254 of file gentop.cc.

References _jet_res_str.

259  {
260  return _jet_res_str;
261  }
std::string _jet_res_str
Definition: gentop.h:337

◆ kt_res_str()

std::string hitfit::Gentop_Args::kt_res_str ( ) const

Return the value of kt_res_str parameter.

Definition at line 263 of file gentop.cc.

References _kt_res_str.

268  {
269  return _kt_res_str;
270  }
std::string _kt_res_str
Definition: gentop.h:343

◆ m_boost()

double hitfit::Gentop_Args::m_boost ( ) const

Return the value of m_boost parameter.

Definition at line 191 of file gentop.cc.

References _m_boost.

196  {
197  return _m_boost;
198  }

◆ mb()

double hitfit::Gentop_Args::mb ( ) const

Return the value of mb parameter.

Definition at line 200 of file gentop.cc.

References _mb.

205  {
206  return _mb;
207  }

◆ mh()

double hitfit::Gentop_Args::mh ( ) const

Return the value of mh parameter.

Definition at line 128 of file gentop.cc.

References _mh.

133  {
134  return _mh;
135  }

◆ mt()

double hitfit::Gentop_Args::mt ( ) const

Return the value of mt parameter.

Definition at line 101 of file gentop.cc.

References _mt.

106  {
107  return _mt;
108  }

◆ muo_res_str()

std::string hitfit::Gentop_Args::muo_res_str ( ) const

Return the value of muon_res_str parameter.

Definition at line 245 of file gentop.cc.

References _muo_res_str.

250  {
251  return _muo_res_str;
252  }
std::string _muo_res_str
Definition: gentop.h:332

◆ muon()

bool hitfit::Gentop_Args::muon ( ) const

Return the value of muon parameter.

Definition at line 164 of file gentop.cc.

References _muon.

169  {
170  return _muon;
171  }

◆ mw()

double hitfit::Gentop_Args::mw ( ) const

Return the value of mw parameter.

Definition at line 218 of file gentop.cc.

References _mw.

223  {
224  return _mw;
225  }

◆ recoil_pt_mean()

double hitfit::Gentop_Args::recoil_pt_mean ( ) const

Return the value of recoil_pt_mean parameter.

Definition at line 173 of file gentop.cc.

References _recoil_pt_mean.

178  {
179  return _recoil_pt_mean;
180  }
double _recoil_pt_mean
Definition: gentop.h:268

◆ sigma_mb()

double hitfit::Gentop_Args::sigma_mb ( ) const

Return the value of sigma_mb parameter.

Definition at line 209 of file gentop.cc.

References _sigma_mb.

214  {
215  return _sigma_mb;
216  }
double _sigma_mb
Definition: gentop.h:288

◆ sigma_mh()

double hitfit::Gentop_Args::sigma_mh ( ) const

Return the value of sigma_mh parameter.

Definition at line 137 of file gentop.cc.

References _sigma_mh.

142  {
143  return _sigma_mh;
144  }
double _sigma_mh
Definition: gentop.h:262

◆ sigma_mt()

double hitfit::Gentop_Args::sigma_mt ( ) const

Return the value of sigma_mt parameter.

Definition at line 110 of file gentop.cc.

References _sigma_mt.

115  {
116  return _sigma_mt;
117  }
double _sigma_mt
Definition: gentop.h:252

◆ sigma_mw()

double hitfit::Gentop_Args::sigma_mw ( ) const

Return the value of sigma_mw parameter.

Definition at line 227 of file gentop.cc.

References _sigma_mw.

232  {
233  return _sigma_mw;
234  }
double _sigma_mw
Definition: gentop.h:298

◆ smear()

bool hitfit::Gentop_Args::smear ( ) const

Return the value of smear parameter.

Definition at line 146 of file gentop.cc.

References _smear.

151  {
152  return _smear;
153  }

◆ smear_dir()

bool hitfit::Gentop_Args::smear_dir ( ) const

Return the value of smear_dir parameter.

Definition at line 155 of file gentop.cc.

References _smear_dir.

160  {
161  return _smear_dir;
162  }

◆ svx_tageff()

double hitfit::Gentop_Args::svx_tageff ( ) const

Return the value of svx_tageff parameter.

Definition at line 119 of file gentop.cc.

References _svx_tageff.

124  {
125  return _svx_tageff;
126  }
double _svx_tageff
Definition: gentop.h:304

◆ t_pt_mean()

double hitfit::Gentop_Args::t_pt_mean ( ) const

Return the value of t_pt_mean parameter.

Definition at line 92 of file gentop.cc.

References _t_pt_mean.

97  {
98  return _t_pt_mean;
99  }
double _t_pt_mean
Definition: gentop.h:242

Member Data Documentation

◆ _boost_sigma

double hitfit::Gentop_Args::_boost_sigma
private

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

Definition at line 273 of file gentop.h.

Referenced by boost_sigma().

◆ _ele_res_str

std::string hitfit::Gentop_Args::_ele_res_str
private

Electron resolution information in format suitable for Vector_Resolution.

Definition at line 327 of file gentop.h.

Referenced by ele_res_str().

◆ _jet_res_str

std::string hitfit::Gentop_Args::_jet_res_str
private

Jet resolution information in format suitable for Vector_Resolution.

Definition at line 337 of file gentop.h.

Referenced by jet_res_str().

◆ _kt_res_str

std::string hitfit::Gentop_Args::_kt_res_str
private

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

Definition at line 343 of file gentop.h.

Referenced by kt_res_str().

◆ _m_boost

double hitfit::Gentop_Args::_m_boost
private

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

Definition at line 278 of file gentop.h.

Referenced by m_boost().

◆ _mb

double hitfit::Gentop_Args::_mb
private

Mass of the generated b quark, in GeV.

Definition at line 283 of file gentop.h.

Referenced by mb().

◆ _mh

double hitfit::Gentop_Args::_mh
private

Mass of the generated Higgs boson, in GeV.

Definition at line 257 of file gentop.h.

Referenced by mh().

◆ _mt

double hitfit::Gentop_Args::_mt
private

Mass of the generated top quark, in GeV.

Definition at line 247 of file gentop.h.

Referenced by mt().

◆ _muo_res_str

std::string hitfit::Gentop_Args::_muo_res_str
private

Muon resolution information in format suitable for Vector_Resolution.

Definition at line 332 of file gentop.h.

Referenced by muo_res_str().

◆ _muon

bool hitfit::Gentop_Args::_muon
private

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

Definition at line 322 of file gentop.h.

Referenced by muon().

◆ _mw

double hitfit::Gentop_Args::_mw
private

Mass of the generated W boson, in GeV.

Definition at line 293 of file gentop.h.

Referenced by mw().

◆ _recoil_pt_mean

double hitfit::Gentop_Args::_recoil_pt_mean
private

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

Definition at line 268 of file gentop.h.

Referenced by recoil_pt_mean().

◆ _sigma_mb

double hitfit::Gentop_Args::_sigma_mb
private

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

Definition at line 288 of file gentop.h.

Referenced by sigma_mb().

◆ _sigma_mh

double hitfit::Gentop_Args::_sigma_mh
private

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

Definition at line 262 of file gentop.h.

Referenced by sigma_mh().

◆ _sigma_mt

double hitfit::Gentop_Args::_sigma_mt
private

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

Definition at line 252 of file gentop.h.

Referenced by sigma_mt().

◆ _sigma_mw

double hitfit::Gentop_Args::_sigma_mw
private

Width of the generated W boson mass, in GeV.

Definition at line 298 of file gentop.h.

Referenced by sigma_mw().

◆ _smear

bool hitfit::Gentop_Args::_smear
private

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

Definition at line 310 of file gentop.h.

Referenced by smear().

◆ _smear_dir

bool hitfit::Gentop_Args::_smear_dir
private

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

Definition at line 316 of file gentop.h.

Referenced by smear_dir().

◆ _svx_tageff

double hitfit::Gentop_Args::_svx_tageff
private

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

Definition at line 304 of file gentop.h.

Referenced by svx_tageff().

◆ _t_pt_mean

double hitfit::Gentop_Args::_t_pt_mean
private

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

Definition at line 242 of file gentop.h.

Referenced by t_pt_mean().