BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcTables/include/MdcTables/MdstTables.h
Go to the documentation of this file.
1#ifndef _MdstTables_h_
2#define _MdstTables_h_
3
4#include <iostream>
5#include <string>
6#include <vector>
7
8#include "MdcTables/HepevtTables.h"
9
10using namespace std;
11
12//
13//*** MDST v.2.30. Run header
14//
15class Mdst_run_head {
16public:
18
19public:
20 int id;
21 int version;
22 int data_type;
23 int exp_no;
24 int run_no;
25};
26
27class MdstRunHeadCol {
28public:
29 static vector<Mdst_run_head>* getMdstRunHeadCol( void );
30
31private:
32 static vector<Mdst_run_head>* s_col;
33};
34
35//
36//*** Run trailer
37//
38class Mdst_run_end {
39public:
41
42public:
43 int id;
44 int exp_no;
45 int run_no;
46};
47
48class MdstRunEndCol {
49public:
50 static vector<Mdst_run_end>* getMdstRunEndCol( void );
51
52private:
53 static vector<Mdst_run_end>* s_col;
54};
55
56//
57//*** Event header
58//
59class Mdst_event {
60public:
62
63public:
64 int id;
65 int exp_no;
66 int run_no;
67 int event_no;
68 int trigger;
69 int date;
70 int time;
71};
72
73class MdstEventCol {
74public:
75 static vector<Mdst_event>* getMdstEventCol( void );
76
77private:
78 static vector<Mdst_event>* s_col;
79};
80
81//
82//***Additional event header
83//
84class Mdst_event_add {
85public:
87
88public:
89 int id;
90 float scale;
91 int flag[5];
92};
93
94class MdstEventAddCol {
95public:
96 static vector<Mdst_event_add>* getMdstEventAddCol( void );
97
98private:
99 static vector<Mdst_event_add>* s_col;
100};
101
102//
103//*** Data quality in the current event
104//
105class Mdst_quality {
106public:
108
109public:
110 int id;
111 char name[4];
112 int quality;
113};
114
115class MdstQualityCol {
116public:
117 static vector<Mdst_quality>* getMdstQualityCol( void );
118
119private:
120 static vector<Mdst_quality>* s_col;
121};
122
123//
124//*** Reconstructed charged tracks.
125//
126class Mdst_trk;
127class Mdst_acc;
128class Mdst_tof;
129class Mdst_muid;
130class Mdst_charged {
131public:
133
134public:
135 int id;
136 float charge;
137 float px;
138 float py;
139 float pz;
140 float mass;
141 int used_pid;
142 float pid_e;
143 float pid_mu;
144 float pid_pi;
145 float pid_K;
146 float pid_p;
147 // int elid;
148 Mdst_trk* trk;
149 Mdst_acc* acc;
150 Mdst_tof* tof;
151 // Mdst_klm * klm;
153};
154
155class MdstChargedCol {
156public:
157 static vector<Mdst_charged>* getMdstChargedCol( void );
158
159private:
160 static vector<Mdst_charged>* s_col;
161};
162
163//
164//*** Reconstructed V0-particles, i.e. Ks, Lambda,
165//*** Lambda-bar, converted-gamma.
166//
168class Mdst_vee2 {
169public:
171
172public:
173 int id;
174 int kind;
175 Mdst_charged* chgd[2];
176 float p[4];
177 float v[3];
178 float z_dist;
179 float chisq;
180 int type;
182};
183
184class MdstVee2Col {
185public:
186 static vector<Mdst_vee2>* getMdstVee2Col( void );
187
188private:
189 static vector<Mdst_vee2>* s_col;
190};
191
192//
193//*** Track params. and error matrix of V0 daughters
194//*** before the vtx-constraint fit.
195//
196class Mdst_vee_daughters {
197public:
199
200public:
201 int id;
202 float helix_p[5];
203 float helix_m[5];
204 float error_p[15];
205 float error_m[15];
206};
207
209public:
210 static vector<Mdst_vee_daughters>* getMdstVeeDaughtersCol( void );
211
212private:
213 static vector<Mdst_vee_daughters>* s_col;
214};
215
216//
217//*** Reconstructed gamma's.
218//
219class Mdst_ecl;
220class Mdst_efc;
221class Mdst_gamma {
222public:
224
225public:
226 int id;
227 float px;
228 float py;
229 float pz;
230 Mdst_ecl* ecl;
231 Mdst_efc* efc;
232};
233
234class MdstGammaCol {
235public:
236 static vector<Mdst_gamma>* getMdstGammaCol( void );
237
238private:
239 static vector<Mdst_gamma>* s_col;
240};
241
242//
243//*** Reconstructed pi0's.
244//
245class Mdst_pi0 {
246public:
248
249public:
250 int id;
251 Mdst_gamma* gamma[2];
252 float px;
253 float py;
254 float pz;
255 float energy;
256 float mass;
257 float chisq;
258};
259
260class MdstPi0Col {
261public:
262 static vector<Mdst_pi0>* getMdstPi0Col( void );
263
264private:
265 static vector<Mdst_pi0>* s_col;
266};
267
268//
269//*** Reconstructed K-long's.
270//
271class Mdst_ecl;
272class Mdst_klm_cluster;
273class Mdst_klong {
274public:
276
277public:
278 int id;
279 float cos_x;
280 float cos_y;
281 float cos_z;
282 Mdst_ecl* ecl;
283 // Mdst_klm * klm;
285};
286
287class MdstKlongCol {
288public:
289 static vector<Mdst_klong>* getMdstKlongCol( void );
290
291private:
292 static vector<Mdst_klong>* s_col;
293};
294
295//
296//*** Muon ID information.
297//
298class Mdst_klm_mu;
299class Mdst_muid {
300public:
302
303public:
304 int id;
305 int quality;
306 int muon;
308};
309
310class MdstMuidCol {
311public:
312 static vector<Mdst_muid>* getMdstMuidCol( void );
313
314private:
315 static vector<Mdst_muid>* s_col;
316};
317
318//
319//*** TRK(=CDC plus SVD) information.
320//
321class Mdst_trk_fit;
322class Mdst_trk {
323public:
325
326public:
327 int id;
328 Mdst_trk_fit* mhyp[5];
329 int quality;
330 int quality_dedx;
331 float dEdx;
332 float dEdx_exp[5];
333 float sigma_dEdx[5];
334 float pid_e;
335 float pid_mu;
336 float pid_pi;
337 float pid_K;
338 float pid_p;
339};
340
341class MdstTrkCol {
342public:
343 static vector<Mdst_trk>* getMdstTrkCol( void );
344
345private:
346 static vector<Mdst_trk>* s_col;
347};
348
349//
350//***
351//
352class Mdst_trk_add {
353public:
355
356public:
357 int id;
358 int stat[10];
359 float buff[10];
360};
361
362class MdstTrkAddCol {
363public:
364 static vector<Mdst_trk_add>* getMdstTrkAddCol( void );
365
366private:
367 static vector<Mdst_trk_add>* s_col;
368};
369
370//
371//*** Track fit results with multiple mass hypotheses.
372//
373class Mdst_trk_fit {
374public:
376
377public:
378 int id;
379 int quality;
380 int hit_cdc[2];
381 int hit_svd;
382 int nhits[5];
383 float mass;
384 float pivot_x;
385 float pivot_y;
386 float pivot_z;
387 float helix[5];
388 float error[15];
389 float chisq;
390 int ndf;
391 float first_x;
392 float first_y;
393 float first_z;
394 float last_x;
395 float last_y;
396 float last_z;
397};
398
399class MdstTrkFitCol {
400public:
401 static vector<Mdst_trk_fit>* getMdstTrkFitCol( void );
402
403private:
404 static vector<Mdst_trk_fit>* s_col;
405};
406
407//
408//*** ACC (Aerogel Cherenkov Counter) information.
409//
410class Mdst_acc {
411public:
413
414public:
415 int id;
416 int quality;
417 int fire;
418 float photo_electron;
419 float pid_e;
420 float pid_mu;
421 float pid_pi;
422 float pid_K;
423 float pid_p;
424};
425
426class MdstAccCol {
427public:
428 static vector<Mdst_acc>* getMdstAccCol( void );
429
430private:
431 static vector<Mdst_acc>* s_col;
432};
433
434//
435//*** TOF (Time Of Flight counter) information.
436//
437class Mdst_tof {
438public:
440
441public:
442 int id;
443 int quality;
444 float path_length;
445 float tof;
446 float tof_exp[5];
447 float sigma_tof;
448 float ndf[5];
449 float pid_e;
450 float pid_mu;
451 float pid_pi;
452 float pid_K;
453 float pid_p;
454 float cl_e;
455 float cl_mu;
456 float cl_pi;
457 float cl_K;
458 float cl_p;
459};
460
461class MdstTofCol {
462public:
463 static vector<Mdst_tof>* getMdstTofCol( void );
464
465private:
466 static vector<Mdst_tof>* s_col;
467};
468
469//
470//*** ECL (Electromagnetic CaLorimeter) information.
471//
472class Mdst_ecl {
473public:
475
476public:
477 int id;
478 int match;
479 int quality;
480 float energy;
481 float phi;
482 float theta;
483 float r;
484 float error[6];
485 int electron;
486};
487
488class MdstEclCol {
489public:
490 static vector<Mdst_ecl>* getMdstEclCol( void );
491
492private:
493 static vector<Mdst_ecl>* s_col;
494};
495
496//
497//*** ECL (Electromagnetic Calorimeter) information add on.
498//
499class Mdst_ecl_cr;
500class Mdst_ecl_aux {
501public:
503
504public:
505 int id;
506 float mass;
507 float width;
508 float e9oe25;
509 float e9oe25unf;
510 float seed;
511 int cId;
512 float property[10];
513 int nhits;
515 Mdst_trk* trk;
516};
517
518class MdstEclAuxCol {
519public:
520 static vector<Mdst_ecl_aux>* getMdstEclAuxCol( void );
521
522private:
523 static vector<Mdst_ecl_aux>* s_col;
524};
525
526//
527//*** ECL (Electromagnetic Calorimeter) information- Connected
528//*** Region(super-cluster): not calibrated yet.
529//
530class Mdst_ecl_cr {
531public:
533
534public:
535 int id;
536 int match;
537 int quality;
538 float energy;
539 float phi;
540 float theta;
541 float r;
542 float mass;
543 float width;
544 float property[10];
545 int nhits;
546 int nshowers;
547};
548
549class MdstEclCrCol {
550public:
551 static vector<Mdst_ecl_cr>* getMdstEclCrCol( void );
552
553private:
554 static vector<Mdst_ecl_cr>* s_col;
555};
556
557//
558//*** TRK to ECL match information.
559//
560class Mdst_ecl_trk {
561public:
563
564public:
565 int id;
566 Mdst_ecl* ecl;
567 Mdst_trk* trk;
568 int type;
569 int cId;
570 float x[3];
571 float p[3];
572 float error[21];
573};
574
575class MdstEclTrkCol {
576public:
577 static vector<Mdst_ecl_trk>* getMdstEclTrkCol( void );
578
579private:
580 static vector<Mdst_ecl_trk>* s_col;
581};
582
583//
584//*** Cluster information of KLM.
585//
586class Mdst_klm_cluster {
587public:
589
590public:
591 int id;
592 Mdst_trk* trk;
593 Mdst_ecl* ecl;
594 int quality;
595 int layers;
596 int first_layer;
597 float phi;
598 float theta;
599 float error[3];
600};
601
602class MdstKlmClusterCol {
603public:
604 static vector<Mdst_klm_cluster>* getMdstKlmClusterCol( void );
605
606private:
607 static vector<Mdst_klm_cluster>* s_col;
608};
609
610//
611//*** Extended muon ID information related to KLM.
612//
613class Mdst_klm_mu {
614public:
616
617public:
618 int id;
619 float absp_len_pas;
620 float absp_len_hit;
621 int layer_pas;
622 int layer_hit;
623};
624
625class MdstKlmMuCol {
626public:
627 static vector<Mdst_klm_mu>* getMdstKlmMuCol( void );
628
629private:
630 static vector<Mdst_klm_mu>* s_col;
631};
632
633//
634//*** Muon ID Extended Information.
635//
636class Mdst_klm_mu_ex {
637public:
639
640public:
641 int id;
643 float Muon_likelihood;
644 float Pion_likelihood;
645 float Kaon_likelihood;
646 float Miss_likelihood;
647 float Junk_likelihood;
648 int Outcome;
649 float Chi_2;
650 int N_hits;
651 int N_strips;
652 int Layer_trk_brl;
653 int Layer_trk_end;
654 int Layer_hit_brl;
655 int Layer_hit_end;
656 int N_layer_trk_brl;
657 int N_layer_trk_end;
658 int N_layer_hit_brl;
659 int N_layer_hit_end;
660 int Trk_pattern;
661 int Hit_pattern;
662};
663
664class MdstKlmMuExCol {
665public:
666 static vector<Mdst_klm_mu_ex>* getMdstKlmMuExCol( void );
667
668private:
669 static vector<Mdst_klm_mu_ex>* s_col;
670};
671
672//
673//*** EFC (Extreme Forward Calorimeter) information.
674//
675class Mdst_efc {
676public:
678
679public:
680 int id;
681 int quality[2];
682 float energy;
683 float phi;
684 float theta;
685 float error[6];
686};
687
688class MdstEfcCol {
689public:
690 static vector<Mdst_efc>* getMdstEfcCol( void );
691
692private:
693 static vector<Mdst_efc>* s_col;
694};
695
696//
697//*** Cross reference between track and hepevt
698//
699class Mdst_sim_trk {
700public:
702
703public:
704 int id;
705 Mdst_trk* trk;
707 float relation[3];
708};
709
710class MdstSimTrkCol {
711public:
712 static vector<Mdst_sim_trk>* getMdstSimTrkCol( void );
713
714private:
715 static vector<Mdst_sim_trk>* s_col;
716};
717
718//
719//*** Cross reference between shower and hepevt
720//
721class Mdst_sim_ecl {
722public:
724
725public:
726 int id;
727 Mdst_ecl* ecl;
729 float relation[3];
730};
731
732class MdstSimEclCol {
733public:
734 static vector<Mdst_sim_ecl>* getMdstSimEclCol( void );
735
736private:
737 static vector<Mdst_sim_ecl>* s_col;
738};
739
740//
741//*** Random seeds
742//
743class Mdst_sim_rand {
744public:
746
747public:
748 int id;
749 int seed1;
750 int seed2;
751 int iseq;
752};
753
754class MdstSimRandCol {
755public:
756 static vector<Mdst_sim_rand>* getMdstSimRandCol( void );
757
758private:
759 static vector<Mdst_sim_rand>* s_col;
760};
761
762#endif // _MdstTables_h_
double mass
Double_t time
************Class m_ypar INTEGER m_KeyWgt INTEGER m_KeyIHVP INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
Definition KK2f.h:50
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition KarLud.h:35
static vector< Mdst_acc > * getMdstAccCol(void)
static vector< Mdst_charged > * getMdstChargedCol(void)
static vector< Mdst_ecl_aux > * getMdstEclAuxCol(void)
static vector< Mdst_ecl > * getMdstEclCol(void)
static vector< Mdst_ecl_cr > * getMdstEclCrCol(void)
static vector< Mdst_ecl_trk > * getMdstEclTrkCol(void)
static vector< Mdst_efc > * getMdstEfcCol(void)
static vector< Mdst_event_add > * getMdstEventAddCol(void)
static vector< Mdst_event > * getMdstEventCol(void)
static vector< Mdst_gamma > * getMdstGammaCol(void)
static vector< Mdst_klm_cluster > * getMdstKlmClusterCol(void)
static vector< Mdst_klm_mu > * getMdstKlmMuCol(void)
static vector< Mdst_klm_mu_ex > * getMdstKlmMuExCol(void)
static vector< Mdst_klong > * getMdstKlongCol(void)
static vector< Mdst_muid > * getMdstMuidCol(void)
static vector< Mdst_pi0 > * getMdstPi0Col(void)
static vector< Mdst_quality > * getMdstQualityCol(void)
static vector< Mdst_run_end > * getMdstRunEndCol(void)
static vector< Mdst_run_head > * getMdstRunHeadCol(void)
static vector< Mdst_sim_ecl > * getMdstSimEclCol(void)
static vector< Mdst_sim_rand > * getMdstSimRandCol(void)
static vector< Mdst_sim_trk > * getMdstSimTrkCol(void)
static vector< Mdst_tof > * getMdstTofCol(void)
static vector< Mdst_trk_add > * getMdstTrkAddCol(void)
static vector< Mdst_trk > * getMdstTrkCol(void)
static vector< Mdst_trk_fit > * getMdstTrkFitCol(void)
static vector< Mdst_vee2 > * getMdstVee2Col(void)
static vector< Mdst_vee_daughters > * getMdstVeeDaughtersCol(void)