test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 73 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 70 of file gentop.cc.

77  : _t_pt_mean (defs.get_float ("t_pt_mean")),
78  _mt (defs.get_float ("mt")),
79  _sigma_mt (defs.get_float ("sigma_mt")),
80  _mh (defs.get_float ("mh")),
81  _sigma_mh (defs.get_float ("sigma_mh")),
82  _recoil_pt_mean (defs.get_float ("recoil_pt_mean")),
83  _boost_sigma (defs.get_float ("boost_sigma")),
84  _m_boost (defs.get_float ("m_boost")),
85  _mb (defs.get_float ("mb")),
86  _sigma_mb (defs.get_float ("sigma_mb")),
87  _mw (defs.get_float ("mw")),
88  _sigma_mw (defs.get_float ("sigma_mw")),
89  _svx_tageff (defs.get_float ("svx_tageff")),
90  _smear (defs.get_bool ("smear")),
91  _smear_dir (defs.get_bool ("smear_dir")),
92  _muon (defs.get_bool ("muon")),
93  _ele_res_str (defs.get_string ("ele_res_str")),
94  _muo_res_str (defs.get_string ("muo_res_str")),
95  _jet_res_str (defs.get_string ("jet_res_str")),
96  _kt_res_str (defs.get_string ("kt_res_str"))
97 {
98 }
std::string _jet_res_str
Definition: gentop.h:341
double _sigma_mt
Definition: gentop.h:256
double _t_pt_mean
Definition: gentop.h:246
double _sigma_mh
Definition: gentop.h:266
double _svx_tageff
Definition: gentop.h:308
std::string _kt_res_str
Definition: gentop.h:347
double _sigma_mb
Definition: gentop.h:292
double _recoil_pt_mean
Definition: gentop.h:272
std::string _ele_res_str
Definition: gentop.h:331
double _sigma_mw
Definition: gentop.h:302
std::string _muo_res_str
Definition: gentop.h:336
double _boost_sigma
Definition: gentop.h:277

Member Function Documentation

double hitfit::Gentop_Args::boost_sigma ( ) const

Return the value of boost_sigma parameter.

Definition at line 201 of file gentop.cc.

References _boost_sigma.

206 {
207  return _boost_sigma;
208 }
double _boost_sigma
Definition: gentop.h:277
std::string hitfit::Gentop_Args::ele_res_str ( ) const

Return the value of ele_res_str parameter.

Definition at line 261 of file gentop.cc.

References _ele_res_str.

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

266 {
267  return _ele_res_str;
268 }
std::string _ele_res_str
Definition: gentop.h:331
std::string hitfit::Gentop_Args::jet_res_str ( ) const

Return the value of jet_res_str parameter.

Definition at line 281 of file gentop.cc.

References _jet_res_str.

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

286 {
287  return _jet_res_str;
288 }
std::string _jet_res_str
Definition: gentop.h:341
std::string hitfit::Gentop_Args::kt_res_str ( ) const

Return the value of kt_res_str parameter.

Definition at line 291 of file gentop.cc.

References _kt_res_str.

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

296 {
297  return _kt_res_str;
298 }
std::string _kt_res_str
Definition: gentop.h:347
double hitfit::Gentop_Args::m_boost ( ) const

Return the value of m_boost parameter.

Definition at line 211 of file gentop.cc.

References _m_boost.

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

Return the value of mb parameter.

Definition at line 221 of file gentop.cc.

References _mb.

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

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

Return the value of mh parameter.

Definition at line 141 of file gentop.cc.

References _mh.

Referenced by hitfit::gentth().

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

Return the value of mt parameter.

Definition at line 111 of file gentop.cc.

References _mt.

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

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

Return the value of muon_res_str parameter.

Definition at line 271 of file gentop.cc.

References _muo_res_str.

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

276 {
277  return _muo_res_str;
278 }
std::string _muo_res_str
Definition: gentop.h:336
bool hitfit::Gentop_Args::muon ( ) const

Return the value of muon parameter.

Definition at line 181 of file gentop.cc.

References _muon.

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

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

Return the value of mw parameter.

