Belle II Software  release-05-01-25
ECLShowerEnergyCorrectionTemporary.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 - Belle II Collaboration *
4  * *
5  * Leakage corrections for ECL showers (N1). *
6  * *
7  * Author: The Belle II Collaboration *
8  * Contributors: Alon Hershenhorn (hershen@physics.ubc.ca) *
9  * *
10  * This software is provided "as is" without any warranty. *
11  **************************************************************************/
12 
13 #pragma once
14 
15 //Root
16 #include <TObject.h>
17 #include <TGraph2D.h>
18 
19 namespace Belle2 {
34  class ECLShowerEnergyCorrectionTemporary: public TObject {
35  public:
36 
42 
47  ECLShowerEnergyCorrectionTemporary(const TGraph2D& graph,
48  const float angleMin,
49  const float angleMax,
50  const float energyMin,
51  const float energyMax) :
52  m_graph(graph),
53  m_angleMin(angleMin),
54  m_angleMax(angleMax),
55  m_energyMin(energyMin),
56  m_energyMax(energyMax)
57  {
58 
59  }
60 
65 
73  TGraph2D getGraph2D() const {return m_graph;}
74 
79  float getAngleMin() const {return m_angleMin;}
80 
85  float getAngleMax() const {return m_angleMax;}
86 
90  float getEnergyMin() const {return m_energyMin;}
91 
95  float getEnergyMax() const {return m_energyMax;}
96 
97  private:
98  TGraph2D m_graph;
99  float m_angleMin;
100  float m_angleMax;
101  float m_energyMin;
102  float m_energyMax;
104  // 1: Initial version
106  };
108 } // end namespace Belle2
109 
Belle2::ECLShowerEnergyCorrectionTemporary::m_angleMax
float m_angleMax
Maximum value of angle which the corrections are valid for (in degrees).
Definition: ECLShowerEnergyCorrectionTemporary.h:110
Belle2::ECLShowerEnergyCorrectionTemporary::ClassDef
ClassDef(ECLShowerEnergyCorrectionTemporary, 1)
ClassDef.
Belle2::ECLShowerEnergyCorrectionTemporary::m_energyMax
float m_energyMax
Maximum value of energy which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:112
Belle2::ECLShowerEnergyCorrectionTemporary::m_energyMin
float m_energyMin
Minimum value of energy which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:111
Belle2::ECLShowerEnergyCorrectionTemporary::getGraph2D
TGraph2D getGraph2D() const
Get the TGraph2D graph x - angle (degrees) y - energy z - correction factor Angles are in degrees!...
Definition: ECLShowerEnergyCorrectionTemporary.h:83
Belle2::ECLShowerEnergyCorrectionTemporary::ECLShowerEnergyCorrectionTemporary
ECLShowerEnergyCorrectionTemporary()
Default constructor.
Definition: ECLShowerEnergyCorrectionTemporary.h:51
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLShowerEnergyCorrectionTemporary::m_graph
TGraph2D m_graph
graph holding the shower energy corrections.
Definition: ECLShowerEnergyCorrectionTemporary.h:108
Belle2::ECLShowerEnergyCorrectionTemporary::getEnergyMax
float getEnergyMax() const
Get Maximum value of energy which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:105
Belle2::ECLShowerEnergyCorrectionTemporary::getAngleMax
float getAngleMax() const
Get Maximum value of angle which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:95
Belle2::ECLShowerEnergyCorrectionTemporary
Class to hold the information for the ECL shower energy corrections Corrections produced by Claudia C...
Definition: ECLShowerEnergyCorrectionTemporary.h:44
Belle2::ECLShowerEnergyCorrectionTemporary::m_angleMin
float m_angleMin
Minimum value of angle which the corrections are valid for (in degrees).
Definition: ECLShowerEnergyCorrectionTemporary.h:109
Belle2::ECLShowerEnergyCorrectionTemporary::getAngleMin
float getAngleMin() const
Get Minimum value of angle which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:89
Belle2::ECLShowerEnergyCorrectionTemporary::getEnergyMin
float getEnergyMin() const
Get Minimum value of energy which the corrections are valid for.
Definition: ECLShowerEnergyCorrectionTemporary.h:100
Belle2::ECLShowerEnergyCorrectionTemporary::~ECLShowerEnergyCorrectionTemporary
~ECLShowerEnergyCorrectionTemporary()
Destructor.
Definition: ECLShowerEnergyCorrectionTemporary.h:74