00001
00002
00003 #ifndef TRIGGERANALYSISINTERFACES_ITRIGGLOBALEFFICIENCYCORRECTIONTOOL_H
00004 #define TRIGGERANALYSISINTERFACES_ITRIGGLOBALEFFICIENCYCORRECTIONTOOL_H 1
00005
00006 #include "AsgTools/IAsgTool.h"
00007 #include "xAODEgamma/ElectronFwd.h"
00008 #include "xAODMuon/Muon.h"
00009 #include "PATInterfaces/CorrectionCode.h"
00010
00011 class ITrigGlobalEfficiencyCorrectionTool : public virtual asg::IAsgTool
00012 {
00013 public:
00014 ASG_TOOL_INTERFACE(ITrigGlobalEfficiencyCorrectionTool)
00015
00016 virtual CP::CorrectionCode getEfficiencyScaleFactor(const std::vector<const xAOD::IParticle*>& particles, double& efficiencyScaleFactor) = 0;
00017 virtual CP::CorrectionCode getEfficiencyScaleFactor(unsigned runNumber, const std::vector<const xAOD::IParticle*>& particles, double& efficiencyScaleFactor) = 0;
00018 virtual CP::CorrectionCode getEfficiency(const std::vector<const xAOD::IParticle*>& particles, double& efficiencyData, double& efficiencyMc) = 0;
00019 virtual CP::CorrectionCode getEfficiency(unsigned runNumber, const std::vector<const xAOD::IParticle*>& particles, double& efficiencyData, double& efficiencyMc) = 0;
00020
00021 virtual CP::CorrectionCode getEfficiencyScaleFactor(const std::vector<const xAOD::Electron*>& electrons,
00022 const std::vector<const xAOD::Muon*>& muons, double& efficiencyScaleFactor) = 0;
00023 virtual CP::CorrectionCode getEfficiencyScaleFactor(unsigned runNumber, const std::vector<const xAOD::Electron*>& electrons,
00024 const std::vector<const xAOD::Muon*>& muons, double& efficiencyScaleFactor) = 0;
00025 virtual CP::CorrectionCode getEfficiency(const std::vector<const xAOD::Electron*>& electrons,
00026 const std::vector<const xAOD::Muon*>& muons, double& efficiencyData, double& efficiencyMc) = 0;
00027 virtual CP::CorrectionCode getEfficiency(unsigned runNumber, const std::vector<const xAOD::Electron*>& electrons,
00028 const std::vector<const xAOD::Muon*>& muons, double& efficiencyData, double& efficiencyMc) = 0;
00029 };
00030
00031 #endif //> !TRIGGERANALYSISINTERFACES_ITRIGGLOBALEFFICIENCYCORRECTIONTOOL_H