00001
00002
00003
00004
00005
00006 #ifndef CALIBRATEDEGAMMAPROVIDER_H
00007 #define CALIBRATEDEGAMMAPROVIDER_H
00008
00009
00010 #include "AthenaBaseComps/AthAlgorithm.h"
00011 #include "AsgTools/ToolHandle.h"
00012
00013
00014 #include "ElectronPhotonFourMomentumCorrection/IEgammaCalibrationAndSmearingTool.h"
00015
00016 #include "xAODCore/ShallowCopy.h"
00017
00018 #include "xAODEgamma/ElectronContainer.h"
00019 #include "xAODEgamma/PhotonContainer.h"
00020 #include "xAODEgamma/EgammaContainer.h"
00021
00022 namespace CP {
00023
00024 class CalibratedEgammaProvider : public AthAlgorithm {
00025
00026 public:
00028 CalibratedEgammaProvider( const std::string& name, ISvcLocator* svcLoc );
00029
00031 virtual StatusCode initialize();
00033 virtual StatusCode execute();
00034
00035 private:
00036 std::string m_inputEventInfo;
00037 std::string m_inputKey;
00038 std::string m_outputKey;
00039
00040 ToolHandle<CP::IEgammaCalibrationAndSmearingTool> m_tool;
00041
00042 };
00043
00044 }
00045 #endif // CALIBRATEDEGAMMAPROVIDER_H