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 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.

78  : _t_pt_mean (defs.get_float ("t_pt_mean")),
79  _mt (defs.get_float ("mt")),
80  _sigma_mt (defs.get_float ("sigma_mt")),
81  _mh (defs.get_float ("mh")),
82  _sigma_mh (defs.get_float ("sigma_mh")),
83  _recoil_pt_mean (defs.get_float ("recoil_pt_mean")),
84  _boost_sigma (defs.get_float ("boost_sigma")),
85  _m_boost (defs.get_float ("m_boost")),
86  _mb (defs.get_float ("mb")),
87  _sigma_mb (defs.get_float ("sigma_mb")),
88  _mw (defs.get_float ("mw")),
89  _sigma_mw (defs.get_float ("sigma_mw")),
90  _svx_tageff (defs.get_float ("svx_tageff")),
91  _smear (defs.get_bool ("smear")),
92  _smear_dir (defs.get_bool ("smear_dir")),
93  _muon (defs.get_bool ("muon")),
94  _ele_res_str (defs.get_string ("ele_res_str")),
95  _muo_res_str (defs.get_string ("muo_res_str")),
96  _jet_res_str (defs.get_string ("jet_res_str")),
97  _kt_res_str (defs.get_string ("kt_res_str"))
98 {
99 }
std::string _jet_res_str
Definition: gentop.h:342
double _sigma_mt
Definition: gentop.h:257
double _t_pt_mean
Definition: gentop.h:247
double _sigma_mh
Definition: gentop.h:267
double _svx_tageff
Definition: gentop.h:309
std::string _kt_res_str
Definition: gentop.h:348
double _sigma_mb
Definition: gentop.h:293
double _recoil_pt_mean
Definition: gentop.h:273
std::string _ele_res_str
Definition: gentop.h:332
double _sigma_mw
Definition: gentop.h:303
std::string _muo_res_str
Definition: gentop.h:337
double _boost_sigma
Definition: gentop.h:278

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.

207 {
208  return _boost_sigma;
209 }
double _boost_sigma
Definition: gentop.h:278
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().

267 {
268  return _ele_res_str;
269 }
std::string _ele_res_str
Definition: gentop.h:332
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().

287 {
288  return _jet_res_str;
289 }
std::string _jet_res_str
Definition: gentop.h:342
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().

297 {
298  return _kt_res_str;
299 }
std::string _kt_res_str
Definition: gentop.h:348
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.

217 {
218  return _m_boost;
219 }
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().

227 {
228  return _mb;
229 }
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().

147 {
148  return _mh;
149 }
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().

117 {
118  return _mt;
119 }
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().

277 {
278  return _muo_res_str;
279 }
std::string _muo_res_str
Definition: gentop.h:337
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().

187 {
188  return _muon;
189 }
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().

247 {
248  return _mw;
249 }
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.

197 {
198  return _recoil_pt_mean;
199 }
double _recoil_pt_mean
Definition: gentop.h:273
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().

237 {
238  return _sigma_mb;
239 }
double _sigma_mb
Definition: gentop.h:293
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().

157 {
158  return _sigma_mh;
159 }
double _sigma_mh
Definition: gentop.h:267
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().

127 {
128  return _sigma_mt;
129 }
double _sigma_mt
Definition: gentop.h:257
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().

257 {
258  return _sigma_mw;
259 }
double _sigma_mw
Definition: gentop.h:303
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().

167 {
168  return _smear;
169 }
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().

177 {
178  return _smear_dir;
179 }
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.

137 {
138  return _svx_tageff;
139 }
double _svx_tageff
Definition: gentop.h:309
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().

107 {
108  return _t_pt_mean;
109 }
double _t_pt_mean
Definition: gentop.h:247

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 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().

double hitfit::Gentop_Args::_m_boost
private

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().

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 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().

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 273 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 293 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 267 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 257 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 303 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 315 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 321 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 309 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 247 of file gentop.h.

Referenced by t_pt_mean().