Belle II Software development
KLMTrgSummary.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#ifndef KLMTrgSummary_H
10#define KLMTrgSummary_H
11
12#include <framework/datastore/RelationsObject.h>
13
14namespace Belle2 {
21
22 public:
23
25 KLMTrgSummary() = default;
26
27
28
30 virtual ~KLMTrgSummary() { }
31
32 // accessors
33
34
35
36 void setBKLM_n_trg_sectors(int n_trg)
37 {
38 m_bklm_n_trg_sectors = n_trg;
39 }
40
41
42 void setEKLM_n_trg_sectors(int n_trg)
43 {
44 m_eklm_n_trg_sectors = n_trg;
45 }
46 void setBKLM_back_to_back_flag(int n_trg)
47 {
48 m_bklm_back_to_back_flag = n_trg;
49
50 }
51 void setEKLM_back_to_back_flag(int n_trg)
52 {
53 m_eklm_back_to_back_flag = n_trg;
54
55 }
56
57
58 void setSector_mask_Backward_Barrel(int mask)
59 {
60 Sector_mask_Backward_Barrel = mask;
61 }
62
63 void setSector_mask_Forward_Barrel(int mask)
64 {
65 Sector_mask_Forward_Barrel = mask;
66
67 }
68 void setSector_mask_Backward_Endcap(int mask)
69 {
70 Sector_mask_Backward_Endcap = mask;
71
72 }
73 void setSector_mask_Forward_Endcap(int mask)
74 {
75 Sector_mask_Forward_Endcap = mask;
76 }
77
78
79
80
81 int getBKLM_n_trg_sectors() const
82 {
83 return m_bklm_n_trg_sectors;
84 }
85
86
87 int getEKLM_n_trg_sectors() const
88 {
89 return m_eklm_n_trg_sectors;
90 }
91 int getBKLM_back_to_back_flag() const
92 {
93 return m_bklm_back_to_back_flag ;
94
95 }
96 int getEKLM_back_to_back_flag() const
97 {
98 return m_eklm_back_to_back_flag ;
99
100 }
101
102
103 int getSector_mask_Backward_Barrel() const
104 {
105 return Sector_mask_Backward_Barrel ;
106 }
107
108 int getSector_mask_Forward_Barrel() const
109 {
110 return Sector_mask_Forward_Barrel ;
111 }
112
113 int getSector_mask_Backward_Endcap() const
114 {
115 return Sector_mask_Backward_Endcap;
116 }
117 int getSector_mask_Forward_Endcap() const
118 {
119 return Sector_mask_Forward_Endcap ;
120 }
121
122
123
124 int getSector_mask_OR_Backward_Barrel() const
125 {
126 return Sector_mask_OR_Backward_Barrel ;
127 }
128
129 int getSector_mask_OR_Forward_Barrel() const
130 {
131 return Sector_mask_OR_Forward_Barrel ;
132 }
133
134 int getSector_mask_OR_Backward_Endcap() const
135 {
136 return Sector_mask_OR_Backward_Endcap;
137 }
138 int getSector_mask_OR_Forward_Endcap() const
139 {
140 return Sector_mask_OR_Forward_Endcap ;
141 }
142
143
144
145
146
147 void setSector_mask_OR_Backward_Barrel(int mask)
148 {
149 Sector_mask_OR_Backward_Barrel = mask;
150 }
151
152 void setSector_mask_OR_Forward_Barrel(int mask)
153 {
154 Sector_mask_OR_Forward_Barrel = mask;
155
156 }
157 void setSector_mask_OR_Backward_Endcap(int mask)
158 {
159 Sector_mask_OR_Backward_Endcap = mask;
160
161 }
162 void setSector_mask_OR_Forward_Endcap(int mask)
163 {
164 Sector_mask_OR_Forward_Endcap = mask;
165 }
166
167
168 void setSector_mask_SLF_Backward_Barrel(int mask)
169 {
170 Sector_mask_SLF_Backward_Barrel = mask;
171 }
172
173 void setSector_mask_SLF_Forward_Barrel(int mask)
174 {
175 Sector_mask_SLF_Forward_Barrel = mask;
176 }
177
178 void setSector_mask_SLF_Backward_Endcap(int mask)
179 {
180 Sector_mask_SLF_Backward_Endcap = mask;
181 }
182
183
184 void setSector_mask_SLF_Forward_Endcap(int mask)
185 {
186 Sector_mask_SLF_Forward_Endcap = mask;
187 }
188
189 int getSector_mask_SLF_Backward_Barrel() const
190 {
191 return Sector_mask_SLF_Backward_Barrel ;
192 }
193
194 int getSector_mask_SLF_Forward_Barrel() const
195 {
196 return Sector_mask_SLF_Forward_Barrel ;
197 }
198
199 int getSector_mask_SLF_Backward_Endcap() const
200 {
201 return Sector_mask_SLF_Backward_Endcap;
202 }
203 int getSector_mask_SLF_Forward_Endcap() const
204 {
205 return Sector_mask_SLF_Forward_Endcap ;
206 }
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223 void setSector_mask_SLF_OR_Backward_Barrel(int mask)
224 {
225 Sector_mask_SLF_OR_Backward_Barrel = mask;
226 }
227
228 void setSector_mask_SLF_OR_Forward_Barrel(int mask)
229 {
230 Sector_mask_SLF_OR_Forward_Barrel = mask;
231 }
232
233 void setSector_mask_SLF_OR_Backward_Endcap(int mask)
234 {
235 Sector_mask_SLF_OR_Backward_Endcap = mask;
236 }
237
238
239 void setSector_mask_SLF_OR_Forward_Endcap(int mask)
240 {
241 Sector_mask_SLF_OR_Forward_Endcap = mask;
242 }
243
244 int getSector_mask_SLF_OR_Backward_Barrel() const
245 {
246 return Sector_mask_SLF_OR_Backward_Barrel ;
247 }
248
249 int getSector_mask_SLF_OR_Forward_Barrel() const
250 {
251 return Sector_mask_SLF_OR_Forward_Barrel ;
252 }
253
254 int getSector_mask_SLF_OR_Backward_Endcap() const
255 {
256 return Sector_mask_SLF_OR_Backward_Endcap;
257 }
258 int getSector_mask_SLF_OR_Forward_Endcap() const
259 {
260 return Sector_mask_SLF_OR_Forward_Endcap ;
261 }
262
263
264 private:
265
266 int Sector_mask_Backward_Barrel = 0;
267 int Sector_mask_Forward_Barrel = 0;
268 int Sector_mask_Backward_Endcap = 0;
269 int Sector_mask_Forward_Endcap = 0;
270
271 int Sector_mask_OR_Backward_Barrel = 0;
272 int Sector_mask_OR_Forward_Barrel = 0;
273 int Sector_mask_OR_Backward_Endcap = 0;
274 int Sector_mask_OR_Forward_Endcap = 0;
275
276 int Sector_mask_SLF_Backward_Barrel = 0;
277 int Sector_mask_SLF_Forward_Barrel = 0;
278 int Sector_mask_SLF_Backward_Endcap = 0;
279 int Sector_mask_SLF_Forward_Endcap = 0;
280
281
282 int Sector_mask_SLF_OR_Backward_Barrel = 0;
283 int Sector_mask_SLF_OR_Forward_Barrel = 0;
284 int Sector_mask_SLF_OR_Backward_Endcap = 0;
285 int Sector_mask_SLF_OR_Forward_Endcap = 0;
286
287 int m_bklm_n_trg_sectors = 0;
288 int m_eklm_n_trg_sectors = 0 ;
289 int m_bklm_back_to_back_flag = 0 ;
290 int m_eklm_back_to_back_flag = 0;
291
292
293
294 ClassDef(KLMTrgSummary, 6);
295 };
297} // end of namespace Belle2
298
299#endif //KLMTrgSummary_H
Store KLM TRG track information as a ROOT object.
Definition: KLMTrgSummary.h:20
virtual ~KLMTrgSummary()
Destructor.
Definition: KLMTrgSummary.h:30
KLMTrgSummary()=default
Empty constructor for ROOT IO (needed to make the class storable)
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.