An AnaTool used to initialize the EventSelect object. More...
#include <EventSelectHasVertex.h>
Public Member Functions | |
EventSelectHasVertex (const std::string &name) | |
StatusCode | initialize () override |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint) override |
virtual StatusCode | useConfiguration (const InternalConfiguration &configuration) override |
extract whatever we need from the given configuration object | |
virtual AnalysisStep | step () const override |
virtual unsigned | inputTypes () const override |
virtual unsigned | outputTypes () const override |
virtual StatusCode | execute (IEventObjects &objects) override |
An AnaTool used to initialize the EventSelect object.
ana::EventSelectHasVertex::EventSelectHasVertex | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::EventSelectHasVertex::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent
Implements ana::IAnaTool.
StatusCode ana::EventSelectHasVertex::initialize | ( | void | ) | [override, virtual] |
Dummy implementation of the initialisation function
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented from asg::AsgTool.
unsigned ana::EventSelectHasVertex::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::EventSelectHasVertex::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::EventSelectHasVertex::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::EventSelectHasVertex::step | ( | ) | const [override, virtual] |
returns: the processing step we are working on guarantee: no-fail
Implements ana::IAnaTool.
StatusCode ana::EventSelectHasVertex::useConfiguration | ( | const InternalConfiguration & | configuration | ) | [override, virtual] |
extract whatever we need from the given configuration object
Reimplemented from ana::AnaTool.