CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
hitfit::FE_Obj Class Reference

Represent a single object in a Fourvec_Event, this is just a dumb data container. Each object in a Fourvec_Event has the following attributes: More...

#include <Fourvec_Event.h>

Public Member Functions

 FE_Obj (Fourvec the_p, double the_mass, int the_label, double the_p_error, double the_phi_error, double the_eta_error, bool the_muon_p)
 Constructor. More...
 

Public Attributes

double eta_error
 
int label
 
double mass
 
bool muon_p
 
Fourvec p
 
double p_error
 
double phi_error
 

Detailed Description

Represent a single object in a Fourvec_Event, this is just a dumb data container. Each object in a Fourvec_Event has the following attributes:

Definition at line 95 of file Fourvec_Event.h.

Constructor & Destructor Documentation

hitfit::FE_Obj::FE_Obj ( Fourvec  the_p,
double  the_mass,
int  the_label,
double  the_p_error,
double  the_phi_error,
double  the_eta_error,
bool  the_muon_p 
)

Constructor.

Parameters
the_pThe four-momentum.
the_massThe mass of the object.
the_labelAn integer label to identify the object type.
the_p_errorUncertainty in momentum $p$ or $1/p$ if the muon flag is set to TRUE.
the_phi_errorUncertainty in azimuthal angle $\phi$.
the_eta_errorUncertainty in pseudorapidity $\eta$.
the_muon_pMuon/inverse momentum flag.

Definition at line 49 of file Fourvec_Event.cc.

69  : p (the_p),
70  mass (the_mass),
71  label (the_label),
72  p_error (the_p_error),
73  phi_error (the_phi_error),
74  eta_error (the_eta_error),
75  muon_p (the_muon_p)
76 {
77 }

Member Data Documentation

double hitfit::FE_Obj::eta_error

Uncertainty in pseudorapidity $\eta$.

Definition at line 135 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

int hitfit::FE_Obj::label
double hitfit::FE_Obj::mass

The mass of the object. The kinematic fitting algorithm will fix the mass to this.

Definition at line 113 of file Fourvec_Event.h.

Referenced by hitfit::operator<<(), and hitfit::Constraint_Intermed_Labels::sum_mass_terms().

bool hitfit::FE_Obj::muon_p

Muon/inverse momentum flag. If the flag is set to TRUE, then the uncertainty is interpreted as uncertainty in $1/p$ instead of $p$.

Definition at line 144 of file Fourvec_Event.h.

Referenced by hitfit::Fourvec_Constraint_Calculator::calculate_constraints(), and hitfit::operator<<().

Fourvec hitfit::FE_Obj::p

The four-momentum of the object.

Definition at line 105 of file Fourvec_Event.h.

Referenced by hitfit::Fourvec_Event::add(), hitfit::Fourvec_Constraint_Calculator::calculate_constraints(), and hitfit::operator<<().

double hitfit::FE_Obj::p_error

Uncertainty in momentum $p$.

Definition at line 125 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

double hitfit::FE_Obj::phi_error

Uncertainty in azimuthal angle $\phi$.

Definition at line 130 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().