11#ifndef EMCSELBHAEVENT_H
12#define EMCSELBHAEVENT_H
22#include "GaudiKernel/Algorithm.h"
23#include "GaudiKernel/Property.h"
26#include "GaudiKernel/NTuple.h"
27#include "EmcGeneralClass/EmcStructure.h"
28#include "EmcBhaCalib/EmcShower.h"
29#include "EmcBhaCalib/EmcShDigi.h"
30#include "EmcBhaCalib/EmcBhabhaEvent.h"
31#include "EmcBhaCalib/EmcBhabha.h"
32#include "EmcBhaCalib/EmcBhaCalibData.h"
33#include "EmcBhaCalib/BhabhaType.h"
36#include "EmcCalibConstSvc/IEmcCalibConstSvc.h"
37#include "EmcCalibConstSvc/EmcCalibConstSvc.h"
39#include "BeamEnergySvc/IBeamEnergySvc.h"
40#include "BeamEnergySvc/BeamEnergySvc.h"
80 return m_selectedType;
85 return m_selectedTrkID1;
90 return m_selectedTrkID2;
95 int index(
int theta,
int phi)
const {
96 int val = ((m_index)[theta][phi]);
141 double m_lowEnergyShowerCut;
142 double m_highEnergyShowerCut;
143 double m_matchThetaCut ;
144 double m_matchPhiCut ;
146 double m_highMomentumCut;
149 double m_minAngShEnergyCut;
154 double m_oneProngMomentumCut;
158 int m_selectedTrkID1;
159 int m_selectedTrkID2;
162 int m_oneProngsSelected;
163 int m_twoProngsMatchedSelected;
164 int m_twoProngsOneMatchedSelected;
167 double expectedEnergy(
long int ixtal );
176 double m_eDepEne[56];
178 double m_eRawMean[6240];
179 double m_eRawRMS[6240];
181 double m_eRawPeak[6240];
182 double m_eMcPeak[6240];
184 double m_eDepMean[6240];
185 double m_eDepPeak[6240];
186 double m_eDepSigma[6240];
188 double m_eSigmaExp[56];
195 double m_ShEneThreshCut;
198 double m_ShEneLeptonCut;
201 int m_minNrXtalsShowerCut;
204 int m_maxNrXtalsShowerCut;
207 double m_phiDiffMinCut;
210 double m_phiDiffMaxCut;
219 double m_thetaDiffCut;
236 long int m_TwoProngMatched;
238 long int m_TwoProngOneMatched;
244 long m_showersAccepted;
250 list<EmcShower> m_showerList;
257 bool m_writeMVToFile;
259 std::string m_fileExt;
262 std::string m_fileDir;
265 std::string m_inputFileDir;
268 std::string m_selMethod;
283 bool m_ReadBeamEFromDB;
284 bool m_elecSaturation;
296 double m_inputConst[6240];
int selectedTrkID2() const
double findPhiDiff(double phi1, double phi2)
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()