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 (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 94 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 48 of file Fourvec_Event.cc.

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

Member Data Documentation

double hitfit::FE_Obj::eta_error

Uncertainty in pseudorapidity $\eta$.

Definition at line 134 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 112 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 143 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 104 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 124 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().

double hitfit::FE_Obj::phi_error

Uncertainty in azimuthal angle $\phi$.

Definition at line 129 of file Fourvec_Event.h.

Referenced by hitfit::operator<<().