Tool for calculating weights for analysis electrons. More...
#include <ElectronTool.h>
Public Member Functions | |
ElectronToolWeight (const std::string &name) | |
This macro generates a proper constructor for Athena. | |
StatusCode | initialize () override |
Initialize this tool. | |
virtual StatusCode | objectWeight (const xAOD::Electron &elecron, float &weight) override |
Calculate the weight for this event. | |
Public Attributes | |
asg::AnaToolHandle < IAsgElectronEfficiencyCorrectionTool > | m_efficiencyTool_reco |
asg::AnaToolHandle < IAsgElectronEfficiencyCorrectionTool > | m_efficiencyTool_id |
asg::AnaToolHandle < IAsgElectronEfficiencyCorrectionTool > | m_efficiencyTool_iso |
Tool for calculating weights for analysis electrons.
Applies the electron reco and ID efficiency scale factors
ana::ElectronToolWeight::ElectronToolWeight | ( | const std::string & | name | ) |
This macro generates a proper constructor for Athena.
Standard constructor
asg::AnaToolHandle<IAsgElectronEfficiencyCorrectionTool> ana::ElectronToolWeight::m_efficiencyTool_reco |
The efficiency correction tools - currently need one for each of ID, reco, and trigger efficiencies.