11#ifndef EMCSELBHAEVENT_H
12#define EMCSELBHAEVENT_H
22#include "GaudiKernel/Algorithm.h"
23#include "GaudiKernel/Property.h"
26#include "GaudiKernel/NTuple.h"
82 return m_selectedType;
87 return m_selectedTrkID1;
92 return m_selectedTrkID2;
97 int index(
int theta,
int phi)
const {
98 int val = ((m_index)[theta][phi]);
144 double m_lowEnergyShowerCut;
145 double m_highEnergyShowerCut;
146 double m_matchThetaCut ;
147 double m_matchPhiCut ;
149 double m_highMomentumCut;
152 double m_minAngShEnergyCut;
157 double m_oneProngMomentumCut;
161 int m_selectedTrkID1;
162 int m_selectedTrkID2;
165 int m_oneProngsSelected;
166 int m_twoProngsMatchedSelected;
167 int m_twoProngsOneMatchedSelected;
170 double expectedEnergy(
long int ixtal );
179 double m_eDepEne[56];
181 double m_eRawMean[6240];
182 double m_eRawRMS[6240];
184 double m_eRawPeak[6240];
185 double m_eMcPeak[6240];
187 double m_eMeanData[6240];
188 double m_eMeanMC[6240];
189 double m_eRmsData[6240];
190 double m_eRmsMC[6240];
192 double m_eDepMean[6240];
193 double m_eDepPeak[6240];
194 double m_eDepSigma[6240];
196 double m_eSigmaExp[56];
203 double m_ShEneThreshCut;
206 double m_ShEneLeptonCut;
209 int m_minNrXtalsShowerCut;
212 int m_maxNrXtalsShowerCut;
215 double m_phiDiffMinCut;
218 double m_phiDiffMaxCut;
227 double m_thetaDiffCut;
244 long int m_TwoProngMatched;
246 long int m_TwoProngOneMatched;
252 long m_showersAccepted;
258 list<EmcShower> m_showerList;
265 bool m_writeMVToFile;
267 std::string m_fileExt;
270 std::string m_fileDir;
273 std::string m_inputFileDir;
276 std::string m_selMethod;
291 bool m_ReadBeamEFromDB;
292 bool m_useBeamDetectorEnergy;
294 bool m_elecSaturation;
307 double m_inputConst[6240];
int selectedTrkID2() const
double findPhiDiff(double phi1, double phi2)
void readDataAndMCIxtal()
int selectedTrkID1() const
EmcSelBhaEvent(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode SelectBhabha()
void setPassed(bool passed)
int index(int theta, int phi) const
double Angle2ClosestShower(int ShowerID)
StatusCode SelectFillBhabha()