ATLAS Offline Software
Loading...
Searching...
No Matches
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
20
22{
23
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
68
69}; // End: class definition
70
71
72#endif
73
#define ASG_TOOL_INTERFACE(CLASSNAME)
virtual double calculate(const xAOD::IParticle *part) const =0
calculate method: for pointer to IParticle
virtual ~IAsgElectronChargeIDSelectorTool()
Virtual Destructor.
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
virtual asg::AcceptData accept(const xAOD::Electron *part) const =0
accept method with pointer to electron
virtual double calculate(const xAOD::Egamma *eg, double mu) const =0
calculate method: for pointer to egamma when mu not in EventInfo for online
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
virtual double calculate(const xAOD::Electron *eg) const =0
calculate method: for pointer to electron
virtual double calculate(const xAOD::Egamma *eg) const =0
calculate method: for pointer to egamma
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
virtual double calculate(const xAOD::Electron *eg, double mu) const =0
calculate method: for pointer to electron when mu not in EventInfo for online
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 xAOD::Egamma *part) const =0
accept method with pointer to egamma
Class providing the definition of the 4-vector interface.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
Electron_v1 Electron
Definition of the current "egamma version".