An AnaTool which provides the object overlap removal. More...
#include <LegacyORTool.h>
Public Types | |
enum | OR_Type { Default = 0, run1_top_default, run1_SSbjets, run1_susy_default } |
Enum for specifying various overlap removal variants. | |
Public Member Functions | |
LegacyORTool (const std::string &name) | |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint) override |
StatusCode | initialize () override |
virtual AnalysisStep | step () const override |
virtual unsigned | inputTypes () const override |
virtual unsigned | outputTypes () const override |
virtual StatusCode | execute (IEventObjects &objects) override |
Protected Member Functions | |
void | printObj (const char *APP_NAME, const char *type, const xAOD::IParticle *obj) const |
print overlap removal debugging information |
An AnaTool which provides the object overlap removal.
This implementation uses the legacy overlap removal tool from AssociationUtils. It is going to be deprecated in favor of the new ORTool based on the multi-tool design of AssociationUtils.
ana::LegacyORTool::LegacyORTool | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::LegacyORTool::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent
Implements ana::IAnaTool.
StatusCode ana::LegacyORTool::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
unsigned ana::LegacyORTool::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::LegacyORTool::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::LegacyORTool::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::LegacyORTool::step | ( | ) | const [override, virtual] |
returns: the processing step we are working on guarantee: no-fail
Implements ana::IAnaTool.