CMS 3D CMS Logo

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 29 of file SigInputObj.h.

Constructor & Destructor Documentation

◆ SigInputObj() [1/2]

metsig::SigInputObj::SigInputObj ( )
inline

Definition at line 31 of file SigInputObj.h.

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

◆ SigInputObj() [2/2]

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.

23  : type(m_type), energy(m_energy), phi(m_phi), sigma_e(m_sigma_e), sigma_tan(m_sigma_tan) {}

◆ ~SigInputObj()

metsig::SigInputObj::~SigInputObj ( )
inline

Definition at line 34 of file SigInputObj.h.

34 { ; }

Member Function Documentation

◆ get_energy()

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

Definition at line 37 of file SigInputObj.h.

37 { return (energy); };

References energy.

Referenced by PFMEtSignInterfaceBase::compResolution(), and NoPileUpPFMEtDataProducer::produce().

◆ get_phi()

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

Definition at line 38 of file SigInputObj.h.

38 { return (phi); };

References phi.

Referenced by PFMEtSignInterfaceBase::compResolution(), and NoPileUpPFMEtDataProducer::produce().

◆ get_sigma_e()

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

Definition at line 39 of file SigInputObj.h.

39 { return (sigma_e); };

References sigma_e.

Referenced by PFMEtSignInterfaceBase::compResolution(), and NoPileUpPFMEtDataProducer::produce().

◆ get_sigma_tan()

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

Definition at line 40 of file SigInputObj.h.

40 { return (sigma_tan); };

References sigma_tan.

Referenced by PFMEtSignInterfaceBase::compResolution(), and NoPileUpPFMEtDataProducer::produce().

◆ get_type()

std::string metsig::SigInputObj::get_type ( ) const
inline

Definition at line 36 of file SigInputObj.h.

36 { return (type); };

Referenced by PFMEtSignInterfaceBase::compResolution(), and NoPileUpPFMEtDataProducer::produce().

◆ set()

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 42 of file SigInputObj.h.

46  {
47  type.clear();
48  type.append(m_type);
49  energy = m_energy;
50  phi = m_phi;
51  sigma_e = m_sigma_e;
52  sigma_tan = m_sigma_tan;
53  }

References energy, phi, sigma_e, and sigma_tan.

Referenced by PFMEtSignInterfaceBase::compResolution(), NoPileUpPFMEtDataProducer::produce(), and scaleAndAddPFMEtSignObjects().

◆ set_energy()

void metsig::SigInputObj::set_energy ( const double &  m_energy)
inlineprivate

Definition at line 68 of file SigInputObj.h.

68 { energy = m_energy; };

References energy.

◆ set_phi()

void metsig::SigInputObj::set_phi ( const double &  m_phi)
inlineprivate

Definition at line 69 of file SigInputObj.h.

69 { phi = m_phi; };

References phi.

◆ set_sigma_e()

void metsig::SigInputObj::set_sigma_e ( const double &  m_sigma_e)
inlineprivate

Definition at line 70 of file SigInputObj.h.

70 { sigma_e = m_sigma_e; };

References sigma_e.

◆ set_sigma_tan()

void metsig::SigInputObj::set_sigma_tan ( const double &  m_sigma_tan)
inlineprivate

Definition at line 71 of file SigInputObj.h.

71 { sigma_tan = m_sigma_tan; };

References sigma_tan.

◆ set_type()

void metsig::SigInputObj::set_type ( const std::string &  m_type)
inlineprivate

Definition at line 64 of file SigInputObj.h.

64  {
65  type.clear();
66  type.append(m_type);
67  };

Member Data Documentation

◆ energy

double metsig::SigInputObj::energy
private

Definition at line 59 of file SigInputObj.h.

Referenced by get_energy(), Jet.Jet::rawEnergy(), set(), and set_energy().

◆ phi

double metsig::SigInputObj::phi
private

◆ sigma_e

double metsig::SigInputObj::sigma_e
private

Definition at line 61 of file SigInputObj.h.

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

◆ sigma_tan

double metsig::SigInputObj::sigma_tan
private

Definition at line 62 of file SigInputObj.h.

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

◆ type

std::string metsig::SigInputObj::type
private
metsig::SigInputObj::energy
double energy
Definition: SigInputObj.h:59
metsig::SigInputObj::sigma_tan
double sigma_tan
Definition: SigInputObj.h:62
metsig::SigInputObj::type
std::string type
Definition: SigInputObj.h:56
metsig::SigInputObj::sigma_e
double sigma_e
Definition: SigInputObj.h:61
type
type
Definition: HCALResponse.h:21
metsig::SigInputObj::phi
double phi
Definition: SigInputObj.h:60