ATLAS Offline Software
IEventCleaningTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ASSOCIATIONUTILS_IEVENTCLEANINGTOOL_H
6 #define ASSOCIATIONUTILS_IEVENTCLEANINGTOOL_H
7 
8 // Framework includes
9 #include "AsgTools/IAsgTool.h"
10 
11 // EDM includes
12 #include "xAODJet/JetContainer.h"
13 
14 
15 namespace ECUtils
16 {
17 
23  class IEventCleaningTool : public virtual asg::IAsgTool
24  {
25 
28 
29  public:
30 
34  virtual bool
35  acceptEvent(const xAOD::JetContainer* jets) const = 0;
36 
37  virtual int keepJet(const xAOD::Jet& jet) const =0;
38 
39 }; // class IEventCleaningTool
40 
41 } // namespace ECUtils
42 
43 #endif
ECUtils::IEventCleaningTool
Interface for the event cleaning tool.
Definition: IEventCleaningTool.h:24
ECUtils::IEventCleaningTool::keepJet
virtual int keepJet(const xAOD::Jet &jet) const =0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
IAsgTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetContainer.h
defineDB.jets
list jets
Definition: JetTagCalibration/share/defineDB.py:24
ECUtils
Definition: EventCleaningTool.h:35
ECUtils::IEventCleaningTool::acceptEvent
virtual bool acceptEvent(const xAOD::JetContainer *jets) const =0
Declare the interface.