ATLAS Offline Software
JetModifierBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // JetModiferBase.h
6 
7 #ifndef JetRec_JetModiferBase_H
8 #define JetRec_JetModiferBase_H
9 
17 
18 #include "AsgTools/AsgTool.h"
20 
21 class JetModifierBase : public asg::AsgTool,
22  virtual public IJetModifier{
24 
25  public:
26 
28  JetModifierBase(const std::string& myname);
29 
31  virtual StatusCode modify(xAOD::JetContainer& jets) const;
32 
33  protected:
34 
36  virtual int modifyJet(xAOD::Jet& jet) const;
37 
38 };
39 
40 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
IJetModifier.h
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetModifierBase::modifyJet
virtual int modifyJet(xAOD::Jet &jet) const
Modify a single jet. This is obsolete and set to be removed.
Definition: JetModifierBase.cxx:26
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetModifierBase::modify
virtual StatusCode modify(xAOD::JetContainer &jets) const
Loop over calls to modifyJet.
Definition: JetModifierBase.cxx:19
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
JetModifierBase::JetModifierBase
JetModifierBase(const std::string &myname)
Ctor.
Definition: JetModifierBase.cxx:9
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
JetModifierBase
Definition: JetModifierBase.h:22
AsgTool.h
IJetModifier
IJetModifier is a dual-use tool interface for a tool that modifies a jet collection.
Definition: IJetModifier.h:20