BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
DimuPreSelect/DimuPreSelect-00-00-09/DimuPreSelect/DimuPreSelect.h
Go to the documentation of this file.
1#ifndef Physics_analysis_DimuPreSelect_H
2#define Physics_Analysis_DimuPreSelect_H
3
4//#include "GaudiKnernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7class DimuPreSelect : public Algorithm
8{
9 public:
10 DimuPreSelect(const std::string& name, ISvcLocator* pSvcLocator);
11 StatusCode initialize();
12 StatusCode execute();
13 StatusCode finalize();
14 private:
15// event selection
16 bool m_selectFlag; // Flag of use DimuPreSelect or not
17 bool m_output;
18 bool m_mdcPass, m_tofPass, m_emcPass, m_mucPass; // for subdetector flag
19 bool m_useFlag[4]; //MDC, TOF, EMC, MUC, for configuration
20 bool m_passFlag[4]; //MDC, TOF, EMC, MUC, for filtering output
21
22 long m_totevent;
23 long m_currun;
24 long m_curevent;
25 double m_ecms;
26 double m_vr0cut;
27 double m_vz0cut;
28 double m_pcut_up;
29 double m_pcut_down;
30 double m_psymcut;
31 double m_tcut;
32 double m_ecut_up;
33 double m_ecut_down;
34 double m_dthetacut;
35 double m_dphicut;
36 double m_partselect; //0: all, 1 : barrel only, 2 : endcap only
37 double m_mudigicut;
38 double m_mutrkcut;
39
40 double m_cutpass[20];
41 double m_subpass[4];
42 double m_totalpass;
43
44// Event selection
45 NTuple::Tuple* m_passtuple;
46 NTuple::Item<double> m_run;
47 NTuple::Item<double> m_event;
48 NTuple::Item<double> m_part; // 1: barrel, 0: endcap
49 NTuple::Item<double> m_c1;
50 NTuple::Item<double> m_c2;
51 NTuple::Item<double> m_r1;
52 NTuple::Item<double> m_r2;
53 NTuple::Item<double> m_z1;
54 NTuple::Item<double> m_z2;
55 NTuple::Item<double> m_p1;
56 NTuple::Item<double> m_p2;
57 NTuple::Item<double> m_t1;
58 NTuple::Item<double> m_t2;
59 NTuple::Item<double> m_e1;
60 NTuple::Item<double> m_e2;
61 NTuple::Item<double> m_theta1;
62 NTuple::Item<double> m_theta2;
63 NTuple::Item<double> m_phi1;
64 NTuple::Item<double> m_phi2;
65 NTuple::Item<double> m_mudigi;
66 NTuple::Item<double> m_mutrk;
67 NTuple::Item<double> m_zeroCFlag;
68 NTuple::Item<double> m_vtRZFlag;
69 NTuple::Item<double> m_pLimFlag;
70 NTuple::Item<double> m_pSymFlag;
71 NTuple::Item<double> m_tLimFlag;
72 NTuple::Item<double> m_eLimFlag;
73 NTuple::Item<double> m_eBBFlag;
74 NTuple::Item<double> m_partFlag;
75 NTuple::Item<double> m_mudigiFlag;
76 NTuple::Item<double> m_mutrkFlag;
77 NTuple::Item<double> m_mdcFlag;
78 NTuple::Item<double> m_tofFlag;
79 NTuple::Item<double> m_emcFlag;
80 NTuple::Item<double> m_mucFlag;
81
82};
83#endif