CMS 3D CMS Logo

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

◆ FE_Obj()

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

◆ eta_error

double hitfit::FE_Obj::eta_error

Uncertainty in pseudorapidity $\eta$.

Definition at line 130 of file Fourvec_Event.h.

◆ label

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

◆ mass

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__(), and datamodel.Object::p4().

◆ muon_p

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.

◆ p

Fourvec hitfit::FE_Obj::p

The four-momentum of the object.

Definition at line 100 of file Fourvec_Event.h.

Referenced by hitfit::Fourvec_Event::add(), and Electron.Electron::ptErr().

◆ p_error

double hitfit::FE_Obj::p_error

Uncertainty in momentum $p$.

Definition at line 120 of file Fourvec_Event.h.

◆ phi_error

double hitfit::FE_Obj::phi_error

Uncertainty in azimuthal angle $\phi$.

Definition at line 125 of file Fourvec_Event.h.