ATLAS Offline Software
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
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
LArG4FSStartPointFilter.part
part
Definition:
LArG4FSStartPointFilter.py:21
EgammaFwd.h
IAsgEGammaIsEMSelector
Interface to tool to select photons.
Definition:
IAsgEGammaIsEMSelector.h:29
ParticleTest.eg
eg
Definition:
ParticleTest.py:29
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.
PhotonFwd.h
xAOD::Egamma_v1
Definition:
Egamma_v1.h:56
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
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Photon *part) const =0
accept with Photon pointer
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ElectronFwd.h
IAsgEGammaIsEMSelector::~IAsgEGammaIsEMSelector
virtual ~IAsgEGammaIsEMSelector()
Virtual Destructor.
Definition:
IAsgEGammaIsEMSelector.h:60
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
xAOD::Electron_v1
Definition:
Electron_v1.h:34
xAOD::Photon_v1
Definition:
Photon_v1.h:37
asg::AcceptData
Definition:
AcceptData.h:30
IAsgEGammaIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Egamma *part) const =0
accept with pointer to Egamma object
IAsgEGammaIsEMSelector::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Report the current operating point.
Generated on Thu Nov 7 2024 21:16:30 for ATLAS Offline Software by
1.8.18