TODO: needs documentation. More...
#include <TriggerTool.h>
Public Types | |
enum | TrigYear { Only2015, Only2016, Only2015_2016 } |
Enum to describe year configuration. | |
Public Member Functions | |
TriggerTool (const std::string &name) | |
virtual StatusCode | useInitialConfiguration (const InternalConfiguration &conf) override |
StatusCode | initialize () override |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint) override |
set the object type to work on | |
virtual AnalysisStep | step () const override |
virtual unsigned | inputTypes () const override |
virtual unsigned | outputTypes () const override |
virtual StatusCode | execute (IEventObjects &objects) override |
TODO: needs documentation.
ana::TriggerTool::TriggerTool | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::TriggerTool::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent
Implements ana::IAnaTool.
StatusCode ana::TriggerTool::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
unsigned ana::TriggerTool::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::TriggerTool::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::TriggerTool::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::TriggerTool::step | ( | ) | const [override, virtual] |
returns: the processing step we are working on guarantee: no-fail
Implements ana::IAnaTool.
StatusCode ana::TriggerTool::useInitialConfiguration | ( | const InternalConfiguration & | conf | ) | [override, virtual] |
use the initial configuration before initialize
Reimplemented from ana::AnaTool.