1#ifndef EventPreSelect_H
2#define EventPreSelect_H
5#include "GaudiKernel/AlgFactory.h"
6#include "GaudiKernel/Algorithm.h"
7#include "GaudiKernel/NTuple.h"
8#include "EvtRecEvent/EvtRecTrack.h"
9#include "EventPreSelect/DimuPreSelect.h"
29 bool m_isBarrelBhabha;
30 bool m_isEndcapBhabha;
34 bool m_isBarrelDiphoton;
35 bool m_isEndcapDiphoton;
41 bool m_selectDiphoton;
55 double m_energyThreshold;
57 double m_gammaThetaCut;
60 double m_bhabhaEmcECut;
61 double m_bhabhaMaxECut;
62 double m_bhabhaSecECut;
63 double m_bhabhaDTheCut;
64 double m_bhabhaDPhiCut1;
65 double m_bhabhaDPhiCut2;
66 double m_bhabhaDPhiCut3;
67 double m_bhabhaDPhiCut4;
68 int m_bhabhaMdcHitCutB;
69 int m_bhabhaMdcHitCutE;
71 double m_dimuEHighCut;
76 double m_hadronChaECut;
77 double m_hadronNeuECut;
79 double m_diphotonEmcECut;
80 double m_diphotonSecECut;
81 double m_diphotonDTheCut;
82 double m_diphotonDPhiCut1;
83 double m_diphotonDPhiCut2;
89 long int m_barrelBhabhaNumber;
90 long int m_endcapBhabhaNumber;
91 long int m_barrelDimuNumber;
92 long int m_endcapDimuNumber;
93 long int m_hadronNumber;
94 long int m_barrelDiphotonNumber;
95 long int m_endcapDiphotonNumber;
100 Algorithm* m_subalg3;
101 Algorithm* m_subalg4;
102 Algorithm* m_subalg5;
103 Algorithm* m_subalg6;
104 Algorithm* m_subalg7;
105 Algorithm* m_subalg8;
106 Algorithm* m_subalg9;
110 NTuple::Tuple* m_tuple0;
111 NTuple::Item<double> m_esum;
112 NTuple::Item<double> m_eemc;
113 NTuple::Item<double> m_etot;
114 NTuple::Item<double> m_nGood;
115 NTuple::Item<double> m_nCharge;
116 NTuple::Item<double> m_nGam;
117 NTuple::Item<double> m_ptot;
118 NTuple::Item<double> m_pp;
119 NTuple::Item<double> m_pm;
120 NTuple::Item<long> m_runnb;
121 NTuple::Item<long> m_evtnb;
122 NTuple::Item<double> m_maxE;
123 NTuple::Item<double> m_secE;
124 NTuple::Item<double> m_dThe;
125 NTuple::Item<double> m_dPhi;
126 NTuple::Item<long> m_mdcHit1;
127 NTuple::Item<long> m_mdcHit2;
129 NTuple::Tuple* m_tuple1;
130 NTuple::Item<double> m_vx0;
131 NTuple::Item<double> m_vy0;
132 NTuple::Item<double> m_vz0;
133 NTuple::Item<double> m_vr0;
134 NTuple::Item<double> m_theta0;
135 NTuple::Item<double> m_p0;
136 NTuple::Item<double> m_pt0;
138 NTuple::Tuple* m_tuple2;
139 NTuple::Item<double> m_dthe;
140 NTuple::Item<double> m_dphi;
141 NTuple::Item<double> m_dang;
142 NTuple::Item<double> m_eraw;
144 NTuple::Tuple* m_tuple3;
bool WhetherSector(double ph, double ph1, double ph2)