Belle II Software  release-05-01-25
TRGECLFAMPara.h
1 //-----------------------------------------------------------
2 // $Id$
3 //-----------------------------------------------------------
4 // Filename : TRGECLFAMPara.h
5 // Section : TRG ECL
6 // Owner : HanEol Cho/InSu Lee/Yuuji Unno
7 // Email : hecho@hep.hanyang.ac.kr / islee@hep.hanyang.ac.kr / yunno@post.kek.jp
8 //-----------------------------------------------------------
9 // Description : A class to represent ECL.
10 //-----------------------------------------------------------
11 // $Log$
12 //-----------------------------------------------------------
13 
14 #ifndef TRGECLFAMPARA_H
15 #define TRGECLFAMPARA_H
16 
17 #include <TObject.h>
18 
19 namespace Belle2 {
25  class TRGECLFAMPara : public TObject {
27  public:
31  m_FPGAversion(1),
32  m_TCId(0),
33  m_FAMId(0),
34  m_ChannelId(0),
35  m_TEreconstruct(0),
37  m_Toffset(0),
38  m_Threshold(0),
39  m_Wavemean(0),
40  m_Wavesigma(0)
41  {
42  m_SignalPDF.clear();
43 
45 
46  }
49  int FPGAversion,
50  int TCId,
51  int FAMId,
52  int ChannelId,
53  int TEreconstruct,
54  double ConversionFactor,
55  int Toffset,
56  int Threshold,
57  int Wavemean,
58  int Wavesigma,
59  std::vector<double> SignalPDF,
60  std::vector<double> NoiseCovarianceMatrix
61 
62  ):
63  m_FPGAversion(FPGAversion),
64  m_TCId(TCId),
65  m_FAMId(FAMId),
66  m_ChannelId(ChannelId),
67  m_TEreconstruct(TEreconstruct),
68  m_ConversionFactor(ConversionFactor),
69  m_Toffset(Toffset),
70  m_Threshold(Threshold),
71  m_Wavemean(Wavemean),
72  m_Wavesigma(Wavesigma)
73  {
74  m_SignalPDF = SignalPDF;
75  m_NoiseCovarianceMatrix = NoiseCovarianceMatrix;
76  }
77 
79  void setFPGAversion(int FPGAversion) { m_FPGAversion = FPGAversion; }
80 
82  void setTCId(int TCId) { m_TCId = TCId; }
83 
85  void setFAMId(int FAMId) { m_FAMId = FAMId; }
86 
88  void setChannelId(int ChannelId) { m_ChannelId = ChannelId; }
89 
91  void setTEreconstruct(int TEreconstruct) { m_TEreconstruct = TEreconstruct; }
92 
94  void setConversionFactor(double ConversionFactor) { m_ConversionFactor = ConversionFactor; }
95 
97  void setToffset(int Toffset) { m_Toffset = Toffset; }
98 
100  void setThreshold(int Threshold) { m_Threshold = Threshold; }
101 
103  void setWavemean(int Wavemean) { m_Wavemean = Wavemean; }
104 
106  void setWavesigma(int Wavesigma) { m_Wavesigma = Wavesigma; }
107 
109  void setSignalPDF(std::vector<double> SignalPDF) { m_SignalPDF = SignalPDF;}
111  void setNoiseCovarianceMatrix(std::vector<double> NoiseCovarianceMatrix) { m_NoiseCovarianceMatrix = NoiseCovarianceMatrix;}
112 
114  int getFPGAversion() const
115  { return m_FPGAversion ; }
116 
118  int getTCId() const
119  { return m_TCId ; }
120 
122  int getFAMId() const
123  { return m_FAMId ; }
124 
126  int getChannelId() const
127  { return m_ChannelId ; }
128 
130  int getTEreconstruct() const
131  { return m_TEreconstruct ; }
132 
135  { return m_ConversionFactor ; }
136 
138  int getToffset() const
139  { return m_Toffset ; }
140 
142  int getThreshold() const
143  { return m_Threshold ; }
144 
146  int getWavemean() const
147  { return m_Wavemean ; }
148 
150  int getWavesigma() const
151  { return m_Wavesigma ; }
153  std::vector<double> setSignalPDF() { return m_SignalPDF ;}
155  std::vector<double> setNoiseCovarianceMatrix() { return m_NoiseCovarianceMatrix ;}
156 
157 
158  // private :
159 
162 
164  int m_TCId;
165 
167  int m_FAMId;
172 
175 
178 
181 
184 
188  std::vector<double> m_SignalPDF;
190  std::vector<double> m_NoiseCovarianceMatrix;
191 
192 
194  ClassDef(TRGECLFAMPara, 2); /*< the class title */
195  };
197 }
198 
199 #endif
200 
Belle2::TRGECLFAMPara
Raw TC result nefor digitizing.
Definition: TRGECLFAMPara.h:26
Belle2::TRGECLFAMPara::getTCId
int getTCId() const
Get TCId.
Definition: TRGECLFAMPara.h:118
Belle2::TRGECLFAMPara::m_FAMId
int m_FAMId
FAM ID.
Definition: TRGECLFAMPara.h:167
Belle2::TRGECLFAMPara::setSignalPDF
void setSignalPDF(std::vector< double > SignalPDF)
set Fitter Amplitude Coefficient
Definition: TRGECLFAMPara.h:109
Belle2::TRGECLFAMPara::setConversionFactor
void setConversionFactor(double ConversionFactor)
Set ConversionFactor CC.
Definition: TRGECLFAMPara.h:94
Belle2::TRGECLFAMPara::m_Wavemean
int m_Wavemean
Wavemean.
Definition: TRGECLFAMPara.h:183
Belle2::TRGECLFAMPara::getChannelId
int getChannelId() const
Get ChannelId.
Definition: TRGECLFAMPara.h:126
Belle2::TRGECLFAMPara::getWavesigma
int getWavesigma() const
Get Wavesigma.
Definition: TRGECLFAMPara.h:150
Belle2::TRGECLFAMPara::m_Threshold
int m_Threshold
Threshold.
Definition: TRGECLFAMPara.h:180
Belle2::TRGECLFAMPara::getTEreconstruct
int getTEreconstruct() const
Get T&E reconstruction method.
Definition: TRGECLFAMPara.h:130
Belle2::TRGECLFAMPara::setNoiseCovarianceMatrix
std::vector< double > setNoiseCovarianceMatrix()
Get Fitter Timing Coefficient.
Definition: TRGECLFAMPara.h:155
Belle2::TRGECLFAMPara::m_ConversionFactor
double m_ConversionFactor
ConversionFactor CC.
Definition: TRGECLFAMPara.h:174
Belle2::TRGECLFAMPara::setSignalPDF
std::vector< double > setSignalPDF()
Get Fitter Amplitude Coefficient.
Definition: TRGECLFAMPara.h:153
Belle2::TRGECLFAMPara::m_Toffset
int m_Toffset
T offset.
Definition: TRGECLFAMPara.h:177
Belle2::TRGECLFAMPara::setNoiseCovarianceMatrix
void setNoiseCovarianceMatrix(std::vector< double > NoiseCovarianceMatrix)
set Fitter Timing Coefficient
Definition: TRGECLFAMPara.h:111
Belle2::TRGECLFAMPara::setFAMId
void setFAMId(int FAMId)
Set FAMId.
Definition: TRGECLFAMPara.h:85
Belle2::TRGECLFAMPara::setChannelId
void setChannelId(int ChannelId)
Set TCId.
Definition: TRGECLFAMPara.h:88
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGECLFAMPara::m_TCId
int m_TCId
TCId.
Definition: TRGECLFAMPara.h:164
Belle2::TRGECLFAMPara::m_FPGAversion
int m_FPGAversion
FPGAversion.
Definition: TRGECLFAMPara.h:161
Belle2::TRGECLFAMPara::m_TEreconstruct
int m_TEreconstruct
T&E reconstruction method.
Definition: TRGECLFAMPara.h:171
Belle2::TRGECLFAMPara::setFPGAversion
void setFPGAversion(int FPGAversion)
Set FPGAversion.
Definition: TRGECLFAMPara.h:79
Belle2::TRGECLFAMPara::getThreshold
int getThreshold() const
Get Threshold.
Definition: TRGECLFAMPara.h:142
Belle2::TRGECLFAMPara::setTCId
void setTCId(int TCId)
Set TCId.
Definition: TRGECLFAMPara.h:82
Belle2::TRGECLFAMPara::m_Wavesigma
int m_Wavesigma
Wavesigma.
Definition: TRGECLFAMPara.h:186
Belle2::TRGECLFAMPara::setWavesigma
void setWavesigma(int Wavesigma)
Set Wavesigma.
Definition: TRGECLFAMPara.h:106
Belle2::TRGECLFAMPara::TRGECLFAMPara
TRGECLFAMPara(int FPGAversion, int TCId, int FAMId, int ChannelId, int TEreconstruct, double ConversionFactor, int Toffset, int Threshold, int Wavemean, int Wavesigma, std::vector< double > SignalPDF, std::vector< double > NoiseCovarianceMatrix)
Construction.
Definition: TRGECLFAMPara.h:48
Belle2::TRGECLFAMPara::setTEreconstruct
void setTEreconstruct(int TEreconstruct)
Set T&E reconstruction method.
Definition: TRGECLFAMPara.h:91
Belle2::TRGECLFAMPara::getFAMId
int getFAMId() const
Get FAMId.
Definition: TRGECLFAMPara.h:122
Belle2::TRGECLFAMPara::setWavemean
void setWavemean(int Wavemean)
Set Wavemean.
Definition: TRGECLFAMPara.h:103
Belle2::TRGECLFAMPara::TRGECLFAMPara
TRGECLFAMPara()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLFAMPara.h:30
Belle2::TRGECLFAMPara::m_ChannelId
int m_ChannelId
FAM Channel ID.
Definition: TRGECLFAMPara.h:169
Belle2::TRGECLFAMPara::getConversionFactor
int getConversionFactor() const
Get ConversionFactor CC.
Definition: TRGECLFAMPara.h:134
Belle2::TRGECLFAMPara::ClassDef
ClassDef(TRGECLFAMPara, 2)
the class title
Belle2::TRGECLFAMPara::setToffset
void setToffset(int Toffset)
Set T offset.
Definition: TRGECLFAMPara.h:97
Belle2::TRGECLFAMPara::setThreshold
void setThreshold(int Threshold)
Set Threshold.
Definition: TRGECLFAMPara.h:100
Belle2::TRGECLFAMPara::getToffset
int getToffset() const
Get T offset.
Definition: TRGECLFAMPara.h:138
Belle2::TRGECLFAMPara::m_SignalPDF
std::vector< double > m_SignalPDF
Fitter Amplitude Coefficient.
Definition: TRGECLFAMPara.h:188
Belle2::TRGECLFAMPara::getFPGAversion
int getFPGAversion() const
Get FPGAversion.
Definition: TRGECLFAMPara.h:114
Belle2::TRGECLFAMPara::getWavemean
int getWavemean() const
Get Wavemean.
Definition: TRGECLFAMPara.h:146
Belle2::TRGECLFAMPara::m_NoiseCovarianceMatrix
std::vector< double > m_NoiseCovarianceMatrix
Fitter Timing Coefficient.
Definition: TRGECLFAMPara.h:190