1#ifndef CalibEventSelect_H
2#define CalibEventSelect_H
5#include "GaudiKernel/AlgFactory.h"
6#include "GaudiKernel/Algorithm.h"
7#include "GaudiKernel/NTuple.h"
8#include "EvtRecEvent/EvtRecTrack.h"
11#include "AIDA/IAxis.h"
12#include "AIDA/IHistogram1D.h"
13#include "AIDA/IHistogramFactory.h"
14using AIDA::IHistogram1D;
40 IHistogram1D* h_nGood;
41 IHistogram1D* h_nCharge;
42 IHistogram1D* h_pmaxobeam;
43 IHistogram1D* h_eopmax;
44 IHistogram1D* h_eopsec;
45 IHistogram1D* h_deltap;
46 IHistogram1D* h_esumoecm;
47 IHistogram1D* h_egmax;
48 IHistogram1D* h_deltaphi;
74 bool m_selectRadBhabha;
77 bool m_selectRadBhabhaT;
81 bool m_selectRecoJpsi;
85 bool m_selectGenProton;
86 bool m_selectPsipRhoPi;
87 bool m_selectPsipKstarK;
88 bool m_selectPsipPPPiPi;
89 bool m_selectPsippCand;
102 double m_energyThreshold;
103 double m_gammaPhiCut;
104 double m_gammaThetaCut;
111 int m_radbhabha_scale;
117 double m_cosmic_lowp;
121 long int m_radBhabhaNumber;
122 long int m_GGEENumber;
123 long int m_GG4PiNumber;
124 long int m_radBhabhaTNumber;
125 long int m_rhoPiNumber;
126 long int m_kstarKNumber;
127 long int m_ppPiPiNumber;
128 long int m_recoJpsiNumber;
129 long int m_bhabhaNumber;
130 long int m_dimuNumber;
131 long int m_cosmicNumber;
132 long int m_genProtonNumber;
133 long int m_psipRhoPiNumber;
134 long int m_psipKstarKNumber;
135 long int m_psipPPPiPiNumber;
136 long int m_psippCandNumber;
138 Algorithm* m_subalg1;
139 Algorithm* m_subalg2;
140 Algorithm* m_subalg3;
141 Algorithm* m_subalg4;
142 Algorithm* m_subalg5;
143 Algorithm* m_subalg6;
144 Algorithm* m_subalg7;
145 Algorithm* m_subalg8;
146 Algorithm* m_subalg9;
147 Algorithm* m_subalg10;
148 Algorithm* m_subalg11;
149 Algorithm* m_subalg12;
150 Algorithm* m_subalg13;
151 Algorithm* m_subalg14;
152 Algorithm* m_subalg15;
153 Algorithm* m_subalg16;
154 Algorithm* m_subalg17;
155 Algorithm* m_subalg18;
160 NTuple::Tuple* m_tuple0;
161 NTuple::Item<double> m_esum;
162 NTuple::Item<double> m_eemc;
163 NTuple::Item<double> m_etot;
164 NTuple::Item<double> m_nGood;
165 NTuple::Item<double> m_nCharge;
166 NTuple::Item<double> m_nGam;
167 NTuple::Item<double> m_ptot;
168 NTuple::Item<double> m_pp;
169 NTuple::Item<double> m_pm;
170 NTuple::Item<long> m_runnb;
171 NTuple::Item<long> m_evtnb;
172 NTuple::Item<double> m_maxE;
173 NTuple::Item<double> m_secE;
174 NTuple::Item<double> m_dThe;
175 NTuple::Item<double> m_dPhi;
176 NTuple::Item<long> m_mdcHit1;
177 NTuple::Item<long> m_mdcHit2;
179 NTuple::Tuple* m_tuple1;
180 NTuple::Item<double> m_vx0;
181 NTuple::Item<double> m_vy0;
182 NTuple::Item<double> m_vz0;
183 NTuple::Item<double> m_vr0;
184 NTuple::Item<double> m_theta0;
185 NTuple::Item<double> m_p0;
186 NTuple::Item<double> m_pt0;
188 NTuple::Tuple* m_tuple2;
189 NTuple::Item<double> m_dthe;
190 NTuple::Item<double> m_dphi;
191 NTuple::Item<double> m_dang;
192 NTuple::Item<double> m_eraw;
bool WhetherSector(double ph, double ph1, double ph2)
void readbeamEfromDb(int runNo, double &beamE)
CalibEventSelect(const std::string &name, ISvcLocator *pSvcLocator)