#include <MuonEfficiencyToolExample.h>
Public Member Functions | |
MuonEfficiencyToolExample (const std::string &name) | |
Create a proper constructor for Athena. | |
Function(s) implementing the asg::IAsgTool interface | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
Function(s) implementing the IMuonEfficiencyToolExample interface | |
virtual CorrectionCode | getEfficiency (const xAOD::Muon &mu, float &eff) |
Get the "muon efficiency" as a return value. | |
virtual CorrectionCode | applyEfficiency (xAOD::Muon &mu) |
Decorate the muon with its efficiency. | |
virtual CorrectionCode | getScaleFactor (const xAOD::Muon &mu, float &sf) |
Get the "muon scale factor" as a return value. | |
virtual CorrectionCode | applyScaleFactor (xAOD::Muon &mu) |
Decorate the muon with its scale factor. |
Implementation for the "muon efficiency" provider tool
Meant to try to implement the TF3 recommendations in a realistic test case.
CP::MuonEfficiencyToolExample::MuonEfficiencyToolExample | ( | const std::string & | name | ) |
Create a proper constructor for Athena.
Create a constructor for standalone usage