CMS 3D CMS Logo

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

Hold on to parameters for the Fourvec_Constrainer class. More...

#include <Fourvec_Constrainer.h>

Public Member Functions

const Chisq_Constrainer_Argschisq_constrainer_args () const
 
double e_com () const
 
 Fourvec_Constrainer_Args (const Defaults &defs)
 Constructor, initialize from a Defaults object. More...
 
bool ignore_met () const
 
bool use_e () const
 

Private Attributes

Chisq_Constrainer_Args _chisq_constrainer_args
 
double _e_com
 
bool _ignore_met
 
bool _use_e
 

Detailed Description

Hold on to parameters for the Fourvec_Constrainer class.

Definition at line 93 of file Fourvec_Constrainer.h.

Constructor & Destructor Documentation

◆ Fourvec_Constrainer_Args()

hitfit::Fourvec_Constrainer_Args::Fourvec_Constrainer_Args ( const Defaults defs)

Constructor, initialize from a Defaults object.

Parameters
defsThe set of parameters for the initialization. The instance must contain the following variables of types and names:
  • bool use_e.
  • double e_com.
  • bool ignore_met.

Definition at line 61 of file Fourvec_Constrainer.cc.

68  : _use_e(defs.get_bool("use_e")),
69  _e_com(defs.get_float("e_com")),
70  _ignore_met(defs.get_bool("ignore_met")),

Member Function Documentation

◆ chisq_constrainer_args()

const Chisq_Constrainer_Args & hitfit::Fourvec_Constrainer_Args::chisq_constrainer_args ( ) const

Definition at line 100 of file Fourvec_Constrainer.cc.

104  {
106  }

References _chisq_constrainer_args.

Referenced by hitfit::Fourvec_Constrainer::constrain().

◆ e_com()

double hitfit::Fourvec_Constrainer_Args::e_com ( ) const

Return the _e_com parameter.

Definition at line 82 of file Fourvec_Constrainer.cc.

87  {
88  return _e_com;
89  }

References _e_com.

◆ ignore_met()

bool hitfit::Fourvec_Constrainer_Args::ignore_met ( ) const

Return the _ignore_met parameter.

Definition at line 91 of file Fourvec_Constrainer.cc.

96  {
97  return _ignore_met;
98  }

References _ignore_met.

Referenced by hitfit::Fourvec_Constrainer::constrain(), and hitfit::Fourvec_Constraint_Calculator::eval().

◆ use_e()

bool hitfit::Fourvec_Constrainer_Args::use_e ( ) const

Return the _use_e parameter.

Definition at line 73 of file Fourvec_Constrainer.cc.

78  {
79  return _use_e;
80  }

References _use_e.

Referenced by hitfit::Fourvec_Constrainer::constrain(), and hitfit::Fourvec_Constraint_Calculator::eval().

Member Data Documentation

◆ _chisq_constrainer_args

Chisq_Constrainer_Args hitfit::Fourvec_Constrainer_Args::_chisq_constrainer_args
private

The internal arguments for the subobjects.

Definition at line 172 of file Fourvec_Constrainer.h.

Referenced by chisq_constrainer_args().

◆ _e_com

double hitfit::Fourvec_Constrainer_Args::_e_com
private

The center-of-mass energy. Used only to keep the fit from going into a completely unphysical region.

Definition at line 158 of file Fourvec_Constrainer.h.

Referenced by e_com().

◆ _ignore_met

bool hitfit::Fourvec_Constrainer_Args::_ignore_met
private

If TRUE and the event does not have a neutrino, then the fit will be done without the overall transverse momentum constraint. Thus the missing transverse energy information will be ignored. If the event does have a neutrino, this parameter is ignored. If FALSE, take into account the overall transverse momentum constraint.

Definition at line 167 of file Fourvec_Constrainer.h.

Referenced by ignore_met().

◆ _use_e

bool hitfit::Fourvec_Constrainer_Args::_use_e
private

If TRUE, then when rescaling a four-momentum for a given mass, keep the measured energy and scale the three-momentum. If FALSE, then keep the three-momentum and scale the energy.

Definition at line 152 of file Fourvec_Constrainer.h.

Referenced by use_e().

hitfit::Fourvec_Constrainer_Args::_use_e
bool _use_e
Definition: Fourvec_Constrainer.h:152
hitfit::Fourvec_Constrainer_Args::_ignore_met
bool _ignore_met
Definition: Fourvec_Constrainer.h:167
hitfit::Fourvec_Constrainer_Args::_e_com
double _e_com
Definition: Fourvec_Constrainer.h:158
hitfit::Fourvec_Constrainer_Args::_chisq_constrainer_args
Chisq_Constrainer_Args _chisq_constrainer_args
Definition: Fourvec_Constrainer.h:172