Skip to content
Snippets Groups Projects
Commit 08e2702a authored by Matthew Joseph Basso's avatar Matthew Joseph Basso
Browse files

Add IAsgSelectionWithVertexTool back to PATCore

parent 8b848fab
No related branches found
No related tags found
No related merge requests found
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
// IAsgSelectionWithVertexTool.h
// Header file for class IAsgSelectionWithVertexTool
// Author: Karsten Koeneke <karsten.koeneke@cern.ch>
///////////////////////////////////////////////////////////////////
#ifndef PATCORE_IASGSELECTIONWITHVERTEXTOOL_H
#define PATCORE_IASGSELECTIONWITHVERTEXTOOL_H 1
// FrameWork includes
#include "AsgTools/IAsgTool.h"
// Include the return object
#include "PATCore/AcceptInfo.h"
#include "PATCore/AcceptData.h"
// Forward declaration
namespace xAOD {
class IParticle;
class Vertex_v1;
typedef Vertex_v1 Vertex;
}
class IAsgSelectionWithVertexTool
: virtual public asg::IAsgTool
{
/// Declare the interface ID for this pure-virtual interface class to the Athena framework
ASG_TOOL_INTERFACE(IAsgSelectionWithVertexTool)
///////////////////////////////////////////////////////////////////
// Public methods:
///////////////////////////////////////////////////////////////////
public:
///////////////////////////////////////////////////////////////////
// Const methods:
///////////////////////////////////////////////////////////////////
/** Method to get the AcceptInfo to query what cuts are defined. */
virtual const asg::AcceptInfo& getAcceptInfo( ) const = 0;
/** The main accept method: the actual cuts are applied here */
virtual asg::AcceptData accept( const xAOD::IParticle* /*part*/,
const xAOD::Vertex* /*vertex=0*/ ) const = 0;
};
#endif //> !PATCORE_IASGSELECTIONWITHVERTEXTOOL_H
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
<class name="asg::AcceptData" /> <class name="asg::AcceptData" />
<!--<class name="std::bitset<32>" />--> <!--<class name="std::bitset<32>" />-->
<class name="IAsgSelectionTool" /> <class name="IAsgSelectionTool" />
<class name="IAsgSelectionWithVertexTool" />
</lcgdict> </lcgdict>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment