CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Friends
correctionValue_class Class Reference

#include <EnergyScaleCorrection_class.h>

Public Member Functions

 correctionValue_class (void)
 

Public Attributes

float Emean
 
float Emean_err
 
float phi
 
float phi_err
 
float rho
 
float rho_err
 
float scale
 
float scale_err
 
float scale_err_syst
 

Friends

std::ostream & operator<< (std::ostream &os, const correctionValue_class a)
 

Detailed Description

Description This module is taken from the ECALELF package, used to derive the energy scales and smearings.

There are two sub-classes:

There is one class that reads the text files with the corrections and returns the scale/smearings given the electron/photon properties

Definition at line 30 of file EnergyScaleCorrection_class.h.

Constructor & Destructor Documentation

◆ correctionValue_class()

correctionValue_class::correctionValue_class ( void  )
inline

Definition at line 38 of file EnergyScaleCorrection_class.h.

38  {
39  scale = 1;
40  scale_err = 0;
41  scale_err_syst = 0;
42  rho = 0;
43  rho_err = 0;
44  phi = 0;
45  phi_err = 0;
46  Emean = 0;
47  Emean_err = 0;
48  };

References Emean, Emean_err, phi, phi_err, rho, rho_err, scale, scale_err, and scale_err_syst.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const correctionValue_class  a 
)
friend

Definition at line 50 of file EnergyScaleCorrection_class.h.

50  {
51  os << "( " << a.scale << " +/- " << a.scale_err << " +/- " << a.scale_err_syst << ")"
52  << "\t" << a.rho << " +/- " << a.rho_err << "\t" << a.phi << " +/- " << a.phi_err << "\t" << a.Emean << " +/- "
53  << a.Emean_err;
54  return os;
55  };

Member Data Documentation

◆ Emean

float correctionValue_class::Emean

Definition at line 36 of file EnergyScaleCorrection_class.h.

Referenced by correctionValue_class().

◆ Emean_err

float correctionValue_class::Emean_err

Definition at line 36 of file EnergyScaleCorrection_class.h.

Referenced by correctionValue_class().

◆ phi

float correctionValue_class::phi

◆ phi_err

float correctionValue_class::phi_err

Definition at line 35 of file EnergyScaleCorrection_class.h.

Referenced by correctionValue_class().

◆ rho

float correctionValue_class::rho

◆ rho_err

float correctionValue_class::rho_err

Definition at line 34 of file EnergyScaleCorrection_class.h.

Referenced by correctionValue_class().

◆ scale

float correctionValue_class::scale

◆ scale_err

float correctionValue_class::scale_err

◆ scale_err_syst

float correctionValue_class::scale_err_syst
correctionValue_class::Emean_err
float Emean_err
Definition: EnergyScaleCorrection_class.h:36
correctionValue_class::scale_err
float scale_err
Definition: EnergyScaleCorrection_class.h:33
correctionValue_class::phi
float phi
Definition: EnergyScaleCorrection_class.h:35
correctionValue_class::scale_err_syst
float scale_err_syst
Definition: EnergyScaleCorrection_class.h:33
correctionValue_class::scale
float scale
Definition: EnergyScaleCorrection_class.h:33
a
double a
Definition: hdecay.h:119
correctionValue_class::rho
float rho
Definition: EnergyScaleCorrection_class.h:34
correctionValue_class::Emean
float Emean
Definition: EnergyScaleCorrection_class.h:36
correctionValue_class::rho_err
float rho_err
Definition: EnergyScaleCorrection_class.h:34
correctionValue_class::phi_err
float phi_err
Definition: EnergyScaleCorrection_class.h:35