ATLAS Offline Software
Loading...
Searching...
No Matches
IJetDecorator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef IJetDecorator_H
6#define IJetDecorator_H
7
8// Bill Balunas
9// February 2019
10
18
20
21class IJetDecorator : virtual public IJetModifier {
22
23// From AsgTools/AsgToolMacros.h
25
26public:
27
29 virtual StatusCode decorate(const xAOD::JetContainer& jets) const = 0;
30
32 virtual StatusCode modify(xAOD::JetContainer& jets) const override final {return decorate(jets);};
33
34};
35
36#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Interface for adding a decoration to a jet container.
virtual StatusCode modify(xAOD::JetContainer &jets) const override final
Concrete implementation of the function inherited from IJetModifier.
virtual StatusCode decorate(const xAOD::JetContainer &jets) const =0
Decorate a jet collection without otherwise modifying it.
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
JetContainer_v1 JetContainer
Definition of the current "jet container version".