BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
EventPreSelect/EventPreSelect-00-00-21/EventPreSelect/DimuPreSelect.h
Go to the documentation of this file.
1#ifndef DimuPreSelect_H
2#define DimuPreSelect_H
3
4#include "GaudiKernel/NTuple.h"
5#include "GaudiKernel/PropertyMgr.h"
6
7class DimuPreSelect {
8
9 public:
12 void BookNtuple(NTuple::Tuple*& tuple);
13 int IsDimu(); //1, barrel; 2, endcap; 0, not dimu.
14 void Print();
15
16 private:
17 // event selection
18 PropertyMgr m_propMgr;
19
20 bool m_output;
21 bool m_mdcPass;
22 bool m_tofPass;
23 bool m_emcPass;
24 bool m_mucPass;
25
26 long m_totevent;
27 long m_currun;
28 long m_curevent;
29 double m_ecms;
30 double m_vr0cut;
31 double m_vz0cut;
32 double m_pcut_up;
33 double m_pcut_down;
34 double m_psymcut;
35 double m_tcut;
36 double m_ecut_up;
37 double m_ecut_down;
38 double m_dthetacut;
39 double m_dphicut;
40 double m_partselect; //0: all, 1 : barrel only, 2 : endcap only
41 double m_mudigicut;
42 double m_mutrkcut;
43
44 double m_cutpass[20];
45 double m_subpass[4];
46 double m_totalpass;
47
48 private:
49 NTuple::Tuple* m_passtuple;
50 NTuple::Item<double> m_run;
51 NTuple::Item<double> m_event;
52 NTuple::Item<double> m_part; // 1: barrel, 0: endcap
53 NTuple::Item<double> m_c1;
54 NTuple::Item<double> m_c2;
55 NTuple::Item<double> m_r1;
56 NTuple::Item<double> m_r2;
57 NTuple::Item<double> m_z1;
58 NTuple::Item<double> m_z2;
59 NTuple::Item<double> m_p1;
60 NTuple::Item<double> m_p2;
61 NTuple::Item<double> m_t1;
62 NTuple::Item<double> m_t2;
63 NTuple::Item<double> m_e1;
64 NTuple::Item<double> m_e2;
65 NTuple::Item<double> m_theta1;
66 NTuple::Item<double> m_theta2;
67 NTuple::Item<double> m_phi1;
68 NTuple::Item<double> m_phi2;
69 NTuple::Item<double> m_mudigi;
70 NTuple::Item<double> m_mutrk;
71 NTuple::Item<double> m_zeroCFlag;
72 NTuple::Item<double> m_vtRZFlag;
73 NTuple::Item<double> m_pLimFlag;
74 NTuple::Item<double> m_pSymFlag;
75 NTuple::Item<double> m_tLimFlag;
76 NTuple::Item<double> m_eLimFlag;
77 NTuple::Item<double> m_eBBFlag;
78 NTuple::Item<double> m_partFlag;
79 NTuple::Item<double> m_mudigiFlag;
80 NTuple::Item<double> m_mutrkFlag;
81 NTuple::Item<double> m_mdcFlag;
82 NTuple::Item<double> m_tofFlag;
83 NTuple::Item<double> m_emcFlag;
84 NTuple::Item<double> m_mucFlag;
85
86};
87
88#endif