00001 #ifndef ZDD_RECON_ALG_H 00002 #define ZDD_RECON_ALG_H 00003 00004 #include "GaudiKernel/Algorithm.h" 00005 #include "ZddEvent/ZddEvent.h" 00006 #include "ZddEvent/ZddChannel.h" 00007 00008 class ZddReconAlg : public Algorithm 00009 { 00010 public: 00011 00012 ZddReconAlg(const std::string& name, ISvcLocator* pSvcLocator); 00013 00014 StatusCode initialize(); 00015 StatusCode execute(); 00016 StatusCode finalize(); 00017 00018 private : 00019 00020 double getEK(int chId); 00021 int zddDataStat(const Event::ZddEvent* zddEvt, int evtId); 00022 int calFragEandT(const ZddFragment& frag, int& efrag, int& tfrag); 00023 00024 bool m_errStat; 00025 bool m_errQuit; 00026 }; 00027 00028 #endif