BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/AsciiDmp/include/AsciiDmp/AsciiData.hh
Go to the documentation of this file.
1#ifndef _AsciiData_h_
2#define _AsciiData_h_
3
4#include <iostream>
5#include <string>
6#include <vector>
7
8#include "dmplib.hh"
9
10using std::string;
11
12class FRMTVERSION : public Tagged {
13public:
15
16public:
17 int major;
18 int minor;
19 friend std::istream& operator>>( std::istream&, FRMTVERSION& x );
20 friend std::ostream& operator<<( std::ostream&, const FRMTVERSION& x );
21};
22
23class EVHEAD : public Tagged {
24public:
25 EVHEAD(){};
26
27public:
28 int runNo;
30 friend std::istream& operator>>( std::istream&, EVHEAD& x );
31 friend std::ostream& operator<<( std::ostream&, const EVHEAD& x );
32};
33
34class DECAYMODE : public Tagged {
35public:
37
38public:
39 int size;
40 int data[10];
41 friend std::istream& operator>>( std::istream&, DECAYMODE& x );
42 friend std::ostream& operator<<( std::ostream&, const DECAYMODE& x );
43};
44
46public:
48
49public:
52 float PDGCharge;
55 float px;
56 float py;
57 float pz;
58 float E;
61};
62
63class TRACKTRUTH : public Tagged {
64public:
66
67public:
68 int nTruth;
69 std::vector<TrackTruthType> truthCol;
70 friend std::istream& operator>>( std::istream&, TRACKTRUTH& x );
71 friend std::ostream& operator<<( std::ostream&, const TRACKTRUTH& x );
72};
73
75public:
77
78public:
81 float posX;
82 float posY;
83 float posZ;
84 float time;
85};
86
87class VERTEXTRUTH : public Tagged {
88public:
90
91public:
92 int nTruth;
93 std::vector<VertexTruthType> truthCol;
94 friend std::istream& operator>>( std::istream&, VERTEXTRUTH& x );
95 friend std::ostream& operator<<( std::ostream&, const VERTEXTRUTH& x );
96};
97
99public:
101
102public:
106 float edep;
107 float driftD;
108 float posX;
109 float posY;
110 float posZ;
112 friend std::istream& operator>>( std::istream&, MdcTruthType& x );
113 friend std::ostream& operator<<( std::ostream&, const MdcTruthType& x );
114};
115
116class MDCTRUTH : public Tagged {
117public:
119
120public:
122 std::vector<MdcTruthType> truthCol;
123 friend std::istream& operator>>( std::istream&, MDCTRUTH& x );
124 friend std::ostream& operator<<( std::ostream&, const MDCTRUTH& x );
125};
126
128public:
130
131public:
135 float posX;
136 float posY;
137 float posZ;
138 float px;
139 float py;
140 float pz;
141 float trackL;
142 float time;
143 friend std::istream& operator>>( std::istream&, TofTruthType& x );
144 friend std::ostream& operator<<( std::ostream&, const TofTruthType& x );
145};
146
147class TOFTRUTH : public Tagged {
148public:
150
151public:
153 std::vector<TofTruthType> truthCol;
154 friend std::istream& operator>>( std::istream&, TOFTRUTH& x );
155 friend std::ostream& operator<<( std::ostream&, const TOFTRUTH& x );
156};
157
159public:
161
162public:
167 float posX;
168 float posY;
169 float posZ;
170 float px;
171 float py;
172 float pz;
174 friend std::istream& operator>>( std::istream&, EmcTruthType& x );
175 friend std::ostream& operator<<( std::ostream&, const EmcTruthType& x );
176};
177
178class EMCTRUTH : public Tagged {
179public:
181
182public:
184 std::vector<EmcTruthType> truthCol;
185 friend std::istream& operator>>( std::istream&, EMCTRUTH& x );
186 friend std::ostream& operator<<( std::ostream&, const EMCTRUTH& x );
187};
188
190public:
192
193public:
196 int segId;
197 int gapId;
199 float posX;
200 float posY;
201 float posZ;
202 float px;
203 float py;
204 float pz;
205 friend std::istream& operator>>( std::istream&, MucTruthType& x );
206 friend std::ostream& operator<<( std::ostream&, const MucTruthType& x );
207};
208
209class MUCTRUTH : public Tagged {
210public:
212
213public:
215 std::vector<MucTruthType> truthCol;
216 friend std::istream& operator>>( std::istream&, MUCTRUTH& x );
217 friend std::ostream& operator<<( std::ostream&, const MUCTRUTH& x );
218};
219
221public:
223
224public:
230 friend std::istream& operator>>( std::istream&, MdcDigiType& x );
231 friend std::ostream& operator<<( std::ostream&, const MdcDigiType& x );
232};
233
234class MDCDIGI : public Tagged {
235public:
237
238public:
239 int nDigi;
240 std::vector<MdcDigiType> digiCol;
241 friend std::istream& operator>>( std::istream&, MDCDIGI& x );
242 friend std::ostream& operator<<( std::ostream&, const MDCDIGI& x );
243};
244
246public:
248
249public:
253 float posX;
254 float posY;
255 float posZ;
258 float globalT;
259 float theta;
261 float posFlag;
262 friend std::istream& operator>>( std::istream&, MdcHitType& x );
263 friend std::ostream& operator<<( std::ostream&, const MdcHitType& x );
264};
265
266class MDCHIT : public Tagged {
267public:
269
270public:
271 int nHit;
272 std::vector<MdcHitType> hitCol;
273 friend std::istream& operator>>( std::istream&, MDCHIT& x );
274 friend std::ostream& operator<<( std::ostream&, const MDCHIT& x );
275};
276
278public:
280
281public:
285 float forwADC;
286 float forwTDC;
287 float backADC;
288 float backTDC;
289
290 friend std::istream& operator>>( std::istream&, TofDigiType& x );
291 friend std::ostream& operator<<( std::ostream&, const TofDigiType& x );
292};
293
294class TOFDIGI : public Tagged {
295public:
297
298public:
299 int nDigi;
300 std::vector<TofDigiType> digiCol;
301 friend std::istream& operator>>( std::istream&, TOFDIGI& x );
302 friend std::ostream& operator<<( std::ostream&, const TOFDIGI& x );
303};
304
306public:
308
309public:
310 friend std::istream& operator>>( std::istream&, TofHitType& x );
311 friend std::ostream& operator<<( std::ostream&, const TofHitType& x );
312};
313
314class TOFHIT : public Tagged {
315public:
317
318public:
319 int nHit;
320 std::vector<TofHitType> hitCol;
321 friend std::istream& operator>>( std::istream&, TOFHIT& x );
322 friend std::ostream& operator<<( std::ostream&, const TOFHIT& x );
323};
324
326public:
328
329public:
335 float hitTime;
336 friend std::istream& operator>>( std::istream&, EmcDigiType& x );
337 friend std::ostream& operator<<( std::ostream&, const EmcDigiType& x );
338};
339
340class EMCDIGI : public Tagged {
341public:
343
344public:
345 int nDigi;
346 std::vector<EmcDigiType> digiCol;
347 friend std::istream& operator>>( std::istream&, EMCDIGI& x );
348 friend std::ostream& operator<<( std::ostream&, const EMCDIGI& x );
349};
350
352public:
354
355public:
356 friend std::istream& operator>>( std::istream&, EmcHitType& x );
357 friend std::ostream& operator<<( std::ostream&, const EmcHitType& x );
358};
359
360class EMCHIT : public Tagged {
361public:
363
364public:
365 int nHit;
366 std::vector<EmcHitType> hitCol;
367 friend std::istream& operator>>( std::istream&, EMCHIT& x );
368 friend std::ostream& operator<<( std::ostream&, const EMCHIT& x );
369};
370
372public:
374
375public:
378 int segNo;
379 int gapNo;
381 friend std::istream& operator>>( std::istream&, MucDigiType& x );
382 friend std::ostream& operator<<( std::ostream&, const MucDigiType& x );
383};
384
385class MUCDIGI : public Tagged {
386public:
388
389public:
390 int nDigi;
391 std::vector<MucDigiType> digiCol;
392 friend std::istream& operator>>( std::istream&, MUCDIGI& x );
393 friend std::ostream& operator<<( std::ostream&, const MUCDIGI& x );
394};
395
397public:
399
400public:
401 friend std::istream& operator>>( std::istream&, MucHitType& x );
402 friend std::ostream& operator<<( std::ostream&, const MucHitType& x );
403};
404
405class MUCHIT : public Tagged {
406public:
408
409public:
410 int nHit;
411 std::vector<MucHitType> hitCol;
412 friend std::istream& operator>>( std::istream&, MUCHIT& x );
413 friend std::ostream& operator<<( std::ostream&, const MUCHIT& x );
414};
415
416class EVENT : public Tagged {
417public:
418 EVENT(){};
419
420public:
433 friend std::istream& operator>>( std::istream&, EVENT& x );
434 friend std::ostream& operator<<( std::ostream&, const EVENT& x );
435};
436
457
458#endif // _AsciiData_h_
friend std::istream & operator>>(std::istream &, DECAYMODE &x)
Definition AsciiData.cc:46
friend std::ostream & operator<<(std::ostream &, const DECAYMODE &x)
Definition AsciiData.cc:55
friend std::istream & operator>>(std::istream &, EMCDIGI &x)
Definition AsciiData.cc:591
friend std::ostream & operator<<(std::ostream &, const EMCDIGI &x)
Definition AsciiData.cc:603
std::vector< EmcDigiType > digiCol
std::vector< EmcHitType > hitCol
friend std::ostream & operator<<(std::ostream &, const EMCHIT &x)
Definition AsciiData.cc:635
friend std::istream & operator>>(std::istream &, EMCHIT &x)
Definition AsciiData.cc:623
friend std::ostream & operator<<(std::ostream &, const EMCTRUTH &x)
Definition AsciiData.cc:319
friend std::istream & operator>>(std::istream &, EMCTRUTH &x)
Definition AsciiData.cc:307
std::vector< EmcTruthType > truthCol
friend std::ostream & operator<<(std::ostream &, const EVENT &x)
Definition AsciiData.cc:795
friend std::istream & operator>>(std::istream &, EVENT &x)
Definition AsciiData.cc:724
friend std::ostream & operator<<(std::ostream &, const EVHEAD &x)
Definition AsciiData.cc:35
friend std::istream & operator>>(std::istream &, EVHEAD &x)
Definition AsciiData.cc:26
friend std::ostream & operator<<(std::ostream &, const EmcDigiType &x)
Definition AsciiData.cc:580
friend std::istream & operator>>(std::istream &, EmcDigiType &x)
Definition AsciiData.cc:570
friend std::istream & operator>>(std::istream &, EmcHitType &x)
Definition AsciiData.cc:616
friend std::ostream & operator<<(std::ostream &, const EmcHitType &x)
Definition AsciiData.cc:618
friend std::ostream & operator<<(std::ostream &, const EmcTruthType &x)
Definition AsciiData.cc:291
friend std::istream & operator>>(std::istream &, EmcTruthType &x)
Definition AsciiData.cc:276
friend std::istream & operator>>(std::istream &, FRMTVERSION &x)
Definition AsciiData.cc:6
friend std::ostream & operator<<(std::ostream &, const FRMTVERSION &x)
Definition AsciiData.cc:15
friend std::istream & operator>>(std::istream &, HitEVENT &x)
Definition AsciiData.cc:816
friend std::ostream & operator<<(std::ostream &, const HitEVENT &x)
Definition AsciiData.cc:887
std::vector< MdcDigiType > digiCol
friend std::istream & operator>>(std::istream &, MDCDIGI &x)
Definition AsciiData.cc:407
friend std::ostream & operator<<(std::ostream &, const MDCDIGI &x)
Definition AsciiData.cc:419
friend std::ostream & operator<<(std::ostream &, const MDCHIT &x)
Definition AsciiData.cc:477
std::vector< MdcHitType > hitCol
friend std::istream & operator>>(std::istream &, MDCHIT &x)
Definition AsciiData.cc:465
friend std::ostream & operator<<(std::ostream &, const MDCTRUTH &x)
Definition AsciiData.cc:207
friend std::istream & operator>>(std::istream &, MDCTRUTH &x)
Definition AsciiData.cc:195
std::vector< MdcTruthType > truthCol
friend std::ostream & operator<<(std::ostream &, const MUCDIGI &x)
Definition AsciiData.cc:679
std::vector< MucDigiType > digiCol
friend std::istream & operator>>(std::istream &, MUCDIGI &x)
Definition AsciiData.cc:667
friend std::ostream & operator<<(std::ostream &, const MUCHIT &x)
Definition AsciiData.cc:711
std::vector< MucHitType > hitCol
friend std::istream & operator>>(std::istream &, MUCHIT &x)
Definition AsciiData.cc:699
friend std::istream & operator>>(std::istream &, MUCTRUTH &x)
Definition AsciiData.cc:363
std::vector< MucTruthType > truthCol
friend std::ostream & operator<<(std::ostream &, const MUCTRUTH &x)
Definition AsciiData.cc:375
friend std::istream & operator>>(std::istream &, MdcDigiType &x)
Definition AsciiData.cc:388
friend std::ostream & operator<<(std::ostream &, const MdcDigiType &x)
Definition AsciiData.cc:397
friend std::ostream & operator<<(std::ostream &, const MdcHitType &x)
Definition AsciiData.cc:448
friend std::istream & operator>>(std::istream &, MdcHitType &x)
Definition AsciiData.cc:432
friend std::ostream & operator<<(std::ostream &, const MdcTruthType &x)
Definition AsciiData.cc:181
friend std::istream & operator>>(std::istream &, MdcTruthType &x)
Definition AsciiData.cc:168
friend std::istream & operator>>(std::istream &, MucDigiType &x)
Definition AsciiData.cc:648
friend std::ostream & operator<<(std::ostream &, const MucDigiType &x)
Definition AsciiData.cc:657
friend std::ostream & operator<<(std::ostream &, const MucHitType &x)
Definition AsciiData.cc:694
friend std::istream & operator>>(std::istream &, MucHitType &x)
Definition AsciiData.cc:692
friend std::istream & operator>>(std::istream &, MucTruthType &x)
Definition AsciiData.cc:332
friend std::ostream & operator<<(std::ostream &, const MucTruthType &x)
Definition AsciiData.cc:347
friend std::ostream & operator<<(std::ostream &, const TOFDIGI &x)
Definition AsciiData.cc:525
friend std::istream & operator>>(std::istream &, TOFDIGI &x)
Definition AsciiData.cc:513
std::vector< TofDigiType > digiCol
friend std::ostream & operator<<(std::ostream &, const TOFHIT &x)
Definition AsciiData.cc:557
friend std::istream & operator>>(std::istream &, TOFHIT &x)
Definition AsciiData.cc:545
std::vector< TofHitType > hitCol
friend std::istream & operator>>(std::istream &, TOFTRUTH &x)
Definition AsciiData.cc:251
std::vector< TofTruthType > truthCol
friend std::ostream & operator<<(std::ostream &, const TOFTRUTH &x)
Definition AsciiData.cc:263
friend std::istream & operator>>(std::istream &, TRACKTRUTH &x)
Definition AsciiData.cc:97
friend std::ostream & operator<<(std::ostream &, const TRACKTRUTH &x)
Definition AsciiData.cc:109
std::vector< TrackTruthType > truthCol
friend std::istream & operator>>(std::istream &, TofDigiType &x)
Definition AsciiData.cc:490
friend std::ostream & operator<<(std::ostream &, const TofDigiType &x)
Definition AsciiData.cc:501
friend std::istream & operator>>(std::istream &, TofHitType &x)
Definition AsciiData.cc:538
friend std::ostream & operator<<(std::ostream &, const TofHitType &x)
Definition AsciiData.cc:540
friend std::ostream & operator<<(std::ostream &, const TofTruthType &x)
Definition AsciiData.cc:235
friend std::istream & operator>>(std::istream &, TofTruthType &x)
Definition AsciiData.cc:220
std::vector< VertexTruthType > truthCol
friend std::istream & operator>>(std::istream &, VERTEXTRUTH &x)
Definition AsciiData.cc:143
friend std::ostream & operator<<(std::ostream &, const VERTEXTRUTH &x)
Definition AsciiData.cc:155