00001 #ifndef CPANALYSISEXAMPLES_TEST__EGAMMACALIBRATIONANDSMEARINGTOOL_H
00002 #define CPANALYSISEXAMPLES_TEST__EGAMMACALIBRATIONANDSMEARINGTOOL_H 1
00003
00004 #include "AthAnalysisBaseComps/AthAnalysisAlgorithm.h"
00005
00006 #include "ElectronPhotonFourMomentumCorrection/IEgammaCalibrationAndSmearingTool.h"
00007
00008 #include "TH2D.h"
00009 #include "TH1D.h"
00010
00011 namespace Test {
00012
00013 class EgammaCalibrationAndSmearingTool: public ::AthAnalysisAlgorithm {
00014 public:
00015 EgammaCalibrationAndSmearingTool( const std::string& name, ISvcLocator* pSvcLocator );
00016 virtual ~EgammaCalibrationAndSmearingTool();
00017
00018 virtual StatusCode initialize();
00019 virtual StatusCode execute();
00020 virtual StatusCode finalize();
00021
00022 virtual StatusCode beginInputFile();
00023
00024 private:
00025 int i=0;
00026 ToolHandle<CP::IEgammaCalibrationAndSmearingTool> myTool;
00027
00028 TH2D* m_el_pt_new_vs_old = 0;
00029 TH1D* m_el_pt = 0;
00030 };
00031 }
00032 #endif //> !CPANALYSISEXAMPLES_TEST__EGAMMACALIBRATIONANDSMEARINGTOOL_H