ATLAS Offline Software
Loading...
Searching...
No Matches
IAsgEGammaIsEMSelector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Dear emacs, this is -*-c++-*-
6
7#ifndef EGAMMAANALYSISINTERFACES__IASGEGAMMAISEMSELECTOR__
8#define EGAMMAANALYSISINTERFACES__IASGEGAMMAISEMSELECTOR__
9
19
20// Include the interfaces
25
26class EventContext;
27
29{
30
32
33public:
34
37
39 virtual asg::AcceptData accept( const xAOD::IParticle* part ) const = 0;
40 virtual asg::AcceptData accept( const EventContext& ctx, const xAOD::IParticle* part ) const = 0;
41
43 virtual asg::AcceptData accept( const EventContext& ctx, const xAOD::Egamma* part) const = 0;
44
46 virtual asg::AcceptData accept( const EventContext& ctx, const xAOD::Photon* part ) const = 0;
47
49 virtual asg::AcceptData accept( const EventContext& ctx, const xAOD::Electron* part ) const = 0;
50
52 virtual StatusCode execute(const EventContext& ctx, const xAOD::Egamma* eg, unsigned int& isEM) const =0;
53
55 virtual std::string getOperatingPointName( ) const =0;
56
58
61
62};
63
64
65#endif
66
#define ASG_TOOL_INTERFACE(CLASSNAME)
Interface to tool to select photons.
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
virtual ~IAsgEGammaIsEMSelector()
Virtual Destructor.
virtual asg::AcceptData accept(const xAOD::IParticle *part) const =0
accept with pointer to IParticle so as to not hide the IAsgSelectionTool one
virtual std::string getOperatingPointName() const =0
Report the current operating point.
virtual StatusCode execute(const EventContext &ctx, const xAOD::Egamma *eg, unsigned int &isEM) const =0
Add a legacy execute method - return isEM value.
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Egamma *part) const =0
accept with pointer to Egamma object
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Photon *part) const =0
accept with Photon pointer
Class providing the definition of the 4-vector interface.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
Photon_v1 Photon
Definition of the current "egamma version".
Electron_v1 Electron
Definition of the current "egamma version".