An AnaTool used to calculate MET and the MET systematics. More...
#include <MetTool.h>
Public Member Functions | |
MetTool (const std::string &name) | |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint) override |
virtual AnalysisStep | step () const override |
virtual unsigned | inputTypes () const override |
virtual unsigned | outputTypes () const override |
virtual StatusCode | useInitialConfiguration (const InternalConfiguration &conf) override |
StatusCode | initialize () override |
virtual StatusCode | useConfiguration (const InternalConfiguration &configuration) override |
virtual StatusCode | execute (IEventObjects &objects) override |
An AnaTool used to calculate MET and the MET systematics.
ana::MetTool::MetTool | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::MetTool::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent
Implements ana::IAnaTool.
StatusCode ana::MetTool::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
unsigned ana::MetTool::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::MetTool::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::MetTool::setObjectType | ( | ObjectType | type, | |
const std::string & | workingPoint | |||
) | [override, virtual] |
set the object type to work on this is called straight after the tool is created and before it is initialized. the primary reason for this function is to allow jet definitions to be used for either jets or fat jets.
type | the object type we work on | |
workingPoint | the name of the working point we are working on or the empty string if this is a sole working point or working points do not apply |
Implements ana::IAnaTool.
AnalysisStep ana::MetTool::step | ( | ) | const [override, virtual] |
returns: the processing step we are working on guarantee: no-fail
Implements ana::IAnaTool.
StatusCode ana::MetTool::useConfiguration | ( | const InternalConfiguration & | configuration | ) | [override, virtual] |
extract whatever we need from the given configuration object
Reimplemented from ana::AnaTool.
StatusCode ana::MetTool::useInitialConfiguration | ( | const InternalConfiguration & | conf | ) | [override, virtual] |
use the initial configuration before initialize
Reimplemented from ana::AnaTool.