ATLAS Offline Software
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 
16 // Include the interfaces
18 #include "xAODEgamma/ElectronFwd.h"
19 #include "xAODEgamma/EgammaFwd.h"
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 
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
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
EgammaFwd.h
IAsgElectronChargeIDSelectorTool::getOperatingPointName
virtual std::string getOperatingPointName() const =0
Method to get the operating point.
ParticleTest.eg
eg
Definition: ParticleTest.py:29
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::~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::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
IAsgElectronChargeIDSelectorTool
Interface to tool for ChargeID.
Definition: IAsgElectronChargeIDSelectorTool.h:22
IAsgSelectionTool
Definition: IAsgSelectionTool.h:28
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:40
IAsgSelectionTool.h
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Egamma *eg) const =0
calculate method: for pointer to egamma
ElectronFwd.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
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::IParticle *part) const =0
calculate method: for pointer to IParticle
xAOD::Electron_v1
Definition: Electron_v1.h:34
IAsgElectronChargeIDSelectorTool::calculate
virtual double calculate(const xAOD::Electron *eg) const =0
calculate method: for pointer to electron
asg::AcceptData
Definition: AcceptData.h:30
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
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
IAsgElectronChargeIDSelectorTool::accept
virtual asg::AcceptData accept(const xAOD::Egamma *part) const =0
accept method with pointer to egamma