ATLAS Offline Software
IHIVertexSelectionTool.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #pragma once
8 #ifndef HIEVENTUTILS_IHIVERTEXSELECTIONTOOL_H
9 #define HIEVENTUTILS_IHIVERTEXSELECTIONTOOL_H
10 
12 #include "xAODTracking/Vertex.h"
13 
14 namespace HI {
15 
18  public:
19 
20  virtual StatusCode initialize() = 0;
21  virtual StatusCode finalize() = 0;
22 
23  //R.Longo 13-10-2019 - Replacing PATCore/TAccept (inherited from 21.0 HI-equalization)
24  virtual const asg::AcceptInfo& getAcceptInfo() const = 0;
25  // we have to implement the IParticle function in order to inherit from IAsgSelectionTool
26  // it will throw an exception
27  virtual asg::AcceptData accept( const xAOD::IParticle* ) const = 0;
28  virtual asg::AcceptData accept( const xAOD::Vertex& ) const = 0;
29  };
30 }
31 
32 
33 #endif // HIEVENTUTILS_IHIVERTEXSELECTIONTOOL_H
HI::IHIVertexSelectionTool
Definition: IHIVertexSelectionTool.h:16
HI::IHIVertexSelectionTool::accept
virtual asg::AcceptData accept(const xAOD::IParticle *) const =0
The main accept method: the actual cuts are applied here.
IAsgSelectionTool
Definition: IAsgSelectionTool.h:28
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
IAsgSelectionTool.h
asg::AcceptInfo
Definition: AcceptInfo.h:28
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HI::IHIVertexSelectionTool::finalize
virtual StatusCode finalize()=0
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
Vertex.h
HI
Definition: HIEventDefs.h:14
HI::IHIVertexSelectionTool::initialize
virtual StatusCode initialize()=0
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
HI::IHIVertexSelectionTool::accept
virtual asg::AcceptData accept(const xAOD::Vertex &) const =0
asg::AcceptData
Definition: AcceptData.h:30
HI::IHIVertexSelectionTool::getAcceptInfo
virtual const asg::AcceptInfo & getAcceptInfo() const =0
Declare the interface ID for this pure-virtual interface class to the Athena framework.