/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 #ifndef NeutronSpTightTag_H 00002 #define NeutronSpTightTag_H 00003 00004 /***************************** 00005 A tight spallation neutron tag, for energy calibration, by FeiHong. 00006 zhangfh@ihep.ac.cn 2011-07-18 00007 *****************************/ 00008 00009 #include "GaudiAlg/GaudiAlgorithm.h" 00010 #include <string> 00011 00012 using namespace std; 00013 00014 class IJobInfoSvc; 00015 class IDataProvider; 00016 00017 class NeutronSpTightTag: public GaudiAlgorithm 00018 { 00019 public: 00021 NeutronSpTightTag(const std::string& name, ISvcLocator* svcloc); 00022 virtual ~NeutronSpTightTag(); 00023 00025 StatusCode initialize(); 00026 StatusCode execute(); 00027 StatusCode finalize(); 00028 00029 private: 00030 IJobInfoSvc *m_jobInfoSvc; 00031 IDataProviderSvc* m_archiveSvc; 00032 string m_recHeaderLoc; 00033 string m_tagloc; 00034 string m_muonloc; 00035 int m_count; 00036 float m_eCutLow; //Unit MeV 00037 float m_eCutHigh; 00038 float m_zCut; //Unit mm 00039 float m_rCut; 00040 float m_timeCutLow; //Unit micro second 00041 float m_timeCutHigh; 00042 00043 }; 00044 00045 #endif