Belle II Software development
ECLShowerEnergyCorrectionTemporary Class Reference

Class to hold the information for the ECL shower energy corrections This is a temperary class as there is no information about phi dependence. More...

#include <ECLShowerEnergyCorrectionTemporary.h>

Inheritance diagram for ECLShowerEnergyCorrectionTemporary:

Public Member Functions

 ECLShowerEnergyCorrectionTemporary ()
 Default constructor.
 
 ECLShowerEnergyCorrectionTemporary (const TGraph2D &graph, const float angleMin, const float angleMax, const float energyMin, const float energyMax)
 Constructor Angles are in degrees!!
 
 ~ECLShowerEnergyCorrectionTemporary ()
 Destructor.
 
TGraph2D getGraph2D () const
 Get the TGraph2D graph x - angle (degrees) y - energy z - correction factor Angles are in degrees!!
 
float getAngleMin () const
 Get Minimum value of angle which the corrections are valid for.
 
float getAngleMax () const
 Get Maximum value of angle which the corrections are valid for.
 
float getEnergyMin () const
 Get Minimum value of energy which the corrections are valid for.
 
float getEnergyMax () const
 Get Maximum value of energy which the corrections are valid for.
 

Private Member Functions

 ClassDef (ECLShowerEnergyCorrectionTemporary, 1)
 ClassDef.
 

Private Attributes

TGraph2D m_graph
 graph holding the shower energy corrections.
 
float m_angleMin
 Minimum value of angle which the corrections are valid for (in degrees).
 
float m_angleMax
 Maximum value of angle which the corrections are valid for (in degrees).
 
float m_energyMin
 Minimum value of energy which the corrections are valid for.
 
float m_energyMax
 Maximum value of energy which the corrections are valid for.
 

Detailed Description

Class to hold the information for the ECL shower energy corrections This is a temperary class as there is no information about phi dependence.

An improved version will be implemented at a later time.

NOTE - angles are in degrees

Definition at line 29 of file ECLShowerEnergyCorrectionTemporary.h.

Constructor & Destructor Documentation

◆ ECLShowerEnergyCorrectionTemporary() [1/2]

Default constructor.

Definition at line 36 of file ECLShowerEnergyCorrectionTemporary.h.

36{}

◆ ECLShowerEnergyCorrectionTemporary() [2/2]

ECLShowerEnergyCorrectionTemporary ( const TGraph2D &  graph,
const float  angleMin,
const float  angleMax,
const float  energyMin,
const float  energyMax 
)
inline

Constructor Angles are in degrees!!

Definition at line 42 of file ECLShowerEnergyCorrectionTemporary.h.

46 :
47 m_graph(graph),
48 m_angleMin(angleMin),
49 m_angleMax(angleMax),
50 m_energyMin(energyMin),
51 m_energyMax(energyMax)
52 {
53
54 }
float m_angleMax
Maximum value of angle which the corrections are valid for (in degrees).
float m_angleMin
Minimum value of angle which the corrections are valid for (in degrees).
float m_energyMin
Minimum value of energy which the corrections are valid for.
float m_energyMax
Maximum value of energy which the corrections are valid for.
TGraph2D m_graph
graph holding the shower energy corrections.

◆ ~ECLShowerEnergyCorrectionTemporary()

Destructor.

Definition at line 59 of file ECLShowerEnergyCorrectionTemporary.h.

59{};

Member Function Documentation

◆ getAngleMax()

float getAngleMax ( ) const
inline

Get Maximum value of angle which the corrections are valid for.

Angles are in degrees!!

Returns
Maximum angle

Definition at line 80 of file ECLShowerEnergyCorrectionTemporary.h.

80{return m_angleMax;}

◆ getAngleMin()

float getAngleMin ( ) const
inline

Get Minimum value of angle which the corrections are valid for.

Angles are in degrees!!

Returns
Minimum angle

Definition at line 74 of file ECLShowerEnergyCorrectionTemporary.h.

74{return m_angleMin;}

◆ getEnergyMax()

float getEnergyMax ( ) const
inline

Get Maximum value of energy which the corrections are valid for.

Returns
Maximum energy

Definition at line 90 of file ECLShowerEnergyCorrectionTemporary.h.

90{return m_energyMax;}

◆ getEnergyMin()

float getEnergyMin ( ) const
inline

Get Minimum value of energy which the corrections are valid for.

Returns
Minimum energy

Definition at line 85 of file ECLShowerEnergyCorrectionTemporary.h.

85{return m_energyMin;}

◆ getGraph2D()

TGraph2D getGraph2D ( ) const
inline

Get the TGraph2D graph x - angle (degrees) y - energy z - correction factor Angles are in degrees!!

Returns
graph holding correction information

Definition at line 68 of file ECLShowerEnergyCorrectionTemporary.h.

68{return m_graph;}

Member Data Documentation

◆ m_angleMax

float m_angleMax
private

Maximum value of angle which the corrections are valid for (in degrees).

Definition at line 95 of file ECLShowerEnergyCorrectionTemporary.h.

◆ m_angleMin

float m_angleMin
private

Minimum value of angle which the corrections are valid for (in degrees).

Definition at line 94 of file ECLShowerEnergyCorrectionTemporary.h.

◆ m_energyMax

float m_energyMax
private

Maximum value of energy which the corrections are valid for.

Definition at line 97 of file ECLShowerEnergyCorrectionTemporary.h.

◆ m_energyMin

float m_energyMin
private

Minimum value of energy which the corrections are valid for.

Definition at line 96 of file ECLShowerEnergyCorrectionTemporary.h.

◆ m_graph

TGraph2D m_graph
private

graph holding the shower energy corrections.

Definition at line 93 of file ECLShowerEnergyCorrectionTemporary.h.


The documentation for this class was generated from the following file: