CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/AsciiDmp/AsciiDmp-01-04-03/AsciiDmp/AsciiData.hh
Go to the documentation of this file.
1#ifndef _AsciiData_h_
2#define _AsciiData_h_
3
4#include <string>
5#include <iostream>
6#include <vector>
7
8#include "dmplib.hh"
9
10using std::string;
11
12class FRMTVERSION : public Tagged {
13public:
15public:
16 int major;
17 int minor;
18 friend std::istream& operator>>(std::istream&, FRMTVERSION& x);
19 friend std::ostream& operator<<(std::ostream&, const FRMTVERSION& x);
20};
21
22class EVHEAD : public Tagged {
23public:
24 EVHEAD() {};
25public:
26 int runNo;
28 friend std::istream& operator>>(std::istream&, EVHEAD& x);
29 friend std::ostream& operator<<(std::ostream&, const EVHEAD& x);
30};
31
32class DECAYMODE : public Tagged {
33 public:
34 DECAYMODE () {};
35 public:
36 int size;
37 int data[10];
38 friend std::istream& operator>>(std::istream&, DECAYMODE& x);
39 friend std::ostream& operator<<(std::ostream&, const DECAYMODE& x);
40};
41
43public:
45public:
48 float PDGCharge;
51 float px;
52 float py;
53 float pz;
54 float E;
57};
58
59class TRACKTRUTH : public Tagged {
60public:
62public:
63 int nTruth;
64 std::vector<TrackTruthType> truthCol;
65 friend std::istream& operator>>(std::istream&, TRACKTRUTH& x);
66 friend std::ostream& operator<<(std::ostream&, const TRACKTRUTH& x);
67};
68
70public:
72public:
75 float posX;
76 float posY;
77 float posZ;
78 float time;
79};
80
81class VERTEXTRUTH : public Tagged {
82public:
84public:
85 int nTruth;
86 std::vector<VertexTruthType> truthCol;
87 friend std::istream& operator>>(std::istream&, VERTEXTRUTH& x);
88 friend std::ostream& operator<<(std::ostream&, const VERTEXTRUTH& x);
89};
90
91
93public:
95public:
98 int cellNo;
99 float edep;
100 float driftD;
101 float posX;
102 float posY;
103 float posZ;
105 friend std::istream& operator>>(std::istream&, MdcTruthType& x);
106 friend std::ostream& operator<<(std::ostream&, const MdcTruthType& x);
107};
108
109class MDCTRUTH : public Tagged {
110public:
112public:
114 std::vector<MdcTruthType> truthCol;
115 friend std::istream& operator>>(std::istream&, MDCTRUTH& x);
116 friend std::ostream& operator<<(std::ostream&, const MDCTRUTH& x);
117};
118
120public:
122public:
128 float m_L_step;
141//**************************************
154//*************************************
155 friend std::istream& operator>>(std::istream&, CgemTruthType& x);
156 friend std::ostream& operator<<(std::ostream&, const CgemTruthType& x);
157};
158
159class CGEMTRUTH : public Tagged {
160public:
162public:
164 std::vector<CgemTruthType> truthCol;
165 friend std::istream& operator>>(std::istream&, CGEMTRUTH& x);
166 friend std::ostream& operator<<(std::ostream&, const CGEMTRUTH& x);
167};
168
170public:
172public:
176 float posX;
177 float posY;
178 float posZ;
179 float px;
180 float py;
181 float pz;
182 float trackL;
183 float time;
184 friend std::istream& operator>>(std::istream&, TofTruthType& x);
185 friend std::ostream& operator<<(std::ostream&, const TofTruthType& x);
186};
187
188class TOFTRUTH : public Tagged {
189public:
191public:
193 std::vector<TofTruthType> truthCol;
194 friend std::istream& operator>>(std::istream&, TOFTRUTH& x);
195 friend std::ostream& operator<<(std::ostream&, const TOFTRUTH& x);
196};
197
199public:
201public:
206 float posX;
207 float posY;
208 float posZ;
209 float px;
210 float py;
211 float pz;
213 friend std::istream& operator>>(std::istream&, EmcTruthType& x);
214 friend std::ostream& operator<<(std::ostream&, const EmcTruthType& x);
215};
216
217class EMCTRUTH : public Tagged {
218public:
220public:
222 std::vector<EmcTruthType> truthCol;
223 friend std::istream& operator>>(std::istream&, EMCTRUTH& x);
224 friend std::ostream& operator<<(std::ostream&, const EMCTRUTH& x);
225};
226
228public:
230public:
233 int segId;
234 int gapId;
236 float posX;
237 float posY;
238 float posZ;
239 float px;
240 float py;
241 float pz;
242 friend std::istream& operator>>(std::istream&, MucTruthType& x);
243 friend std::ostream& operator<<(std::ostream&, const MucTruthType& x);
244};
245
246class MUCTRUTH : public Tagged {
247public:
249public:
251 std::vector<MucTruthType> truthCol;
252 friend std::istream& operator>>(std::istream&, MUCTRUTH& x);
253 friend std::ostream& operator<<(std::ostream&, const MUCTRUTH& x);
254};
255
257public:
259public:
265 friend std::istream& operator>>(std::istream&, MdcDigiType& x);
266 friend std::ostream& operator<<(std::ostream&, const MdcDigiType& x);
267};
268
269class MDCDIGI : public Tagged {
270public:
272public:
273 int nDigi;
274 std::vector<MdcDigiType> digiCol;
275 friend std::istream& operator>>(std::istream&, MDCDIGI& x);
276 friend std::ostream& operator<<(std::ostream&, const MDCDIGI& x);
277};
278
280public:
282public:
286 float posX;
287 float posY;
288 float posZ;
291 float globalT;
292 float theta;
294 float posFlag;
295 friend std::istream& operator>>(std::istream&, MdcHitType& x);
296 friend std::ostream& operator<<(std::ostream&, const MdcHitType& x);
297};
298
299class MDCHIT : public Tagged {
300public:
301 MDCHIT() {};
302public:
303 int nHit;
304 std::vector<MdcHitType> hitCol;
305 friend std::istream& operator>>(std::istream&, MDCHIT& x);
306 friend std::ostream& operator<<(std::ostream&, const MDCHIT& x);
307};
308
310public:
312public:
316 int m_F_XV;
320 friend std::istream& operator>>(std::istream&, CgemDigiType& x);
321 friend std::ostream& operator<<(std::ostream&, const CgemDigiType& x);
322};
323
324class CGEMDIGI : public Tagged {
325public:
327public:
328 int nDigi;
329 std::vector<CgemDigiType> digiCol;
330 friend std::istream& operator>>(std::istream&, CGEMDIGI& x);
331 friend std::ostream& operator<<(std::ostream&, const CGEMDIGI& x);
332};
333
335public:
337public:
343 float m_L_step;
356//************************************
369//************************************
370 friend std::istream& operator>>(std::istream&, CgemHitType& x);
371 friend std::ostream& operator<<(std::ostream&, const CgemHitType& x);
372};
373
374class CGEMHIT : public Tagged {
375public:
377public:
378 int nHit;
379 std::vector<CgemHitType> hitCol;
380 friend std::istream& operator>>(std::istream&, CGEMHIT& x);
381 friend std::ostream& operator<<(std::ostream&, const CGEMHIT& x);
382};
383
385public:
387public:
391 float forwADC;
392 float forwTDC;
393 float backADC;
394 float backTDC;
395
396 friend std::istream& operator>>(std::istream&, TofDigiType& x);
397 friend std::ostream& operator<<(std::ostream&, const TofDigiType& x);
398};
399
400class TOFDIGI : public Tagged {
401public:
403public:
404 int nDigi;
405 std::vector<TofDigiType> digiCol;
406 friend std::istream& operator>>(std::istream&, TOFDIGI& x);
407 friend std::ostream& operator<<(std::ostream&, const TOFDIGI& x);
408};
409
411public:
413public:
414
415 friend std::istream& operator>>(std::istream&, TofHitType& x);
416 friend std::ostream& operator<<(std::ostream&, const TofHitType& x);
417};
418
419class TOFHIT : public Tagged {
420public:
421 TOFHIT() {};
422public:
423 int nHit;
424 std::vector<TofHitType> hitCol;
425 friend std::istream& operator>>(std::istream&, TOFHIT& x);
426 friend std::ostream& operator<<(std::ostream&, const TOFHIT& x);
427};
428
430public:
432public:
438 float hitTime;
439 friend std::istream& operator>>(std::istream&, EmcDigiType& x);
440 friend std::ostream& operator<<(std::ostream&, const EmcDigiType& x);
441};
442
443class EMCDIGI : public Tagged {
444public:
446public:
447 int nDigi;
448 std::vector<EmcDigiType> digiCol;
449 friend std::istream& operator>>(std::istream&, EMCDIGI& x);
450 friend std::ostream& operator<<(std::ostream&, const EMCDIGI& x);
451};
452
454public:
456public:
457
458 friend std::istream& operator>>(std::istream&, EmcHitType& x);
459 friend std::ostream& operator<<(std::ostream&, const EmcHitType& x);
460};
461
462class EMCHIT : public Tagged {
463public:
464 EMCHIT() {};
465public:
466 int nHit;
467 std::vector<EmcHitType> hitCol;
468 friend std::istream& operator>>(std::istream&, EMCHIT& x);
469 friend std::ostream& operator<<(std::ostream&, const EMCHIT& x);
470};
471
473public:
475public:
478 int segNo;
479 int gapNo;
481 friend std::istream& operator>>(std::istream&, MucDigiType& x);
482 friend std::ostream& operator<<(std::ostream&, const MucDigiType& x);
483};
484
485class MUCDIGI : public Tagged {
486public:
488public:
489 int nDigi;
490 std::vector<MucDigiType> digiCol;
491 friend std::istream& operator>>(std::istream&, MUCDIGI& x);
492 friend std::ostream& operator<<(std::ostream&, const MUCDIGI& x);
493};
494
496public:
498public:
499
500 friend std::istream& operator>>(std::istream&, MucHitType& x);
501 friend std::ostream& operator<<(std::ostream&, const MucHitType& x);
502};
503
504class MUCHIT : public Tagged {
505public:
506 MUCHIT() {};
507public:
508 int nHit;
509 std::vector<MucHitType> hitCol;
510 friend std::istream& operator>>(std::istream&, MUCHIT& x);
511 friend std::ostream& operator<<(std::ostream&, const MUCHIT& x);
512};
513
514class EVENT : public Tagged {
515public:
516 EVENT() {};
517public:
532 friend std::istream& operator>>(std::istream&, EVENT& x);
533 friend std::ostream& operator<<(std::ostream&, const EVENT& x);
534};
535
536class HitEVENT : public Tagged {
537public:
539public:
554 friend std::istream& operator>>(std::istream&, HitEVENT& x);
555 friend std::ostream& operator<<(std::ostream&, const HitEVENT& x);
556};
557
558#endif // _AsciiData_h_
friend std::istream & operator>>(std::istream &, CGEMDIGI &x)
Definition: AsciiData.cc:647
friend std::ostream & operator<<(std::ostream &, const CGEMDIGI &x)
Definition: AsciiData.cc:660
friend std::istream & operator>>(std::istream &, CGEMHIT &x)
Definition: AsciiData.cc:748
friend std::ostream & operator<<(std::ostream &, const CGEMHIT &x)
Definition: AsciiData.cc:761
friend std::ostream & operator<<(std::ostream &, const CGEMTRUTH &x)
Definition: AsciiData.cc:323
friend std::istream & operator>>(std::istream &, CGEMTRUTH &x)
Definition: AsciiData.cc:310
friend std::istream & operator>>(std::istream &, CgemDigiType &x)
Definition: AsciiData.cc:622
friend std::ostream & operator<<(std::ostream &, const CgemDigiType &x)
Definition: AsciiData.cc:634
friend std::ostream & operator<<(std::ostream &, const CgemHitType &x)
Definition: AsciiData.cc:710
friend std::istream & operator>>(std::istream &, CgemHitType &x)
Definition: AsciiData.cc:673
friend std::ostream & operator<<(std::ostream &, const CgemTruthType &x)
Definition: AsciiData.cc:274
friend std::istream & operator>>(std::istream &, CgemTruthType &x)
Definition: AsciiData.cc:237
friend std::istream & operator>>(std::istream &, DECAYMODE &x)
Definition: AsciiData.cc:48
friend std::ostream & operator<<(std::ostream &, const DECAYMODE &x)
Definition: AsciiData.cc:60
friend std::istream & operator>>(std::istream &, EMCDIGI &x)
Definition: AsciiData.cc:887
friend std::ostream & operator<<(std::ostream &, const EMCDIGI &x)
Definition: AsciiData.cc:900
friend std::istream & operator>>(std::istream &, EMCHIT &x)
Definition: AsciiData.cc:925
friend std::ostream & operator<<(std::ostream &, const EMCHIT &x)
Definition: AsciiData.cc:938
friend std::istream & operator>>(std::istream &, EMCTRUTH &x)
Definition: AsciiData.cc:429
friend std::ostream & operator<<(std::ostream &, const EMCTRUTH &x)
Definition: AsciiData.cc:442
friend std::ostream & operator<<(std::ostream &, const EVENT &x)
Definition: AsciiData.cc:1129
friend std::istream & operator>>(std::istream &, EVENT &x)
Definition: AsciiData.cc:1037
friend std::ostream & operator<<(std::ostream &, const EVHEAD &x)
Definition: AsciiData.cc:37
friend std::istream & operator>>(std::istream &, EVHEAD &x)
Definition: AsciiData.cc:27
friend std::ostream & operator<<(std::ostream &, const EmcDigiType &x)
Definition: AsciiData.cc:875
friend std::istream & operator>>(std::istream &, EmcDigiType &x)
Definition: AsciiData.cc:864
friend std::ostream & operator<<(std::ostream &, const EmcHitType &x)
Definition: AsciiData.cc:918
friend std::istream & operator>>(std::istream &, EmcHitType &x)
Definition: AsciiData.cc:913
friend std::istream & operator>>(std::istream &, EmcTruthType &x)
Definition: AsciiData.cc:395
friend std::ostream & operator<<(std::ostream &, const EmcTruthType &x)
Definition: AsciiData.cc:411
friend std::istream & operator>>(std::istream &, FRMTVERSION &x)
Definition: AsciiData.cc:6
friend std::ostream & operator<<(std::ostream &, const FRMTVERSION &x)
Definition: AsciiData.cc:16
friend std::ostream & operator<<(std::ostream &, const HitEVENT &x)
Definition: AsciiData.cc:1244
friend std::istream & operator>>(std::istream &, HitEVENT &x)
Definition: AsciiData.cc:1152
friend std::ostream & operator<<(std::ostream &, const MDCDIGI &x)
Definition: AsciiData.cc:548
friend std::istream & operator>>(std::istream &, MDCDIGI &x)
Definition: AsciiData.cc:535
friend std::ostream & operator<<(std::ostream &, const MDCHIT &x)
Definition: AsciiData.cc:609
friend std::istream & operator>>(std::istream &, MDCHIT &x)
Definition: AsciiData.cc:596
friend std::ostream & operator<<(std::ostream &, const MDCTRUTH &x)
Definition: AsciiData.cc:224
friend std::istream & operator>>(std::istream &, MDCTRUTH &x)
Definition: AsciiData.cc:211
friend std::istream & operator>>(std::istream &, MUCDIGI &x)
Definition: AsciiData.cc:973
friend std::ostream & operator<<(std::ostream &, const MUCDIGI &x)
Definition: AsciiData.cc:986
friend std::ostream & operator<<(std::ostream &, const MUCHIT &x)
Definition: AsciiData.cc:1024
friend std::istream & operator>>(std::istream &, MUCHIT &x)
Definition: AsciiData.cc:1011
friend std::istream & operator>>(std::istream &, MUCTRUTH &x)
Definition: AsciiData.cc:488
friend std::ostream & operator<<(std::ostream &, const MUCTRUTH &x)
Definition: AsciiData.cc:501
friend std::istream & operator>>(std::istream &, MdcDigiType &x)
Definition: AsciiData.cc:514
friend std::ostream & operator<<(std::ostream &, const MdcDigiType &x)
Definition: AsciiData.cc:524
friend std::ostream & operator<<(std::ostream &, const MdcHitType &x)
Definition: AsciiData.cc:578
friend std::istream & operator>>(std::istream &, MdcHitType &x)
Definition: AsciiData.cc:561
friend std::ostream & operator<<(std::ostream &, const MdcTruthType &x)
Definition: AsciiData.cc:196
friend std::istream & operator>>(std::istream &, MdcTruthType &x)
Definition: AsciiData.cc:182
friend std::ostream & operator<<(std::ostream &, const MucDigiType &x)
Definition: AsciiData.cc:961
friend std::istream & operator>>(std::istream &, MucDigiType &x)
Definition: AsciiData.cc:951
friend std::istream & operator>>(std::istream &, MucHitType &x)
Definition: AsciiData.cc:999
friend std::ostream & operator<<(std::ostream &, const MucHitType &x)
Definition: AsciiData.cc:1004
friend std::ostream & operator<<(std::ostream &, const MucTruthType &x)
Definition: AsciiData.cc:471
friend std::istream & operator>>(std::istream &, MucTruthType &x)
Definition: AsciiData.cc:455
friend std::ostream & operator<<(std::ostream &, const TOFDIGI &x)
Definition: AsciiData.cc:813
friend std::istream & operator>>(std::istream &, TOFDIGI &x)
Definition: AsciiData.cc:800
friend std::istream & operator>>(std::istream &, TOFHIT &x)
Definition: AsciiData.cc:838
friend std::ostream & operator<<(std::ostream &, const TOFHIT &x)
Definition: AsciiData.cc:851
friend std::ostream & operator<<(std::ostream &, const TOFTRUTH &x)
Definition: AsciiData.cc:382
friend std::istream & operator>>(std::istream &, TOFTRUTH &x)
Definition: AsciiData.cc:369
friend std::istream & operator>>(std::istream &, TRACKTRUTH &x)
Definition: AsciiData.cc:106
friend std::ostream & operator<<(std::ostream &, const TRACKTRUTH &x)
Definition: AsciiData.cc:119
friend std::ostream & operator<<(std::ostream &, const TofDigiType &x)
Definition: AsciiData.cc:786
friend std::istream & operator>>(std::istream &, TofDigiType &x)
Definition: AsciiData.cc:774
friend std::ostream & operator<<(std::ostream &, const TofHitType &x)
Definition: AsciiData.cc:831
friend std::istream & operator>>(std::istream &, TofHitType &x)
Definition: AsciiData.cc:826
friend std::ostream & operator<<(std::ostream &, const TofTruthType &x)
Definition: AsciiData.cc:352
friend std::istream & operator>>(std::istream &, TofTruthType &x)
Definition: AsciiData.cc:336
friend std::istream & operator>>(std::istream &, VERTEXTRUTH &x)
Definition: AsciiData.cc:155
friend std::ostream & operator<<(std::ostream &, const VERTEXTRUTH &x)
Definition: AsciiData.cc:168