ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace 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
#define ASG_TOOL_INTERFACE(CLASSNAME)
virtual StatusCode finalize()=0
virtual StatusCode initialize()=0
virtual asg::AcceptData accept(const xAOD::IParticle *) const =0
The main accept method: the actual cuts are applied here.
virtual asg::AcceptData accept(const xAOD::Vertex &) const =0
virtual const asg::AcceptInfo & getAcceptInfo() const =0
Declare the interface ID for this pure-virtual interface class to the Athena framework.
Class providing the definition of the 4-vector interface.
Vertex_v1 Vertex
Define the latest version of the vertex class.