ATLAS Offline Software
PhysicsAnalysis
HeavyIonPhys
HIEventUtils
HIEventUtils
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
11
#include "
PATCore/IAsgSelectionTool.h
"
12
#include "
xAODTracking/Vertex.h
"
13
14
namespace
HI
{
15
16
class
IHIVertexSelectionTool
:
public
virtual
::IAsgSelectionTool
{
17
ASG_TOOL_INTERFACE
(
HI::IHIVertexSelectionTool
)
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:41
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.
Generated on Sun Dec 22 2024 21:11:28 for ATLAS Offline Software by
1.8.18