CMS 3D CMS Logo

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>

List of all members.

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.

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.

  : p (the_p),
    mass (the_mass),
    label (the_label),
    p_error (the_p_error),
    phi_error (the_phi_error),
    eta_error (the_eta_error),
    muon_p (the_muon_p)
{
}

Member Data Documentation

Uncertainty in pseudorapidity $\eta$.

Definition at line 135 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

An integer label to identify the object type.

Definition at line 119 of file Fourvec_Event.h.

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

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

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

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

Uncertainty in momentum $p$.

Definition at line 125 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

Uncertainty in azimuthal angle $\phi$.

Definition at line 130 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().