Belle II Software  release-05-01-25
ECLDigit.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Poyuan Chen *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ECLDIGIT_H
12 #define ECLDIGIT_H
13 
14 #include <framework/datastore/RelationsObject.h>
15 namespace Belle2 {
26  class ECLDigit : public RelationsObject {
27  public:
29  ECLDigit()
30  {
31  m_CellId = 0;
32  m_Amp = 0;
33  m_TimeFit = 0;
34  m_Quality = 0;
35  m_Chi = 0;
37  ;
38  }
39 
42  void setCellId(int CellId) { m_CellId = CellId; }
43 
46  void setAmp(int Amp) { m_Amp = Amp; }
47 
48 
51  void setTimeFit(int TimeFit) { m_TimeFit = TimeFit; }
52 
53 
56  void setQuality(int Quality) { m_Quality = Quality; }
57 
60  void setChi(int Chi) { m_Chi = Chi; }
61 
62 
66  int getCellId() const { return m_CellId; }
67 
68 
72  int getAmp() const { return m_Amp; }
73 
77  int getTimeFit() const { return m_TimeFit; }
78 
82  int getQuality() const { return m_Quality; }
83 
87  int getChi() const { return m_Chi; }
88 
89 
90  private:
91 
92  int m_CellId;
93  int m_Amp;
94  int m_TimeFit;
95  int m_Quality;
96  int m_Chi;
98  // 2: r25301, data member changed to ints
99  ClassDef(ECLDigit, 2);
101  };
103 } // end namespace Belle2
104 
105 #endif
Belle2::ECLDigit::setTimeFit
void setTimeFit(int TimeFit)
Set Fitting Time.
Definition: ECLDigit.h:59
Belle2::ECLDigit::getQuality
int getQuality() const
Get Fitting Quality.
Definition: ECLDigit.h:90
Belle2::ECLDigit::ClassDef
ClassDef(ECLDigit, 2)
ClassDef.
Belle2::ECLDigit::m_Amp
int m_Amp
Fitting Amplitude.
Definition: ECLDigit.h:101
Belle2::ECLDigit::m_CellId
int m_CellId
Cell ID.
Definition: ECLDigit.h:100
Belle2::ECLDigit::setQuality
void setQuality(int Quality)
Set Fitting Quality.
Definition: ECLDigit.h:64
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ECLDigit::getCellId
int getCellId() const
Get Cell ID.
Definition: ECLDigit.h:74
Belle2::ECLDigit::setChi
void setChi(int Chi)
Set Chi-squared.
Definition: ECLDigit.h:68
Belle2::ECLDigit::m_Chi
int m_Chi
Fitting chi2-squared.
Definition: ECLDigit.h:104
Belle2::ECLDigit
Class to store ECL digitized hits (output of ECLDigi) relation to ECLHit filled in ecl/modules/eclDig...
Definition: ECLDigit.h:34
Belle2::ECLDigit::getChi
int getChi() const
Get Chi-squared.
Definition: ECLDigit.h:95
Belle2::ECLDigit::setAmp
void setAmp(int Amp)
Set Fitting Amplitude.
Definition: ECLDigit.h:54
Belle2::ECLDigit::getTimeFit
int getTimeFit() const
Get Fitting Time.
Definition: ECLDigit.h:85
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition: RelationsObject.h:443
Belle2::ECLDigit::m_TimeFit
int m_TimeFit
Fitting Time.
Definition: ECLDigit.h:102
Belle2::ECLDigit::getAmp
int getAmp() const
Get Fitting Amplitude.
Definition: ECLDigit.h:80
Belle2::ECLDigit::setCellId
void setCellId(int CellId)
Set Cell ID.
Definition: ECLDigit.h:50
Belle2::ECLDigit::ECLDigit
ECLDigit()
default constructor for ROOT
Definition: ECLDigit.h:37
Belle2::ECLDigit::m_Quality
int m_Quality
Fitting Quality.
Definition: ECLDigit.h:103