CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 (const 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 90 of file Fourvec_Event.h.

Constructor & Destructor Documentation

hitfit::FE_Obj::FE_Obj ( const 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 44 of file Fourvec_Event.cc.

64  : p(the_p),
65  mass(the_mass),
66  label(the_label),
67  p_error(the_p_error),
68  phi_error(the_phi_error),
69  eta_error(the_eta_error),
70  muon_p(the_muon_p) {}

Member Data Documentation

double hitfit::FE_Obj::eta_error

Uncertainty in pseudorapidity $\eta$.

Definition at line 130 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

int hitfit::FE_Obj::label

An integer label to identify the object type.

Definition at line 114 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().

double hitfit::FE_Obj::mass

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

Definition at line 108 of file Fourvec_Event.h.

Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), 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 139 of file Fourvec_Event.h.

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

Fourvec hitfit::FE_Obj::p
double hitfit::FE_Obj::p_error

Uncertainty in momentum $p$.

Definition at line 120 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

double hitfit::FE_Obj::phi_error

Uncertainty in azimuthal angle $\phi$.

Definition at line 125 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().