CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
metsig::SigInputObj Class Reference

#include <SigInputObj.h>

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 () const
 
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 ()
 
 SigInputObj (const std::string &m_type, double m_energy, double m_phi, double m_sigm_e, double m_sigma_phi)
 
 ~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 30 of file SigInputObj.h.

Constructor & Destructor Documentation

metsig::SigInputObj::SigInputObj ( )
inline

Definition at line 33 of file SigInputObj.h.

33  :
34  type(""),energy(0.),phi(0.),sigma_e(0.),sigma_tan(0.)
35  {;}// default constructor
std::string type
Definition: SigInputObj.h:58
metsig::SigInputObj::SigInputObj ( const std::string &  m_type,
double  m_energy,
double  m_phi,
double  m_sigm_e,
double  m_sigma_phi 
)

Definition at line 21 of file SigInputObj.cc.

22  : type(m_type),
23  energy(m_energy),
24  phi(m_phi),
25  sigma_e(m_sigma_e),
26  sigma_tan(m_sigma_tan)
27 {}
std::string type
Definition: SigInputObj.h:58
metsig::SigInputObj::~SigInputObj ( )
inline

Definition at line 39 of file SigInputObj.h.

39 {;}

Member Function Documentation

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

Definition at line 42 of file SigInputObj.h.

References energy.

Referenced by SmearedJetProducer_namespace::JetResolutionExtractorT< reco::PFJet >::operator()().

42 {return(energy);};
double metsig::SigInputObj::get_phi ( ) const
inline

Definition at line 43 of file SigInputObj.h.

References phi.

43 {return(phi);};
double metsig::SigInputObj::get_sigma_e ( ) const
inline

Definition at line 44 of file SigInputObj.h.

References sigma_e.

Referenced by SmearedJetProducer_namespace::JetResolutionExtractorT< reco::PFJet >::operator()().

44 {return(sigma_e);};
double metsig::SigInputObj::get_sigma_tan ( ) const
inline

Definition at line 45 of file SigInputObj.h.

References sigma_tan.

45 {return(sigma_tan);};
std::string metsig::SigInputObj::get_type ( ) const
inline

Definition at line 41 of file SigInputObj.h.

41 {return(type);};
type
Definition: HCALResponse.h:21
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 47 of file SigInputObj.h.

References energy, phi, sigma_e, and sigma_tan.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

49  {
50  type.clear(); type.append(m_type);
51  energy = m_energy;
52  phi = m_phi;
53  sigma_e = m_sigma_e;
54  sigma_tan = m_sigma_tan;
55  }
type
Definition: HCALResponse.h:21
void metsig::SigInputObj::set_energy ( const double &  m_energy)
inlineprivate

Definition at line 67 of file SigInputObj.h.

References energy.

67 {energy=m_energy;};
void metsig::SigInputObj::set_phi ( const double &  m_phi)
inlineprivate

Definition at line 68 of file SigInputObj.h.

References phi.

68 {phi=m_phi;};
void metsig::SigInputObj::set_sigma_e ( const double &  m_sigma_e)
inlineprivate

Definition at line 69 of file SigInputObj.h.

References sigma_e.

69 {sigma_e=m_sigma_e;};
void metsig::SigInputObj::set_sigma_tan ( const double &  m_sigma_tan)
inlineprivate

Definition at line 70 of file SigInputObj.h.

References sigma_tan.

70 {sigma_tan=m_sigma_tan;};
void metsig::SigInputObj::set_type ( const std::string &  m_type)
inlineprivate

Definition at line 66 of file SigInputObj.h.

66 {type.clear(); type.append(m_type);};
type
Definition: HCALResponse.h:21

Member Data Documentation

double metsig::SigInputObj::energy
private

Definition at line 61 of file SigInputObj.h.

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

double metsig::SigInputObj::phi
private

Definition at line 62 of file SigInputObj.h.

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

double metsig::SigInputObj::sigma_e
private

Definition at line 63 of file SigInputObj.h.

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

double metsig::SigInputObj::sigma_tan
private

Definition at line 64 of file SigInputObj.h.

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

std::string metsig::SigInputObj::type
private