#include <IMuonEfficiencyToolExample.h>
Public Member Functions | |
virtual CorrectionCode | getEfficiency (const xAOD::Muon &mu, float &eff)=0 |
Declare the interface that the class provides. | |
virtual CorrectionCode | applyEfficiency (xAOD::Muon &mu)=0 |
Decorate the muon with its efficiency. | |
virtual CorrectionCode | getScaleFactor (const xAOD::Muon &mu, float &sf)=0 |
Get the "muon scale factor" as a return value. | |
virtual CorrectionCode | applyScaleFactor (xAOD::Muon &mu)=0 |
Decorate the muon with its scale factor. |
Simple interface for calculating "a muon efficiency"
Meant to try to implement the TF3 recommendations in a realistic test case.
virtual CorrectionCode CP::IMuonEfficiencyToolExample::getEfficiency | ( | const xAOD::Muon & | mu, | |
float & | eff | |||
) | [pure virtual] |
Declare the interface that the class provides.
Get the "muon efficiency" as a return value
Implemented in CP::MuonEfficiencyToolExample.