ATLAS Offline Software
PhysicsAnalysis
Interfaces
EgammaAnalysisInterfaces
EgammaAnalysisInterfaces
IAsgForwardElectronIsEMSelector.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
#ifndef EGAMMAANALYSISINTERFACES__IASGFORWARDELECTRONISEMSELECTOR__
6
#define EGAMMAANALYSISINTERFACES__IASGFORWARDELECTRONISEMSELECTOR__
7
18
// Include the interfaces
19
#include "
EgammaAnalysisInterfaces/IAsgEGammaIsEMSelector.h
"
20
#include "
xAODEgamma/ElectronFwd.h
"
21
#include "
xAODEgamma/PhotonFwd.h
"
22
#include "
xAODEgamma/EgammaFwd.h
"
23
24
class
EventContext;
25
26
class
IAsgForwardElectronIsEMSelector
:
virtual
public
IAsgEGammaIsEMSelector
27
{
28
29
ASG_TOOL_INTERFACE
(
IAsgForwardElectronIsEMSelector
)
30
31
public
:
32
37
39
virtual
~IAsgForwardElectronIsEMSelector
() {};
40
virtual
StatusCode
execute
(
const
EventContext& ctx,
const
xAOD::Egamma
*
eg
,
unsigned
int
& isEM)
const
= 0;
41
42
virtual
asg::AcceptData
accept
(
const
xAOD::IParticle
*
part
)
const
= 0 ;
43
virtual
asg::AcceptData
accept
(
const
EventContext& ctx,
const
xAOD::IParticle
*
part
)
const
= 0 ;
44
45
virtual
asg::AcceptData
accept
(
const
EventContext& ctx,
const
xAOD::Egamma
*
part
)
const
= 0 ;
46
47
virtual
asg::AcceptData
accept
(
const
EventContext& ctx,
const
xAOD::Photon
*
part
)
const
= 0 ;
48
49
virtual
asg::AcceptData
accept
(
const
EventContext& ctx,
const
xAOD::Electron
*
part
)
const
= 0 ;
51
virtual
std::string
getOperatingPointName
()
const
= 0;
52
53
54
};
// End: class definition
55
56
57
#endif
58
LArG4FSStartPointFilter.part
part
Definition:
LArG4FSStartPointFilter.py:21
EgammaFwd.h
IAsgEGammaIsEMSelector
Interface to tool to select photons.
Definition:
IAsgEGammaIsEMSelector.h:29
IAsgForwardElectronIsEMSelector::~IAsgForwardElectronIsEMSelector
virtual ~IAsgForwardElectronIsEMSelector()
Virtual Destructor.
Definition:
IAsgForwardElectronIsEMSelector.h:39
ParticleTest.eg
eg
Definition:
ParticleTest.py:29
IAsgForwardElectronIsEMSelector
Interface to tool to select electrons.
Definition:
IAsgForwardElectronIsEMSelector.h:27
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
IAsgForwardElectronIsEMSelector::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
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const xAOD::IParticle *part) const =0
accept with pointer to IParticle so as to not hide the IAsgSelectionTool one
xAOD::Egamma_v1
Definition:
Egamma_v1.h:56
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Egamma *part) const =0
accept with pointer to Egamma object
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAsgForwardElectronIsEMSelector::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
ElectronFwd.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition:
AsgToolMacros.h:40
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Photon *part) const =0
accept with Photon pointer
xAOD::Electron_v1
Definition:
Electron_v1.h:34
IAsgEGammaIsEMSelector.h
xAOD::Photon_v1
Definition:
Photon_v1.h:37
asg::AcceptData
Definition:
AcceptData.h:30
Generated on Fri Jan 10 2025 21:11:10 for ATLAS Offline Software by
1.8.18