00001 #ifndef JETRESOLUTION_IJERTOOL_H
00002 #define JETRESOLUTION_IJERTOOL_H
00003
00004
00005 #include "AsgTools/IAsgTool.h"
00006 #include "PATInterfaces/CorrectionCode.h"
00007
00008
00009 #include "xAODJet/Jet.h"
00010
00011
00012 #include "JetResolution/JERDefs.h"
00013
00018 class IJERTool : public virtual asg::IAsgTool
00019 {
00020
00022 ASG_TOOL_INTERFACE( IJERTool )
00023
00024 public:
00025
00027 virtual ~IJERTool(){};
00028
00030 virtual double getRelResolutionMC(const xAOD::Jet* jet) = 0;
00031
00033 virtual double getRelResolutionData(const xAOD::Jet* jet) = 0;
00034
00036 virtual double getUncertainty(const xAOD::Jet* jet,
00037 JER::Uncert errType = JER::JER_NP_ALL) = 0;
00038
00039 };
00040
00041 #endif // JETRESOLUTION_IJERTOOL_H