ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24class EventContext;
25
27{
28
30
31 public:
32
37
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
#define ASG_TOOL_INTERFACE(CLASSNAME)
Interface to tool to select photons.
Interface to tool to select electrons.
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
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
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::IParticle *part) const =0
virtual asg::AcceptData accept(const xAOD::IParticle *part) const =0
accept with pointer to IParticle so as to not hide the IAsgSelectionTool one
virtual asg::AcceptData accept(const EventContext &ctx, const xAOD::Electron *part) const =0
accept with Electron reference
virtual ~IAsgForwardElectronIsEMSelector()
Virtual Destructor.
virtual StatusCode execute(const EventContext &ctx, const xAOD::Egamma *eg, unsigned int &isEM) const =0
Add a legacy execute method - return isEM value.
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".