BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdstTables.h
Go to the documentation of this file.
1#ifndef _MdstTables_h_
2#define _MdstTables_h_
3
4#include <string>
5#include <iostream>
6#include <vector>
7
9
10using namespace std;
11
12//
13//*** MDST v.2.30. Run header
14//
16public:
18public:
19 int id;
22 int exp_no;
23 int run_no;
24};
25
27public:
28 static vector<Mdst_run_head>* getMdstRunHeadCol(void);
29private:
30 static vector<Mdst_run_head>* s_col;
31};
32
33
34//
35//*** Run trailer
36//
38public:
40public:
41 int id;
42 int exp_no;
43 int run_no;
44};
45
47public:
48 static vector<Mdst_run_end>* getMdstRunEndCol(void);
49private:
50 static vector<Mdst_run_end>* s_col;
51};
52
53
54//
55//*** Event header
56//
58public:
60public:
61 int id;
62 int exp_no;
63 int run_no;
66 int date;
67 int time;
68};
69
71public:
72 static vector<Mdst_event>* getMdstEventCol(void);
73private:
74 static vector<Mdst_event>* s_col;
75};
76
77
78//
79//***Additional event header
80//
82public:
84public:
85 int id;
86 float scale;
87 int flag[5];
88};
89
91public:
92 static vector<Mdst_event_add>* getMdstEventAddCol(void);
93private:
94 static vector<Mdst_event_add>* s_col;
95};
96
97
98//
99//*** Data quality in the current event
100//
102public:
104public:
105 int id;
106 char name[4];
108};
109
111public:
112 static vector<Mdst_quality>* getMdstQualityCol(void);
113private:
114 static vector<Mdst_quality>* s_col;
115};
116
117
118//
119//*** Reconstructed charged tracks.
120//
121class Mdst_trk;
122class Mdst_acc;
123class Mdst_tof;
124class Mdst_muid;
126public:
128public:
129 int id;
130 float charge;
131 float px;
132 float py;
133 float pz;
134 float mass;
136 float pid_e;
137 float pid_mu;
138 float pid_pi;
139 float pid_K;
140 float pid_p;
141 // int elid;
145 // Mdst_klm * klm;
147};
148
150public:
151 static vector<Mdst_charged>* getMdstChargedCol(void);
152private:
153 static vector<Mdst_charged>* s_col;
154};
155
156
157//
158//*** Reconstructed V0-particles, i.e. Ks, Lambda,
159//*** Lambda-bar, converted-gamma.
160//
163public:
165public:
166 int id;
167 int kind;
169 float p[4];
170 float v[3];
171 float z_dist;
172 float chisq;
173 int type;
175};
176
178public:
179 static vector<Mdst_vee2>* getMdstVee2Col(void);
180private:
181 static vector<Mdst_vee2>* s_col;
182};
183
184
185//
186//*** Track params. and error matrix of V0 daughters
187//*** before the vtx-constraint fit.
188//
190public:
192public:
193 int id;
194 float helix_p[5];
195 float helix_m[5];
196 float error_p[15];
197 float error_m[15];
198};
199
201public:
202 static vector<Mdst_vee_daughters>* getMdstVeeDaughtersCol(void);
203private:
204 static vector<Mdst_vee_daughters>* s_col;
205};
206
207
208//
209//*** Reconstructed gamma's.
210//
211class Mdst_ecl;
212class Mdst_efc;
214public:
216public:
217 int id;
218 float px;
219 float py;
220 float pz;
223};
224
226public:
227 static vector<Mdst_gamma>* getMdstGammaCol(void);
228private:
229 static vector<Mdst_gamma>* s_col;
230};
231
232
233//
234//*** Reconstructed pi0's.
235//
236class Mdst_pi0 {
237public:
239public:
240 int id;
242 float px;
243 float py;
244 float pz;
245 float energy;
246 float mass;
247 float chisq;
248};
249
251public:
252 static vector<Mdst_pi0>* getMdstPi0Col(void);
253private:
254 static vector<Mdst_pi0>* s_col;
255};
256
257
258//
259//*** Reconstructed K-long's.
260//
261class Mdst_ecl;
262class Mdst_klm_cluster;
264public:
266public:
267 int id;
268 float cos_x;
269 float cos_y;
270 float cos_z;
272 // Mdst_klm * klm;
274};
275
277public:
278 static vector<Mdst_klong>* getMdstKlongCol(void);
279private:
280 static vector<Mdst_klong>* s_col;
281};
282
283
284//
285//*** Muon ID information.
286//
287class Mdst_klm_mu;
289public:
291public:
292 int id;
294 int muon;
296};
297
299public:
300 static vector<Mdst_muid>* getMdstMuidCol(void);
301private:
302 static vector<Mdst_muid>* s_col;
303};
304
305
306//
307//*** TRK(=CDC plus SVD) information.
308//
309class Mdst_trk_fit;
310class Mdst_trk {
311public:
313public:
314 int id;
318 float dEdx;
319 float dEdx_exp[5];
320 float sigma_dEdx[5];
321 float pid_e;
322 float pid_mu;
323 float pid_pi;
324 float pid_K;
325 float pid_p;
326};
327
329public:
330 static vector<Mdst_trk>* getMdstTrkCol(void);
331private:
332 static vector<Mdst_trk>* s_col;
333};
334
335
336//
337//***
338//
340public:
342public:
343 int id;
344 int stat[10];
345 float buff[10];
346};
347
349public:
350 static vector<Mdst_trk_add>* getMdstTrkAddCol(void);
351private:
352 static vector<Mdst_trk_add>* s_col;
353};
354
355
356//
357//*** Track fit results with multiple mass hypotheses.
358//
360public:
362public:
363 int id;
365 int hit_cdc[2];
367 int nhits[5];
368 float mass;
369 float pivot_x;
370 float pivot_y;
371 float pivot_z;
372 float helix[5];
373 float error[15];
374 float chisq;
375 int ndf;
376 float first_x;
377 float first_y;
378 float first_z;
379 float last_x;
380 float last_y;
381 float last_z;
382};
383
385public:
386 static vector<Mdst_trk_fit>* getMdstTrkFitCol(void);
387private:
388 static vector<Mdst_trk_fit>* s_col;
389};
390
391
392//
393//*** ACC (Aerogel Cherenkov Counter) information.
394//
395class Mdst_acc {
396public:
398public:
399 int id;
401 int fire;
403 float pid_e;
404 float pid_mu;
405 float pid_pi;
406 float pid_K;
407 float pid_p;
408};
409
411public:
412 static vector<Mdst_acc>* getMdstAccCol(void);
413private:
414 static vector<Mdst_acc>* s_col;
415};
416
417
418//
419//*** TOF (Time Of Flight counter) information.
420//
421class Mdst_tof {
422public:
424public:
425 int id;
428 float tof;
429 float tof_exp[5];
431 float ndf[5];
432 float pid_e;
433 float pid_mu;
434 float pid_pi;
435 float pid_K;
436 float pid_p;
437 float cl_e;
438 float cl_mu;
439 float cl_pi;
440 float cl_K;
441 float cl_p;
442};
443
445public:
446 static vector<Mdst_tof>* getMdstTofCol(void);
447private:
448 static vector<Mdst_tof>* s_col;
449};
450
451
452//
453//*** ECL (Electromagnetic CaLorimeter) information.
454//
455class Mdst_ecl {
456public:
458public:
459 int id;
460 int match;
462 float energy;
463 float phi;
464 float theta;
465 float r;
466 float error[6];
468};
469
471public:
472 static vector<Mdst_ecl>* getMdstEclCol(void);
473private:
474 static vector<Mdst_ecl>* s_col;
475};
476
477
478//
479//*** ECL (Electromagnetic Calorimeter) information add on.
480//
481class Mdst_ecl_cr;
483public:
485public:
486 int id;
487 float mass;
488 float width;
489 float e9oe25;
491 float seed;
492 int cId;
493 float property[10];
494 int nhits;
497};
498
500public:
501 static vector<Mdst_ecl_aux>* getMdstEclAuxCol(void);
502private:
503 static vector<Mdst_ecl_aux>* s_col;
504};
505
506
507//
508//*** ECL (Electromagnetic Calorimeter) information- Connected
509//*** Region(super-cluster): not calibrated yet.
510//
512public:
514public:
515 int id;
516 int match;
518 float energy;
519 float phi;
520 float theta;
521 float r;
522 float mass;
523 float width;
524 float property[10];
525 int nhits;
527};
528
530public:
531 static vector<Mdst_ecl_cr>* getMdstEclCrCol(void);
532private:
533 static vector<Mdst_ecl_cr>* s_col;
534};
535
536
537//
538//*** TRK to ECL match information.
539//
541public:
543public:
544 int id;
547 int type;
548 int cId;
549 float x[3];
550 float p[3];
551 float error[21];
552};
553
555public:
556 static vector<Mdst_ecl_trk>* getMdstEclTrkCol(void);
557private:
558 static vector<Mdst_ecl_trk>* s_col;
559};
560
561
562//
563//*** Cluster information of KLM.
564//
566public:
568public:
569 int id;
575 float phi;
576 float theta;
577 float error[3];
578};
579
581public:
582 static vector<Mdst_klm_cluster>* getMdstKlmClusterCol(void);
583private:
584 static vector<Mdst_klm_cluster>* s_col;
585};
586
587
588//
589//*** Extended muon ID information related to KLM.
590//
592public:
594public:
595 int id;
600};
601
603public:
604 static vector<Mdst_klm_mu>* getMdstKlmMuCol(void);
605private:
606 static vector<Mdst_klm_mu>* s_col;
607};
608
609
610//
611//*** Muon ID Extended Information.
612//
614public:
616public:
617 int id;
625 float Chi_2;
638};
639
641public:
642 static vector<Mdst_klm_mu_ex>* getMdstKlmMuExCol(void);
643private:
644 static vector<Mdst_klm_mu_ex>* s_col;
645};
646
647
648//
649//*** EFC (Extreme Forward Calorimeter) information.
650//
651class Mdst_efc {
652public:
654public:
655 int id;
656 int quality[2];
657 float energy;
658 float phi;
659 float theta;
660 float error[6];
661};
662
664public:
665 static vector<Mdst_efc>* getMdstEfcCol(void);
666private:
667 static vector<Mdst_efc>* s_col;
668};
669
670
671//
672//*** Cross reference between track and hepevt
673//
675public:
677public:
678 int id;
681 float relation[3];
682};
683
685public:
686 static vector<Mdst_sim_trk>* getMdstSimTrkCol(void);
687private:
688 static vector<Mdst_sim_trk>* s_col;
689};
690
691
692//
693//*** Cross reference between shower and hepevt
694//
696public:
698public:
699 int id;
702 float relation[3];
703};
704
706public:
707 static vector<Mdst_sim_ecl>* getMdstSimEclCol(void);
708private:
709 static vector<Mdst_sim_ecl>* s_col;
710};
711
712
713//
714//*** Random seeds
715//
717public:
719public:
720 int id;
721 int seed1;
722 int seed2;
723 int iseq;
724};
725
727public:
728 static vector<Mdst_sim_rand>* getMdstSimRandCol(void);
729private:
730 static vector<Mdst_sim_rand>* s_col;
731};
732
733
734#endif // _MdstTables_h_
735
static vector< Mdst_acc > * getMdstAccCol(void)
Definition: MdstTables.cxx:207
static vector< Mdst_charged > * getMdstChargedCol(void)
Definition: MdstTables.cxx:75
static vector< Mdst_ecl_aux > * getMdstEclAuxCol(void)
Definition: MdstTables.cxx:246
static vector< Mdst_ecl > * getMdstEclCol(void)
Definition: MdstTables.cxx:233
static vector< Mdst_ecl_cr > * getMdstEclCrCol(void)
Definition: MdstTables.cxx:260
static vector< Mdst_ecl_trk > * getMdstEclTrkCol(void)
Definition: MdstTables.cxx:273
static vector< Mdst_efc > * getMdstEfcCol(void)
Definition: MdstTables.cxx:325
static vector< Mdst_event_add > * getMdstEventAddCol(void)
Definition: MdstTables.cxx:49
static vector< Mdst_event > * getMdstEventCol(void)
Definition: MdstTables.cxx:36
static vector< Mdst_gamma > * getMdstGammaCol(void)
Definition: MdstTables.cxx:116
static vector< Mdst_klm_cluster > * getMdstKlmClusterCol(void)
Definition: MdstTables.cxx:286
static vector< Mdst_klm_mu > * getMdstKlmMuCol(void)
Definition: MdstTables.cxx:299
static vector< Mdst_klm_mu_ex > * getMdstKlmMuExCol(void)
Definition: MdstTables.cxx:312
static vector< Mdst_klong > * getMdstKlongCol(void)
Definition: MdstTables.cxx:142
static vector< Mdst_muid > * getMdstMuidCol(void)
Definition: MdstTables.cxx:155
static vector< Mdst_pi0 > * getMdstPi0Col(void)
Definition: MdstTables.cxx:129
static vector< Mdst_quality > * getMdstQualityCol(void)
Definition: MdstTables.cxx:62
static vector< Mdst_run_end > * getMdstRunEndCol(void)
Definition: MdstTables.cxx:23
static vector< Mdst_run_head > * getMdstRunHeadCol(void)
Definition: MdstTables.cxx:10
static vector< Mdst_sim_ecl > * getMdstSimEclCol(void)
Definition: MdstTables.cxx:350
static vector< Mdst_sim_rand > * getMdstSimRandCol(void)
Definition: MdstTables.cxx:363
static vector< Mdst_sim_trk > * getMdstSimTrkCol(void)
Definition: MdstTables.cxx:337
static vector< Mdst_tof > * getMdstTofCol(void)
Definition: MdstTables.cxx:220
static vector< Mdst_trk_add > * getMdstTrkAddCol(void)
Definition: MdstTables.cxx:181
static vector< Mdst_trk > * getMdstTrkCol(void)
Definition: MdstTables.cxx:168
static vector< Mdst_trk_fit > * getMdstTrkFitCol(void)
Definition: MdstTables.cxx:194
static vector< Mdst_vee2 > * getMdstVee2Col(void)
Definition: MdstTables.cxx:89
static vector< Mdst_vee_daughters > * getMdstVeeDaughtersCol(void)
Definition: MdstTables.cxx:103
int quality
Definition: MdstTables.h:400
float pid_e
Definition: MdstTables.h:403
int fire
Definition: MdstTables.h:401
float pid_mu
Definition: MdstTables.h:404
float photo_electron
Definition: MdstTables.h:402
float pid_K
Definition: MdstTables.h:406
float pid_p
Definition: MdstTables.h:407
float pid_pi
Definition: MdstTables.h:405
float pid_pi
Definition: MdstTables.h:138
Mdst_acc * acc
Definition: MdstTables.h:143
Mdst_trk * trk
Definition: MdstTables.h:142
Mdst_muid * muid
Definition: MdstTables.h:146
Mdst_tof * tof
Definition: MdstTables.h:144
float pid_mu
Definition: MdstTables.h:137
float charge
Definition: MdstTables.h:130
float e9oe25unf
Definition: MdstTables.h:490
float e9oe25
Definition: MdstTables.h:489
Mdst_ecl_cr * cr
Definition: MdstTables.h:495
Mdst_trk * trk
Definition: MdstTables.h:496
float width
Definition: MdstTables.h:523
float mass
Definition: MdstTables.h:522
float energy
Definition: MdstTables.h:518
float theta
Definition: MdstTables.h:520
float error[21]
Definition: MdstTables.h:551
Mdst_ecl * ecl
Definition: MdstTables.h:545
Mdst_trk * trk
Definition: MdstTables.h:546
float x[3]
Definition: MdstTables.h:549
float p[3]
Definition: MdstTables.h:550
int electron
Definition: MdstTables.h:467
float error[6]
Definition: MdstTables.h:466
int match
Definition: MdstTables.h:460
float energy
Definition: MdstTables.h:462
float phi
Definition: MdstTables.h:463
float r
Definition: MdstTables.h:465
int quality
Definition: MdstTables.h:461
float theta
Definition: MdstTables.h:464
float energy
Definition: MdstTables.h:657
float theta
Definition: MdstTables.h:659
float phi
Definition: MdstTables.h:658
float error[6]
Definition: MdstTables.h:660
int quality[2]
Definition: MdstTables.h:656
int event_no
Definition: MdstTables.h:64
int trigger
Definition: MdstTables.h:65
int run_no
Definition: MdstTables.h:63
int exp_no
Definition: MdstTables.h:62
Mdst_ecl * ecl
Definition: MdstTables.h:221
float pz
Definition: MdstTables.h:220
Mdst_efc * efc
Definition: MdstTables.h:222
float py
Definition: MdstTables.h:219
float px
Definition: MdstTables.h:218
Mdst_trk * trk
Definition: MdstTables.h:570
Mdst_ecl * ecl
Definition: MdstTables.h:571
float error[3]
Definition: MdstTables.h:577
float Pion_likelihood
Definition: MdstTables.h:620
float Kaon_likelihood
Definition: MdstTables.h:621
float Miss_likelihood
Definition: MdstTables.h:622
Mdst_charged * pMDST_Charged
Definition: MdstTables.h:618
float Muon_likelihood
Definition: MdstTables.h:619
float Junk_likelihood
Definition: MdstTables.h:623
float absp_len_hit
Definition: MdstTables.h:597
float absp_len_pas
Definition: MdstTables.h:596
Mdst_ecl * ecl
Definition: MdstTables.h:271
Mdst_klm_cluster * klmc
Definition: MdstTables.h:273
float cos_y
Definition: MdstTables.h:269
float cos_z
Definition: MdstTables.h:270
float cos_x
Definition: MdstTables.h:268
Mdst_klm_mu * klm
Definition: MdstTables.h:295
int quality
Definition: MdstTables.h:293
float chisq
Definition: MdstTables.h:247
float py
Definition: MdstTables.h:243
float energy
Definition: MdstTables.h:245
float pz
Definition: MdstTables.h:244
Mdst_gamma * gamma[2]
Definition: MdstTables.h:241
float mass
Definition: MdstTables.h:246
float px
Definition: MdstTables.h:242
char name[4]
Definition: MdstTables.h:106
Mdst_ecl * ecl
Definition: MdstTables.h:700
float relation[3]
Definition: MdstTables.h:702
Gen_hepevt * hepevt
Definition: MdstTables.h:701
Mdst_trk * trk
Definition: MdstTables.h:679
Gen_hepevt * hepevt
Definition: MdstTables.h:680
float relation[3]
Definition: MdstTables.h:681
float cl_e
Definition: MdstTables.h:437
float pid_p
Definition: MdstTables.h:436
int quality
Definition: MdstTables.h:426
float cl_p
Definition: MdstTables.h:441
float pid_pi
Definition: MdstTables.h:434
float pid_e
Definition: MdstTables.h:432
float pid_mu
Definition: MdstTables.h:433
float cl_mu
Definition: MdstTables.h:438
float sigma_tof
Definition: MdstTables.h:430
float tof
Definition: MdstTables.h:428
float pid_K
Definition: MdstTables.h:435
float ndf[5]
Definition: MdstTables.h:431
float path_length
Definition: MdstTables.h:427
float tof_exp[5]
Definition: MdstTables.h:429
float cl_K
Definition: MdstTables.h:440
float cl_pi
Definition: MdstTables.h:439
int stat[10]
Definition: MdstTables.h:344
float buff[10]
Definition: MdstTables.h:345
float first_z
Definition: MdstTables.h:378
float helix[5]
Definition: MdstTables.h:372
float last_y
Definition: MdstTables.h:380
float pivot_y
Definition: MdstTables.h:370
float pivot_x
Definition: MdstTables.h:369
float last_z
Definition: MdstTables.h:381
int hit_cdc[2]
Definition: MdstTables.h:365
float pivot_z
Definition: MdstTables.h:371
float error[15]
Definition: MdstTables.h:373
float first_x
Definition: MdstTables.h:376
float last_x
Definition: MdstTables.h:379
int nhits[5]
Definition: MdstTables.h:367
float first_y
Definition: MdstTables.h:377
float pid_e
Definition: MdstTables.h:321
int quality
Definition: MdstTables.h:316
float pid_pi
Definition: MdstTables.h:323
float pid_K
Definition: MdstTables.h:324
float dEdx_exp[5]
Definition: MdstTables.h:319
float pid_p
Definition: MdstTables.h:325
float dEdx
Definition: MdstTables.h:318
int quality_dedx
Definition: MdstTables.h:317
Mdst_trk_fit * mhyp[5]
Definition: MdstTables.h:315
float pid_mu
Definition: MdstTables.h:322
float sigma_dEdx[5]
Definition: MdstTables.h:320
Mdst_charged * chgd[2]
Definition: MdstTables.h:168
Mdst_vee_daughters * daut
Definition: MdstTables.h:174
float z_dist
Definition: MdstTables.h:171
float chisq
Definition: MdstTables.h:172
float v[3]
Definition: MdstTables.h:170
float p[4]
Definition: MdstTables.h:169
float error_p[15]
Definition: MdstTables.h:196
float error_m[15]
Definition: MdstTables.h:197