Belle II Software development
ECLShowerShapeSecondMomentCorrection.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10#include <TObject.h>
11#include <TGraph.h>
12
13namespace Belle2 {
24 public:
25
30
34 ECLShowerShapeSecondMomentCorrection(int hypothesisid, int type, TGraph correction): m_hypothesisId(hypothesisid), m_type(type),
35 m_correction(correction) {};
36
41
45 int getHypothesisId() const {return m_hypothesisId; };
46
50 int getType() const {return m_type; };
51
55 TGraph getCorrection() const {return m_correction; };
56
60 void setHypothesisId(int hypothesisid) {m_hypothesisId = hypothesisid; };
61
65 void setType(int type) {m_type = type; };
66
70 void setCorrection(TGraph correction) {m_correction = correction;};
71
72 private:
74 int m_type;
75 TGraph m_correction;
77 // 1: Initial version
79 };
81} // end namespace Belle2
Corrections to the second moment shower shape.
ClassDef(ECLShowerShapeSecondMomentCorrection, 1)
ClassDef.
void setHypothesisId(int hypothesisid)
Set hypothesis id.
void setCorrection(TGraph correction)
Set correction TGraph.
ECLShowerShapeSecondMomentCorrection(int hypothesisid, int type, TGraph correction)
Constructor.
Abstract base class for different kinds of events.