Belle II Software
release-05-01-25
ECLShowerShapeSecondMomentCorrection.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2016 - Belle II Collaboration *
4
* *
5
* Shower shape second moment angular corrections. *
6
* *
7
* Author: The Belle II Collaboration *
8
* Contributors: Torben Ferber (ferber@physics.ubc.ca) *
9
* *
10
* This software is provided "as is" without any warranty. *
11
**************************************************************************/
12
13
#ifndef ECLSHOWERSHAPESECONDMOMENTCORRECTION_H
14
#define ECLSHOWERSHAPESECONDMOMENTCORRECTION_H
15
#include <TObject.h>
16
#include <TGraph.h>
17
18
namespace
Belle2
{
28
class
ECLShowerShapeSecondMomentCorrection:
public
TObject {
29
public
:
30
34
ECLShowerShapeSecondMomentCorrection
():
m_hypothesisId
(0),
m_type
(0),
m_correction
(0) {};
35
39
ECLShowerShapeSecondMomentCorrection
(
int
hypothesisid,
int
type, TGraph correction):
m_hypothesisId
(hypothesisid),
m_type
(type),
40
m_correction
(correction) {};
41
45
~ECLShowerShapeSecondMomentCorrection
() {};
46
50
int
getHypothesisId
()
const
{
return
m_hypothesisId
; };
51
55
int
getType
()
const
{
return
m_type
; };
56
60
TGraph
getCorrection
()
const
{
return
m_correction
; };
61
65
void
setHypothesisId
(
int
hypothesisid) {
m_hypothesisId
= hypothesisid; };
66
70
void
setType
(
int
type) {
m_type
= type; };
71
75
void
setCorrection
(TGraph correction) {
m_correction
= correction;};
76
77
private
:
78
int
m_hypothesisId
;
79
int
m_type
;
80
TGraph
m_correction
;
82
// 1: Initial version
83
ClassDef
(
ECLShowerShapeSecondMomentCorrection
, 1);
84
};
86
}
// end namespace Belle2
87
#endif
Belle2::ECLShowerShapeSecondMomentCorrection::getHypothesisId
int getHypothesisId() const
Return hypothesis Id.
Definition:
ECLShowerShapeSecondMomentCorrection.h:60
Belle2::ECLShowerShapeSecondMomentCorrection::getType
int getType() const
Return type.
Definition:
ECLShowerShapeSecondMomentCorrection.h:65
Belle2::ECLShowerShapeSecondMomentCorrection::ClassDef
ClassDef(ECLShowerShapeSecondMomentCorrection, 1)
ClassDef.
Belle2::ECLShowerShapeSecondMomentCorrection::setHypothesisId
void setHypothesisId(int hypothesisid)
Set hypothesis id.
Definition:
ECLShowerShapeSecondMomentCorrection.h:75
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::ECLShowerShapeSecondMomentCorrection::getCorrection
TGraph getCorrection() const
Return corrections tgraph.
Definition:
ECLShowerShapeSecondMomentCorrection.h:70
Belle2::ECLShowerShapeSecondMomentCorrection::ECLShowerShapeSecondMomentCorrection
ECLShowerShapeSecondMomentCorrection()
Default constructor.
Definition:
ECLShowerShapeSecondMomentCorrection.h:44
Belle2::ECLShowerShapeSecondMomentCorrection
Corrections to the second moment shower shape.
Definition:
ECLShowerShapeSecondMomentCorrection.h:38
Belle2::ECLShowerShapeSecondMomentCorrection::setType
void setType(int type)
Set type.
Definition:
ECLShowerShapeSecondMomentCorrection.h:80
Belle2::ECLShowerShapeSecondMomentCorrection::m_correction
TGraph m_correction
TGraph that holds corrections.
Definition:
ECLShowerShapeSecondMomentCorrection.h:90
Belle2::ECLShowerShapeSecondMomentCorrection::m_hypothesisId
int m_hypothesisId
Hypthesis Id.
Definition:
ECLShowerShapeSecondMomentCorrection.h:85
Belle2::ECLShowerShapeSecondMomentCorrection::m_type
int m_type
Type (e.g.
Definition:
ECLShowerShapeSecondMomentCorrection.h:89
Belle2::ECLShowerShapeSecondMomentCorrection::~ECLShowerShapeSecondMomentCorrection
~ECLShowerShapeSecondMomentCorrection()
Destructor.
Definition:
ECLShowerShapeSecondMomentCorrection.h:55
Belle2::ECLShowerShapeSecondMomentCorrection::setCorrection
void setCorrection(TGraph correction)
Set correction TGraph.
Definition:
ECLShowerShapeSecondMomentCorrection.h:85
ecl
dbobjects
include
ECLShowerShapeSecondMomentCorrection.h
Generated on Fri Nov 5 2021 03:51:03 for Belle II Software by
1.8.17