CMS 3D CMS Logo

metsig::SigInputObj Class Reference

#include <RecoMET/METAlgorithms/interface/SigInputObj.h>

List of all members.

Public Member Functions

double get_energy () const
double get_phi () const
double get_sigma_e () const
double get_sigma_tan () const
std::string get_type ()
void set (const std::string &m_type, const double &m_energy, const double &m_phi, const double &m_sigma_e, const double &m_sigma_tan)
 SigInputObj (std::string &m_type, double &m_energy, double &m_phi, double &m_sigm_e, double &m_sigma_phi)
 SigInputObj ()
 ~SigInputObj ()

Private Member Functions

void set_energy (const double &m_energy)
void set_phi (const double &m_phi)
void set_sigma_e (const double &m_sigma_e)
void set_sigma_tan (const double &m_sigma_tan)
void set_type (const std::string &m_type)

Private Attributes

double energy
double phi
double sigma_e
double sigma_tan
std::string type


Detailed Description

Definition at line 31 of file SigInputObj.h.


Constructor & Destructor Documentation

metsig::SigInputObj::SigInputObj (  )  [inline]

Definition at line 34 of file SigInputObj.h.

00034                  :
00035       type(""),energy(0.),phi(0.),sigma_e(0.),sigma_tan(0.)
00036       {;}// default constructor

metsig::SigInputObj::SigInputObj ( std::string &  m_type,
double &  m_energy,
double &  m_phi,
double &  m_sigm_e,
double &  m_sigma_phi 
)

Definition at line 22 of file SigInputObj.cc.

References energy, phi, sigma_e, and sigma_tan.

00024 {
00025   type.clear(); 
00026   type.append(m_type);
00027   energy = m_energy;
00028   phi = m_phi;
00029   sigma_e = m_sigma_e;
00030   sigma_tan = m_sigma_tan;
00031 }

metsig::SigInputObj::~SigInputObj (  )  [inline]

Definition at line 40 of file SigInputObj.h.

00040 {;}


Member Function Documentation

double metsig::SigInputObj::get_energy (  )  const [inline]

Definition at line 43 of file SigInputObj.h.

References energy.

00043 {return(energy);};

double metsig::SigInputObj::get_phi (  )  const [inline]

Definition at line 44 of file SigInputObj.h.

References phi.

00044 {return(phi);};

double metsig::SigInputObj::get_sigma_e (  )  const [inline]

Definition at line 45 of file SigInputObj.h.

References sigma_e.

00045 {return(sigma_e);};

double metsig::SigInputObj::get_sigma_tan (  )  const [inline]

Definition at line 46 of file SigInputObj.h.

References sigma_tan.

00046 {return(sigma_tan);};

std::string metsig::SigInputObj::get_type (  )  [inline]

Definition at line 42 of file SigInputObj.h.

00042 {return(type);};

void metsig::SigInputObj::set ( const std::string &  m_type,
const double &  m_energy,
const double &  m_phi,
const double &  m_sigma_e,
const double &  m_sigma_tan 
) [inline]

Definition at line 48 of file SigInputObj.h.

References energy, phi, sigma_e, and sigma_tan.

00050                                         {
00051       type.clear(); type.append(m_type);
00052       energy = m_energy;
00053       phi = m_phi;
00054       sigma_e = m_sigma_e;
00055       sigma_tan = m_sigma_tan;
00056     }

void metsig::SigInputObj::set_energy ( const double &  m_energy  )  [inline, private]

Definition at line 68 of file SigInputObj.h.

References energy.

00068 {energy=m_energy;};

void metsig::SigInputObj::set_phi ( const double &  m_phi  )  [inline, private]

Definition at line 69 of file SigInputObj.h.

References phi.

00069 {phi=m_phi;};

void metsig::SigInputObj::set_sigma_e ( const double &  m_sigma_e  )  [inline, private]

Definition at line 70 of file SigInputObj.h.

References sigma_e.

00070 {sigma_e=m_sigma_e;};

void metsig::SigInputObj::set_sigma_tan ( const double &  m_sigma_tan  )  [inline, private]

Definition at line 71 of file SigInputObj.h.

References sigma_tan.

00071 {sigma_tan=m_sigma_tan;};

void metsig::SigInputObj::set_type ( const std::string &  m_type  )  [inline, private]

Definition at line 67 of file SigInputObj.h.

00067 {type.clear(); type.append(m_type);};


Member Data Documentation

double metsig::SigInputObj::energy [private]

Definition at line 62 of file SigInputObj.h.

Referenced by get_energy(), set(), set_energy(), and SigInputObj().

double metsig::SigInputObj::phi [private]

Definition at line 63 of file SigInputObj.h.

Referenced by get_phi(), set(), set_phi(), and SigInputObj().

double metsig::SigInputObj::sigma_e [private]

Definition at line 64 of file SigInputObj.h.

Referenced by get_sigma_e(), set(), set_sigma_e(), and SigInputObj().

double metsig::SigInputObj::sigma_tan [private]

Definition at line 65 of file SigInputObj.h.

Referenced by get_sigma_tan(), set(), set_sigma_tan(), and SigInputObj().

std::string metsig::SigInputObj::type [private]

Definition at line 59 of file SigInputObj.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:48:59 2009 for CMSSW by  doxygen 1.5.4