00001
00002
00003
00004 #ifndef SUSYToolsAlg_H
00005 #define SUSYToolsAlg_H
00006
00007 #include "AthAnalysisBaseComps/AthAnalysisAlgorithm.h"
00008 #include "GaudiKernel/ToolHandle.h"
00009 #include "SUSYTools/ISUSYObjDef_xAODTool.h"
00010 #include "PATInterfaces/SystematicSet.h"
00011 #include "TStopwatch.h"
00012
00013
00014 class SUSYToolsAlg : public AthAnalysisAlgorithm {
00015
00016 public:
00017
00019 SUSYToolsAlg(const std::string& name, ISvcLocator* pSvcLocator);
00020
00022 ~SUSYToolsAlg();
00023
00025 StatusCode initialize();
00026 StatusCode execute();
00027 StatusCode finalize();
00028
00029 private:
00030
00032 SUSYToolsAlg();
00033
00034 int m_dataSource;
00035
00036 bool m_doSyst;
00037 std::vector<ST::SystInfo> sysInfoList;
00038
00039 std::vector<std::string> syst_el_weights;
00040 std::vector<std::string> syst_mu_weights;
00041 std::vector<std::string> syst_ph_weights;
00042 std::vector<std::string> syst_tau_weights;
00043 std::vector<std::string> syst_jet_weights;
00044 std::vector<std::string> syst_btag_weights;
00045 std::vector<std::string> syst_event_weights;
00046
00047 ToolHandle<ST::ISUSYObjDef_xAODTool> m_SUSYTools;
00048
00049 unsigned int m_Nevts;
00050
00051 TStopwatch m_clock0;
00052 TStopwatch m_clock1;
00053 TStopwatch m_clock2;
00054
00055 std::string m_rateMonitoringPath;
00056
00057 std::vector<std::string> el_triggers;
00058 std::vector<std::string> ph_triggers;
00059 std::vector<std::string> mu_triggers;
00060
00061 int count_el_signal;
00062 int count_ph_signal;
00063 int count_mu_signal;
00064 };
00065
00066
00067
00068 #endif