3#ifndef Physics_Analysis_PipiJpsi_H
4#define Physics_Analysis_PipiJpsi_H
6#include "GaudiKernel/AlgFactory.h"
7#include "GaudiKernel/Algorithm.h"
8#include "GaudiKernel/NTuple.h"
14 PipiJpsi(
const std::string& name, ISvcLocator* pSvcLocator);
34 double m_pipi_dang_cut;
37 bool m_subsample_flag, m_trigger_flag;
40 double m_distin_emuon;
43 NTuple::Tuple* m_tuple1;
44 NTuple::Item<double> m_vx0;
45 NTuple::Item<double> m_vy0;
46 NTuple::Item<double> m_vz0;
47 NTuple::Item<double> m_vr0;
49 NTuple::Tuple* m_tuple2;
50 NTuple::Item<double> m_dthe;
51 NTuple::Item<double> m_dphi;
52 NTuple::Item<double> m_dang;
53 NTuple::Item<double> m_eraw;
54 NTuple::Item<long> m_nGam;
56 NTuple::Tuple* m_tuple3;
57 NTuple::Item<double> m_ptrk;
58 NTuple::Item<double> m_chie;
59 NTuple::Item<double> m_chimu;
60 NTuple::Item<double> m_chipi;
61 NTuple::Item<double> m_chik;
62 NTuple::Item<double> m_chip;
63 NTuple::Item<double> m_probPH;
64 NTuple::Item<double> m_normPH;
65 NTuple::Item<double> m_ghit;
66 NTuple::Item<double> m_thit;
68 NTuple::Tuple* m_tuple4;
69 NTuple::Item<double> m_ptot_etof;
70 NTuple::Item<double> m_cntr_etof;
71 NTuple::Item<double> m_path_etof;
72 NTuple::Item<double> m_tof_etof;
73 NTuple::Item<double> m_te_etof;
74 NTuple::Item<double> m_tmu_etof;
75 NTuple::Item<double> m_tpi_etof;
76 NTuple::Item<double> m_tk_etof;
77 NTuple::Item<double> m_tp_etof;
78 NTuple::Item<double> m_ph_etof;
79 NTuple::Item<double> m_rhit_etof;
80 NTuple::Item<double> m_qual_etof;
82 NTuple::Tuple* m_tuple5;
83 NTuple::Item<double> m_ptot_btof1;
84 NTuple::Item<double> m_cntr_btof1;
85 NTuple::Item<double> m_path_btof1;
86 NTuple::Item<double> m_tof_btof1;
87 NTuple::Item<double> m_te_btof1;
88 NTuple::Item<double> m_tmu_btof1;
89 NTuple::Item<double> m_tpi_btof1;
90 NTuple::Item<double> m_tk_btof1;
91 NTuple::Item<double> m_tp_btof1;
92 NTuple::Item<double> m_ph_btof1;
93 NTuple::Item<double> m_zhit_btof1;
94 NTuple::Item<double> m_qual_btof1;
96 NTuple::Tuple* m_tuple6;
97 NTuple::Item<double> m_ptot_btof2;
98 NTuple::Item<double> m_cntr_btof2;
99 NTuple::Item<double> m_path_btof2;
100 NTuple::Item<double> m_tof_btof2;
101 NTuple::Item<double> m_te_btof2;
102 NTuple::Item<double> m_tmu_btof2;
103 NTuple::Item<double> m_tpi_btof2;
104 NTuple::Item<double> m_tk_btof2;
105 NTuple::Item<double> m_tp_btof2;
106 NTuple::Item<double> m_ph_btof2;
107 NTuple::Item<double> m_zhit_btof2;
108 NTuple::Item<double> m_qual_btof2;
111 NTuple::Tuple* m_tuple8;
112 NTuple::Item<double> m_mom_lepm;
113 NTuple::Item<double> m_mom_lepp;
114 NTuple::Item<double> m_mom_pionp;
115 NTuple::Item<double> m_mom_pionm;
116 NTuple::Item<double> m_pipi_dang;
117 NTuple::Item<double> m_cms_lepp;
118 NTuple::Item<double> m_cms_lepm;
119 NTuple::Item<double> m_mass_twopi;
120 NTuple::Item<double> m_mass_jpsi;
121 NTuple::Item<double> m_mass_recoil;
122 NTuple::Item<double> m_inv_mass;
123 NTuple::Item<double> m_tot_e;
124 NTuple::Item<double> m_tot_px;
125 NTuple::Item<double> m_tot_py;
126 NTuple::Item<double> m_tot_pz;
127 NTuple::Item<double> m_ep_ratio;
128 NTuple::Item<long> m_event_flag;
129 NTuple::Item<double> m_trans_ratio_lepm;
130 NTuple::Item<double> m_trans_ratio_lepp;
131 NTuple::Item<double> m_trans_ratio_pionp;
132 NTuple::Item<double> m_trans_ratio_pionm;
133 NTuple::Item<long> m_run;
134 NTuple::Item<long> m_event;
135 NTuple::Item<long> m_index;
136 NTuple::Array<double> m_cos_theta;
137 NTuple::Array<double> m_phi;
138 NTuple::Matrix<double> m_four_mom;
140 NTuple::Item<long> m_pion_matched;
141 NTuple::Item<long> m_lep_matched;
143 NTuple::Item<long> m_idxmc;
144 NTuple::Array<long> m_pdgid;
145 NTuple::Array<long> m_motheridx;
146 NTuple::Item<double> m_true_pionp;
147 NTuple::Item<double> m_true_pionm;
PipiJpsi(const std::string &name, ISvcLocator *pSvcLocator)