QuickAna tool for applying CP scale factors to jets. More...
#include <JetTool.h>
Public Member Functions | |
JetToolWeight (const std::string &name) | |
virtual unsigned | inputTypes () const override |
virtual unsigned | outputTypes () const override |
StatusCode | initialize () override |
virtual StatusCode | execute (IEventObjects &objects) override |
virtual StatusCode | objectWeight (const xAOD::Jet &jet, float &weight) override |
QuickAna tool for applying CP scale factors to jets.
ana::JetToolWeight::JetToolWeight | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::JetToolWeight::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
apply this analysis tool to the objects
objects | the objects to apply this too |
Reimplemented from ana::AnaToolWeight< xAOD::JetContainer >.
StatusCode ana::JetToolWeight::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
unsigned ana::JetToolWeight::inputTypes | ( | ) | const [override, virtual] |
a bit-map indicating which object types we use
Reimplemented from ana::AnaToolWeight< xAOD::JetContainer >.
StatusCode ana::JetToolWeight::objectWeight | ( | const xAOD::Jet & | jet, | |
float & | weight | |||
) | [override, virtual] |
effects: calculate the weight for this event returns: the calculated weight guarantee: basic failures: tool dependent
unsigned ana::JetToolWeight::outputTypes | ( | ) | const [override, virtual] |
a bit-map indicating which output types we will create
Reimplemented from ana::AnaToolWeight< xAOD::JetContainer >.