Belle II Software  release-05-01-25
TRGECLETMPara.h
1 //-----------------------------------------------------------
2 // $Id$
3 //-----------------------------------------------------------
4 // Filename : TRGECLETMPara.h
5 // Section : TRG ECL
6 // Owner : HanEol Cho/Insoo 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 TRGECLETMPARA_H
15 #define TRGECLETMPARA_H
16 
17 #include <TObject.h>
18 
19 namespace Belle2 {
25  class TRGECLETMPara : public TObject {
27  public:
31  m_FPGAversion(1)
32  // m_moduleID(0),
33 
34  {
35  }
37  TRGECLETMPara(int FPGAversion,
38  double ADCto100MeV,
39  int ELow,
40  int EHigh,
41  int ELum,
42  int FWD2DBhabha[14],
43  int BWD2DBhabha[14],
44  int Bhabha3DSelectionThreshold[2],
45  int Bhabha3DVetoThreshold[2],
46  int Bhabha3DSelectionAngle[4],
47  int Bhabha3DVetoAngle[4],
48  int mumuThreshold,
49  int mumuAngle[4],
50  int LowMultiThreshold[4],
51  int Prescalefactor[3],
52  int TriggerLatency,
53  int ETMDelay,
54  int n300MeVCluster,
55  int ECLBurstThreshold
56  ) :
57  m_FPGAversion(FPGAversion), m_ADCto100MeV(ADCto100MeV), m_ELow(ELow), m_EHigh(EHigh), m_ELum(ELum), m_mumuThreshold(mumuThreshold),
58  m_TriggerLatency(TriggerLatency), m_ETMDelay(ETMDelay), m_n300MeVCluster(n300MeVCluster), m_ECLBurstThreshold(ECLBurstThreshold)
59  {
60  for (int index = 0; index < 14; index++) {
61  m_2DBhabhaFWD[index] = FWD2DBhabha[index];
62  m_2DBhabhaBWD[index] = BWD2DBhabha[index];
63  }
64  m_3DBhabhaSelectionThreshold[0] = Bhabha3DSelectionThreshold[0];
65  m_3DBhabhaSelectionThreshold[1] = Bhabha3DSelectionThreshold[1];
66  m_3DBhabhaVetoThreshold[0] = Bhabha3DVetoThreshold[0];
67  m_3DBhabhaVetoThreshold[1] = Bhabha3DVetoThreshold[1];
68 
69  m_3DBhabhaSelectionAngle[0] = Bhabha3DSelectionAngle[0];
70  m_3DBhabhaSelectionAngle[1] = Bhabha3DSelectionAngle[1];
71  m_3DBhabhaSelectionAngle[2] = Bhabha3DSelectionAngle[2];
72  m_3DBhabhaSelectionAngle[3] = Bhabha3DSelectionAngle[3];
73 
74  m_3DBhabhaVetoAngle[0] = Bhabha3DVetoAngle[0];
75  m_3DBhabhaVetoAngle[1] = Bhabha3DVetoAngle[1];
76  m_3DBhabhaVetoAngle[2] = Bhabha3DVetoAngle[2];
77  m_3DBhabhaVetoAngle[3] = Bhabha3DVetoAngle[3];
78 
79  m_Prescalefactor[0] = Prescalefactor[0];
80  m_Prescalefactor[1] = Prescalefactor[1];
81  m_Prescalefactor[2] = Prescalefactor[2];
82 
83  m_mumuAngle[0] = mumuAngle[0];
84  m_mumuAngle[1] = mumuAngle[1];
85  m_mumuAngle[2] = mumuAngle[2];
86  m_mumuAngle[3] = mumuAngle[3];
87 
88 
89 
90 
91  m_LowMultiThreshold[0] = LowMultiThreshold[0];
92  m_LowMultiThreshold[1] = LowMultiThreshold[1];
93  m_LowMultiThreshold[2] = LowMultiThreshold[2];
94  m_LowMultiThreshold[3] = LowMultiThreshold[3];
95 
96 
97  }
98 
99 
101  void setFPGAversion(int FPGAversion) { m_FPGAversion = FPGAversion; }
103  void setADCto100MeV(double ADCto100MeV) {m_ADCto100MeV = ADCto100MeV;}
105  void setELow(int ELow) {m_ELow = ELow;}
107  void setEHigh(int EHigh) {m_EHigh = EHigh;}
109  void setELum(int ELum) {m_ELum = ELum;}
111  void set2DBhabhaFWD(int i, int FWD2DBhabha[14]) {m_2DBhabhaFWD[i] = FWD2DBhabha[i];}
113  void set2DBhabhaBWD(int i, int BWD2DBhabha[14]) {m_2DBhabhaBWD[i] = BWD2DBhabha[i];}
115  void set3DBhabhaSelectionThreshold(int i, int Bhabha3DSelectionThreshold[2]) {m_3DBhabhaSelectionThreshold[i] = Bhabha3DSelectionThreshold[i];}
117  void set3DBhabhaVetoThreshold(int i, int Bhabha3DVetoThreshold[2]) {m_3DBhabhaVetoThreshold[i] = Bhabha3DVetoThreshold[i];}
119  void set3DBhabhaSelectionAngle(int i, int Bhabha3DSelectionAngle[4]) {m_3DBhabhaSelectionAngle[i] = Bhabha3DSelectionAngle[i];}
121  void set3DBhabhaVetoAngle(int i, int Bhabha3DVetoAngle[4]) {m_3DBhabhaVetoAngle[i] = Bhabha3DVetoAngle[i];}
123  void setmumuThreshold(int mumuThreshold) {m_mumuThreshold = mumuThreshold;}
125  void setmumuAngle(int i, int mumuAngle[4]) {m_mumuAngle[i] = mumuAngle[i];}
127  void setPrescalefactor(int i, int Prescalefactor[3]) {m_Prescalefactor[i] = Prescalefactor[i];}
128 
130  void setLowMultiThreshold(int i, int LowMultiThreshold[4]) {m_LowMultiThreshold[i] = LowMultiThreshold[i];}
132  void setTriggerLatency(int TriggerLatency) {m_TriggerLatency = TriggerLatency;}
134  void setETMDelay(int ETMDelay) {m_ETMDelay = ETMDelay;}
135 
137  void setn300MeVCluster(int n300MeVCluster) {m_n300MeVCluster = n300MeVCluster;}
138 
140  void setECLBurstThreshold(int ECLBurstThreshold) {m_ECLBurstThreshold = ECLBurstThreshold;}
141 
142 
143 
145  int getFPGAversion() const
146  { return m_FPGAversion ; }
148  double getADCto100MeV() const {return m_ADCto100MeV;}
150  int getELow() const {return m_ELow;}
152  int getEHigh() const {return m_EHigh ;}
154  int getELum() const {return m_ELum ;}
156  int get2DBhabhaFWD(int i) const {return m_2DBhabhaFWD[i] ;}
158  int get2DBhabhaBWD(int i) const {return m_2DBhabhaBWD[i] ;}
162  int get3DBhabhaVetoThreshold(int i) const {return m_3DBhabhaVetoThreshold[i] ;}
166  int get3DBhabhaVetoAngle(int i) const {return m_3DBhabhaVetoAngle[i] ;}
168  int getmumuThreshold() const {return m_mumuThreshold ;}
170  int getmumuAngle(int i) const {return m_mumuAngle[i] ;}
172  int getPrescalefactor(int i) const {return m_Prescalefactor[i] ;}
174  int getn300MeVCluster() const {return m_n300MeVCluster;}
177 
179  int getLowMultiThreshold(int i) const {return m_LowMultiThreshold[i];}
181  int getTriggerLatency() const {return m_TriggerLatency ;}
183  int getETMDelay() const {return m_ETMDelay ;}
184 
185 
186  private :
187 
188 
190  int m_FPGAversion = 0;
192  double m_ADCto100MeV = 0.0;
194  int m_ELow = 0;
196  int m_EHigh = 0;
198  int m_ELum = 0;
200  int m_2DBhabhaFWD[14] = {0};
202  int m_2DBhabhaBWD[14] = {0};
210  int m_3DBhabhaVetoAngle[4] = {0};
214  int m_mumuAngle[4] = {0};
216  int m_LowMultiThreshold[4] = {0};
218  int m_Prescalefactor[3] = {0};
222  int m_ETMDelay = 0;
227 
229  ClassDef(TRGECLETMPara, 2); /*< the class title */
230  };
232 }
233 
234 #endif
Belle2::TRGECLETMPara::get2DBhabhaFWD
int get2DBhabhaFWD(int i) const
Get Belle 1 type(2D) Bhabha threshold in forward part (Higher)
Definition: TRGECLETMPara.h:156
Belle2::TRGECLETMPara::getEHigh
int getEHigh() const
Get Total Energy > 1000 MeV.
Definition: TRGECLETMPara.h:152
Belle2::TRGECLETMPara::setELow
void setELow(int ELow)
Set Total Energy > 500 MeV.
Definition: TRGECLETMPara.h:105
Belle2::TRGECLETMPara::get3DBhabhaSelectionThreshold
int get3DBhabhaSelectionThreshold(int i) const
Get 3D Bhabha Threshold.
Definition: TRGECLETMPara.h:160
Belle2::TRGECLETMPara::getTriggerLatency
int getTriggerLatency() const
Get Letency of Trigger Window (interval btw L1 and ETM TRG )
Definition: TRGECLETMPara.h:181
Belle2::TRGECLETMPara::m_2DBhabhaFWD
int m_2DBhabhaFWD[14]
Belle 1 type(2D) Bhabha threshold in forward part (Higher)
Definition: TRGECLETMPara.h:200
Belle2::TRGECLETMPara::set3DBhabhaSelectionAngle
void set3DBhabhaSelectionAngle(int i, int Bhabha3DSelectionAngle[4])
Set 3D Selection Bhabha Angle.
Definition: TRGECLETMPara.h:119
Belle2::TRGECLETMPara::getETMDelay
int getETMDelay() const
Get Delay of ETM to GDL.
Definition: TRGECLETMPara.h:183
Belle2::TRGECLETMPara::m_3DBhabhaVetoAngle
int m_3DBhabhaVetoAngle[4]
3D Veto Bhabha Angle Selection
Definition: TRGECLETMPara.h:210
Belle2::TRGECLETMPara::setmumuAngle
void setmumuAngle(int i, int mumuAngle[4])
Set mumu Threshold.
Definition: TRGECLETMPara.h:125
Belle2::TRGECLETMPara::getn300MeVCluster
int getn300MeVCluster() const
get the number of cluster exceeding 300 MeV.
Definition: TRGECLETMPara.h:174
Belle2::TRGECLETMPara::m_mumuThreshold
int m_mumuThreshold
mumu bit Threshold
Definition: TRGECLETMPara.h:212
Belle2::TRGECLETMPara
Raw TC result nefor digitizing.
Definition: TRGECLETMPara.h:26
Belle2::TRGECLETMPara::TRGECLETMPara
TRGECLETMPara()
Empty constructor Recommended for ROOT IO.
Definition: TRGECLETMPara.h:30
Belle2::TRGECLETMPara::m_LowMultiThreshold
int m_LowMultiThreshold[4]
Low Multiplicity bit Threshold.
Definition: TRGECLETMPara.h:216
Belle2::TRGECLETMPara::set2DBhabhaFWD
void set2DBhabhaFWD(int i, int FWD2DBhabha[14])
Set Belle 1 type(2D) Bhabha threshold in forward part (Higher)
Definition: TRGECLETMPara.h:111
Belle2::TRGECLETMPara::getELow
int getELow() const
Get Total Energy > 500 MeV.
Definition: TRGECLETMPara.h:150
Belle2::TRGECLETMPara::get3DBhabhaVetoAngle
int get3DBhabhaVetoAngle(int i) const
Get 3D Bhabha Threshold.
Definition: TRGECLETMPara.h:166
Belle2::TRGECLETMPara::setADCto100MeV
void setADCto100MeV(double ADCto100MeV)
Set 100 MeV/ADC conversion factor.
Definition: TRGECLETMPara.h:103
Belle2::TRGECLETMPara::m_2DBhabhaBWD
int m_2DBhabhaBWD[14]
Belle 1 type(2D) Bhabha threshold in backward part (Lower)
Definition: TRGECLETMPara.h:202
Belle2::TRGECLETMPara::set3DBhabhaVetoThreshold
void set3DBhabhaVetoThreshold(int i, int Bhabha3DVetoThreshold[2])
Set 3D Veto Bhabha Threshold.
Definition: TRGECLETMPara.h:117
Belle2::TRGECLETMPara::m_Prescalefactor
int m_Prescalefactor[3]
Prescale factor.
Definition: TRGECLETMPara.h:218
Belle2::TRGECLETMPara::getECLBurstThreshold
int getECLBurstThreshold() const
get ECL Burst Threshold
Definition: TRGECLETMPara.h:176
Belle2::TRGECLETMPara::m_TriggerLatency
int m_TriggerLatency
Letency of Trigger Window (Interval btw L1 and ETM TRG )
Definition: TRGECLETMPara.h:220
Belle2::TRGECLETMPara::m_ELow
int m_ELow
Total Energy > 500 MeV.
Definition: TRGECLETMPara.h:194
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGECLETMPara::setn300MeVCluster
void setn300MeVCluster(int n300MeVCluster)
Set the number of cluster exceeding 300 MeV.
Definition: TRGECLETMPara.h:137
Belle2::TRGECLETMPara::setEHigh
void setEHigh(int EHigh)
Set Total Energy > 1000 MeV.
Definition: TRGECLETMPara.h:107
Belle2::TRGECLETMPara::m_3DBhabhaVetoThreshold
int m_3DBhabhaVetoThreshold[2]
3D Veto Bhabha Threshold
Definition: TRGECLETMPara.h:206
Belle2::TRGECLETMPara::getmumuAngle
int getmumuAngle(int i) const
get mumu Threshold
Definition: TRGECLETMPara.h:170
Belle2::TRGECLETMPara::setTriggerLatency
void setTriggerLatency(int TriggerLatency)
Set Letency of Trigger Window (interval btw L1 and ETM TRG )
Definition: TRGECLETMPara.h:132
Belle2::TRGECLETMPara::m_3DBhabhaSelectionAngle
int m_3DBhabhaSelectionAngle[4]
3D Selection Bhabha Angle Selection
Definition: TRGECLETMPara.h:208
Belle2::TRGECLETMPara::getFPGAversion
int getFPGAversion() const
Get FPGAversion.
Definition: TRGECLETMPara.h:145
Belle2::TRGECLETMPara::get3DBhabhaSelectionAngle
int get3DBhabhaSelectionAngle(int i) const
Get 3D Bhabha Threshold.
Definition: TRGECLETMPara.h:164
Belle2::TRGECLETMPara::getADCto100MeV
double getADCto100MeV() const
Get 100 MeV/ADC conversion factor.
Definition: TRGECLETMPara.h:148
Belle2::TRGECLETMPara::setPrescalefactor
void setPrescalefactor(int i, int Prescalefactor[3])
Set Bhabha Prescale Factor.
Definition: TRGECLETMPara.h:127
Belle2::TRGECLETMPara::setELum
void setELum(int ELum)
Set Total Energy > 3000 MeV.
Definition: TRGECLETMPara.h:109
Belle2::TRGECLETMPara::m_ECLBurstThreshold
int m_ECLBurstThreshold
ECL Burst bit Threshold.
Definition: TRGECLETMPara.h:226
Belle2::TRGECLETMPara::getPrescalefactor
int getPrescalefactor(int i) const
get Bhabha Prescale Factor
Definition: TRGECLETMPara.h:172
Belle2::TRGECLETMPara::setmumuThreshold
void setmumuThreshold(int mumuThreshold)
Set mumu Threshold.
Definition: TRGECLETMPara.h:123
Belle2::TRGECLETMPara::set2DBhabhaBWD
void set2DBhabhaBWD(int i, int BWD2DBhabha[14])
Set Belle 1 type(2D) Bhabha threshold in backward part (Lower)
Definition: TRGECLETMPara.h:113
Belle2::TRGECLETMPara::m_EHigh
int m_EHigh
Total Energy > 1000 MeV.
Definition: TRGECLETMPara.h:196
Belle2::TRGECLETMPara::getmumuThreshold
int getmumuThreshold() const
Set mumu Threshold.
Definition: TRGECLETMPara.h:168
Belle2::TRGECLETMPara::ClassDef
ClassDef(TRGECLETMPara, 2)
the class title
Belle2::TRGECLETMPara::m_ETMDelay
int m_ETMDelay
Delay of ETM to GDL.
Definition: TRGECLETMPara.h:222
Belle2::TRGECLETMPara::setLowMultiThreshold
void setLowMultiThreshold(int i, int LowMultiThreshold[4])
Set Low Multiplicity bit Threshold.
Definition: TRGECLETMPara.h:130
Belle2::TRGECLETMPara::setETMDelay
void setETMDelay(int ETMDelay)
Set Delay of ETM to GDL.
Definition: TRGECLETMPara.h:134
Belle2::TRGECLETMPara::TRGECLETMPara
TRGECLETMPara(int FPGAversion, double ADCto100MeV, int ELow, int EHigh, int ELum, int FWD2DBhabha[14], int BWD2DBhabha[14], int Bhabha3DSelectionThreshold[2], int Bhabha3DVetoThreshold[2], int Bhabha3DSelectionAngle[4], int Bhabha3DVetoAngle[4], int mumuThreshold, int mumuAngle[4], int LowMultiThreshold[4], int Prescalefactor[3], int TriggerLatency, int ETMDelay, int n300MeVCluster, int ECLBurstThreshold)
Construction.
Definition: TRGECLETMPara.h:37
Belle2::TRGECLETMPara::m_ELum
int m_ELum
Total Energy > 3000 MeV.
Definition: TRGECLETMPara.h:198
Belle2::TRGECLETMPara::m_FPGAversion
int m_FPGAversion
FPGAversion.
Definition: TRGECLETMPara.h:190
Belle2::TRGECLETMPara::getELum
int getELum() const
Get Total Energy > 3000 MeV.
Definition: TRGECLETMPara.h:154
Belle2::TRGECLETMPara::get3DBhabhaVetoThreshold
int get3DBhabhaVetoThreshold(int i) const
Get 3D Bhabha Threshold.
Definition: TRGECLETMPara.h:162
Belle2::TRGECLETMPara::m_3DBhabhaSelectionThreshold
int m_3DBhabhaSelectionThreshold[2]
3D Selection Bhabha Threshold
Definition: TRGECLETMPara.h:204
Belle2::TRGECLETMPara::get2DBhabhaBWD
int get2DBhabhaBWD(int i) const
Get Belle 1 type(2D) Bhabha threshold in backward part (Lower)
Definition: TRGECLETMPara.h:158
Belle2::TRGECLETMPara::m_mumuAngle
int m_mumuAngle[4]
mumu bit angle selection
Definition: TRGECLETMPara.h:214
Belle2::TRGECLETMPara::setECLBurstThreshold
void setECLBurstThreshold(int ECLBurstThreshold)
Set ECL Burst Threshold.
Definition: TRGECLETMPara.h:140
Belle2::TRGECLETMPara::setFPGAversion
void setFPGAversion(int FPGAversion)
Set FPGAversion.
Definition: TRGECLETMPara.h:101
Belle2::TRGECLETMPara::set3DBhabhaVetoAngle
void set3DBhabhaVetoAngle(int i, int Bhabha3DVetoAngle[4])
Set 3D Veto Bhabha Angle.
Definition: TRGECLETMPara.h:121
Belle2::TRGECLETMPara::getLowMultiThreshold
int getLowMultiThreshold(int i) const
Get Low Multiplicity bit Threshold.
Definition: TRGECLETMPara.h:179
Belle2::TRGECLETMPara::set3DBhabhaSelectionThreshold
void set3DBhabhaSelectionThreshold(int i, int Bhabha3DSelectionThreshold[2])
Set 3D Selection Bhabha Threshold.
Definition: TRGECLETMPara.h:115
Belle2::TRGECLETMPara::m_n300MeVCluster
int m_n300MeVCluster
The number of cluster exceeding 300 MeV.
Definition: TRGECLETMPara.h:224
Belle2::TRGECLETMPara::m_ADCto100MeV
double m_ADCto100MeV
100 MeV/ADC conversion factor
Definition: TRGECLETMPara.h:192