Definition at line 241 of file gentop.cc.

References _mw.

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

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

Return the value of recoil_pt_mean parameter.

Definition at line 191 of file gentop.cc.

References _recoil_pt_mean.

196 {
197  return _recoil_pt_mean;
198 }
double _recoil_pt_mean
Definition: gentop.h:272
double hitfit::Gentop_Args::sigma_mb ( ) const

Return the value of sigma_mb parameter.

Definition at line 231 of file gentop.cc.

References _sigma_mb.

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

236 {
237  return _sigma_mb;
238 }
double _sigma_mb
Definition: gentop.h:292
double hitfit::Gentop_Args::sigma_mh ( ) const

Return the value of sigma_mh parameter.

Definition at line 151 of file gentop.cc.

References _sigma_mh.

Referenced by hitfit::gentth().

156 {
157  return _sigma_mh;
158 }
double _sigma_mh
Definition: gentop.h:266
double hitfit::Gentop_Args::sigma_mt ( ) const

Return the value of sigma_mt parameter.

Definition at line 121 of file gentop.cc.

References _sigma_mt.

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

126 {
127  return _sigma_mt;
128 }
double _sigma_mt
Definition: gentop.h:256
double hitfit::Gentop_Args::sigma_mw ( ) const

Return the value of sigma_mw parameter.

Definition at line 251 of file gentop.cc.

References _sigma_mw.

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

256 {
257  return _sigma_mw;
258 }
double _sigma_mw
Definition: gentop.h:302
bool hitfit::Gentop_Args::smear ( ) const

Return the value of smear parameter.

Definition at line 161 of file gentop.cc.

References _smear.

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

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

Return the value of smear_dir parameter.

Definition at line 171 of file gentop.cc.

References _smear_dir.

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

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

Return the value of svx_tageff parameter.

Definition at line 131 of file gentop.cc.

References _svx_tageff.

136 {
137  return _svx_tageff;
138 }
double _svx_tageff
Definition: gentop.h:308
double hitfit::Gentop_Args::t_pt_mean ( ) const

Return the value of t_pt_mean parameter.

Definition at line 101 of file gentop.cc.

References _t_pt_mean.

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

106 {
107  return _t_pt_mean;
108 }
double _t_pt_mean
Definition: gentop.h:246

Member Data Documentation

double hitfit::Gentop_Args::_boost_sigma
private

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

Definition at line 277 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 331 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 341 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 347 of file gentop.h.

Referenced by kt_res_str().

double hitfit::Gentop_Args::_m_boost
private

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

Definition at line 282 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 287 of file gentop.h.

Referenced by mb().

double hitfit::Gentop_Args::_mh
private

Mass of the generated Higgs boson, in GeV.

Definition at line 261 of file gentop.h.

Referenced by mh().

double hitfit::Gentop_Args::_mt
private

Mass of the generated top quark, in GeV.

Definition at line 251 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 336 of file gentop.h.

Referenced by muo_res_str().

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

Referenced by muon().

double hitfit::Gentop_Args::_mw
private

Mass of the generated W boson, in GeV.

Definition at line 297 of file gentop.h.

Referenced by mw().

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

Referenced by recoil_pt_mean().

double hitfit::Gentop_Args::_sigma_mb
private

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

Definition at line 292 of file gentop.h.

Referenced by sigma_mb().

double hitfit::Gentop_Args::_sigma_mh
private

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

Definition at line 266 of file gentop.h.

Referenced by sigma_mh().

double hitfit::Gentop_Args::_sigma_mt
private

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

Definition at line 256 of file gentop.h.

Referenced by sigma_mt().

double hitfit::Gentop_Args::_sigma_mw
private

Width of the generated W boson mass, in GeV.

Definition at line 302 of file gentop.h.

Referenced by sigma_mw().

bool hitfit::Gentop_Args::_smear
private

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

Definition at line 314 of file gentop.h.

Referenced by smear().

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

Referenced by smear_dir().

double hitfit::Gentop_Args::_svx_tageff
private

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

Definition at line 308 of file gentop.h.

Referenced by svx_tageff().

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

Referenced by t_pt_mean().