Belle II Software  release-06-00-14
ECLDigit.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 
11 #include <framework/datastore/RelationsObject.h>
12 namespace Belle2 {
23  class ECLDigit : public RelationsObject {
24  public:
27  {
28  m_CellId = 0;
29  m_Amp = 0;
30  m_TimeFit = 0;
31  m_Quality = 0;
32  m_Chi = 0;
34  ;
35  }
36 
39  void setCellId(int CellId) { m_CellId = CellId; }
40 
43  void setAmp(int Amp) { m_Amp = Amp; }
44 
45 
48  void setTimeFit(int TimeFit) { m_TimeFit = TimeFit; }
49 
50 
53  void setQuality(int Quality) { m_Quality = Quality; }
54 
57  void setChi(int Chi) { m_Chi = Chi; }
58 
59 
63  int getCellId() const { return m_CellId; }
64 
65 
69  int getAmp() const { return m_Amp; }
70 
74  int getTimeFit() const { return m_TimeFit; }
75 
79  int getQuality() const { return m_Quality; }
80 
84  int getChi() const { return m_Chi; }
85 
86 
87  private:
88 
89  int m_CellId;
90  int m_Amp;
91  int m_TimeFit;
92  int m_Quality;
93  int m_Chi;
95  // 2: r25301, data member changed to ints
98  };
100 } // end namespace Belle2
101 
Class to store ECL digitized hits (output of ECLDigi) relation to ECLHit filled in ecl/modules/eclDig...
Definition: ECLDigit.h:23
int getAmp() const
Get Fitting Amplitude.
Definition: ECLDigit.h:69
int getQuality() const
Get Fitting Quality.
Definition: ECLDigit.h:79
int getCellId() const
Get Cell ID.
Definition: ECLDigit.h:63
int m_CellId
Cell ID.
Definition: ECLDigit.h:89
void setAmp(int Amp)
Set Fitting Amplitude.
Definition: ECLDigit.h:43
void setTimeFit(int TimeFit)
Set Fitting Time.
Definition: ECLDigit.h:48
void setCellId(int CellId)
Set Cell ID.
Definition: ECLDigit.h:39
void setQuality(int Quality)
Set Fitting Quality.
Definition: ECLDigit.h:53
int getTimeFit() const
Get Fitting Time.
Definition: ECLDigit.h:74
int getChi() const
Get Chi-squared.
Definition: ECLDigit.h:84
void setChi(int Chi)
Set Chi-squared.
Definition: ECLDigit.h:57
ECLDigit()
default constructor for ROOT
Definition: ECLDigit.h:26
int m_Quality
Fitting Quality.
Definition: ECLDigit.h:92
int m_Chi
Fitting chi2-squared.
Definition: ECLDigit.h:93
int m_Amp
Fitting Amplitude.
Definition: ECLDigit.h:90
ClassDef(ECLDigit, 2)
ClassDef.
int m_TimeFit
Fitting Time.
Definition: ECLDigit.h:91
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.