ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
Interfaces
EgammaAnalysisInterfaces
EgammaAnalysisInterfaces
IAsgElectronChargeIDSelectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef EGAMMAANALYSISINTERFACES__IASGELECTRONCHARGEIDSELECTOR__
7
#define EGAMMAANALYSISINTERFACES__IASGELECTRONCHARGEIDSELECTOR__
8
15
16
// Include the interfaces
17
#include "
PATCore/IAsgSelectionTool.h
"
18
#include "
xAODEgamma/ElectronFwd.h
"
19
#include "
xAODEgamma/EgammaFwd.h
"
20
21
class
IAsgElectronChargeIDSelectorTool
:
virtual
public
IAsgSelectionTool
22
{
23
24
ASG_TOOL_INTERFACE
(
IAsgElectronChargeIDSelectorTool
)
25
26
public
:
27
31
33
virtual
asg::AcceptData
accept
(
const
xAOD::IParticle
* part )
const
= 0;
35
virtual
asg::AcceptData
accept
(
const
xAOD::Electron
* part )
const
= 0;
36
38
virtual
asg::AcceptData
accept
(
const
xAOD::Electron
* part,
double
mu )
const
= 0;
39
41
virtual
asg::AcceptData
accept
(
const
xAOD::Egamma
* part )
const
= 0;
42
44
virtual
asg::AcceptData
accept
(
const
xAOD::Egamma
* part,
double
mu )
const
= 0;
45
47
virtual
double
calculate
(
const
xAOD::IParticle
* part )
const
= 0;
48
50
virtual
double
calculate
(
const
xAOD::Electron
* eg )
const
= 0;
51
53
virtual
double
calculate
(
const
xAOD::Egamma
* eg )
const
= 0;
54
56
virtual
double
calculate
(
const
xAOD::Electron
* eg,
double
mu )
const
= 0;
57
59
virtual
double
calculate
(
const
xAOD::Egamma
* eg,
double
mu )
const
= 0;
60
62
virtual
std::string
getOperatingPointName
( )
const
=0;
63
65
67
virtual
~IAsgElectronChargeIDSelectorTool
() {};
68
69
};
// End: class definition
70
71
72
#endif
73
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
EgammaFwd.h
ElectronFwd.h
IAsgSelectionTool.h
IAsgElectronChargeIDSelectorTool
Interface to tool for ChargeID.
Definition
IAsgElectronChargeIDSelectorTool.h:22
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::IParticle *part) const =0
calculate method: for pointer to IParticle
IAsgElectronChargeIDSelectorTool::~IAsgElectronChargeIDSelectorTool
virtual ~IAsgElectronChargeIDSelectorTool()
Virtual Destructor.
Definition
IAsgElectronChargeIDSelectorTool.h:67
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::Egamma *part, double mu) const =0
accept method with pointer to egammma when mu not in EventInfo for online
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::Electron *part) const =0
accept method with pointer to electron
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Egamma *eg, double mu) const =0
calculate method: for pointer to egamma when mu not in EventInfo for online
IAsgElectronChargeIDSelectorTool::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Electron *eg) const =0
calculate method: for pointer to electron
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Egamma *eg) const =0
calculate method: for pointer to egamma
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::Electron *part, double mu) const =0
accept method with pointer to electron when mu not in EventInfo for online
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Electron *eg, double mu) const =0
calculate method: for pointer to electron when mu not in EventInfo for online
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::IParticle *part) const =0
accept with pointer to IParticle so as to not hide the IAsgSelectionTool one
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::Egamma *part) const =0
accept method with pointer to egamma
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::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