ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Interfaces
EgammaAnalysisInterfaces
EgammaAnalysisInterfaces
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
21
#include "
PATCore/IAsgSelectionTool.h
"
22
#include "
xAODEgamma/EgammaFwd.h
"
23
#include "
xAODEgamma/PhotonFwd.h
"
24
#include "
xAODEgamma/ElectronFwd.h
"
25
26
class
EventContext;
27
28
class
IAsgEGammaIsEMSelector
:
virtual
public
IAsgSelectionTool
29
{
30
31
ASG_TOOL_INTERFACE
(
IAsgEGammaIsEMSelector
)
32
33
public
:
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
60
virtual
~IAsgEGammaIsEMSelector
() {};
61
62
};
63
64
65
#endif
66
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
EgammaFwd.h
ElectronFwd.h
IAsgSelectionTool.h
PhotonFwd.h
IAsgEGammaIsEMSelector
Interface to tool to select photons.
Definition
IAsgEGammaIsEMSelector.h:29
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
IAsgEGammaIsEMSelector::~IAsgEGammaIsEMSelector
virtual ~IAsgEGammaIsEMSelector()
Virtual Destructor.
Definition
IAsgEGammaIsEMSelector.h:60
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const xAOD::IParticle *part) const =0
accept with pointer to IParticle so as to not hide the IAsgSelectionTool one
IAsgEGammaIsEMSelector::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Report the current operating point.
IAsgEGammaIsEMSelector::execute
virtual StatusCode execute(const EventContext &ctx, const xAOD::Egamma *eg, unsigned int &isEM) const =0
Add a legacy execute method - return isEM value.
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Egamma *part) const =0
accept with pointer to Egamma object
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Photon *part) const =0
accept with Photon pointer
IAsgSelectionTool
Definition
IAsgSelectionTool.h:28
asg::AcceptData
Definition
AcceptData.h:31
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
xAOD::Electron
Electron_v1 Electron
Definition of the current "egamma version".
Definition
Event/xAOD/xAODEgamma/xAODEgamma/Electron.h:17
Generated on
for ATLAS Offline Software by
1.17.0