ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
17
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
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
EgammaFwd.h
ElectronFwd.h
IAsgEGammaIsEMSelector.h
PhotonFwd.h
IAsgEGammaIsEMSelector
Interface to tool to select photons.
Definition
IAsgEGammaIsEMSelector.h:29
IAsgForwardElectronIsEMSelector
Interface to tool to select electrons.
Definition
IAsgForwardElectronIsEMSelector.h:27
IAsgForwardElectronIsEMSelector::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
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::Photon *part) const =0
accept with Photon pointer
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
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
IAsgForwardElectronIsEMSelector::accept
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
IAsgForwardElectronIsEMSelector::~IAsgForwardElectronIsEMSelector
virtual ~IAsgForwardElectronIsEMSelector()
Virtual Destructor.
Definition
IAsgForwardElectronIsEMSelector.h:39
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.
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