ATLAS Offline Software
Loading...
Searching...
No Matches
IAsgElectronLikelihoodTool Class Referenceabstract

Interface to tool to select electrons. More...

#include <IAsgElectronLikelihoodTool.h>

Inheritance diagram for IAsgElectronLikelihoodTool:
Collaboration diagram for IAsgElectronLikelihoodTool:

Public Member Functions

virtual ~IAsgElectronLikelihoodTool ()
 Virtual Destructor.
virtual const asg::AcceptInfogetAcceptInfo () const =0
 Declare the interface ID for this pure-virtual interface class to the Athena framework.
virtual void print () const =0
 Print the state of the tool.
IAsgElectronLikelihoodTool methods in Addition to the IAsgSelectionTool ones

Some are there to mainly support the calls done from the online/Trigger side

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::IParticle *part) const =0
virtual asg::AcceptData accept (const EventContext &ctx, const xAOD::Electron *part) const =0
 accept method with pointer to electron
virtual asg::AcceptData accept (const EventContext &ctx, const xAOD::Electron *part, double mu) const =0
 accept method with pointer to electron when mu not in EventInfo for online
virtual asg::AcceptData accept (const EventContext &ctx, const xAOD::Egamma *part) const =0
 accept method with pointer to egamma
virtual asg::AcceptData accept (const EventContext &ctx, const xAOD::Egamma *part, double mu) const =0
 accept method with pointer to egammma when mu not in EventInfo for online
virtual double calculate (const EventContext &ctx, const xAOD::IParticle *part) const =0
 calculate method: for pointer to IParticle
virtual double calculate (const EventContext &ctx, const xAOD::Electron *eg) const =0
 calculate method: for pointer to electron
virtual double calculate (const EventContext &ctx, const xAOD::Egamma *eg) const =0
 calculate method: for pointer to egamma
virtual double calculate (const EventContext &ctx, const xAOD::Electron *eg, double mu) const =0
 calculate method: for pointer to electron when mu not in EventInfo for online
virtual double calculate (const EventContext &ctx, const xAOD::Egamma *eg, double mu) const =0
 calculate method: for pointer to egamma when mu not in EventInfo for online
virtual std::vector< float > calculateMultipleOutputs (const EventContext &ctx, const xAOD::Electron *eg, double mu=-99) const =0
 calculate all outputs of the underlying method (MVA) if it produces multiple outputs
virtual std::string getOperatingPointName () const =0
 Method to get the operating point.

Detailed Description

Interface to tool to select electrons.

12-MAR-2014, convert to ASG tool

Definition at line 26 of file IAsgElectronLikelihoodTool.h.

Constructor & Destructor Documentation

◆ ~IAsgElectronLikelihoodTool()

virtual IAsgElectronLikelihoodTool::~IAsgElectronLikelihoodTool ( )
inlinevirtual

Virtual Destructor.

Definition at line 77 of file IAsgElectronLikelihoodTool.h.

77{};

Member Function Documentation

◆ accept() [1/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const EventContext & ctx,
const xAOD::Egamma * part ) const
pure virtual

◆ accept() [2/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const EventContext & ctx,
const xAOD::Egamma * part,
double mu ) const
pure virtual

accept method with pointer to egammma when mu not in EventInfo for online

Implemented in AsgElectronChargeIDSelectorTool, AsgElectronLikelihoodTool, AsgElectronSelectorTool, and AsgForwardElectronLikelihoodTool.

◆ accept() [3/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const EventContext & ctx,
const xAOD::Electron * part ) const
pure virtual

◆ accept() [4/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const EventContext & ctx,
const xAOD::Electron * part,
double mu ) const
pure virtual

accept method with pointer to electron when mu not in EventInfo for online

Implemented in AsgElectronChargeIDSelectorTool, AsgElectronLikelihoodTool, AsgElectronSelectorTool, and AsgForwardElectronLikelihoodTool.

◆ accept() [5/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const EventContext & ctx,
const xAOD::IParticle * part ) const
pure virtual

◆ accept() [6/6]

virtual asg::AcceptData IAsgElectronLikelihoodTool::accept ( const xAOD::IParticle * part) const
pure virtual

◆ calculate() [1/5]

virtual double IAsgElectronLikelihoodTool::calculate ( const EventContext & ctx,
const xAOD::Egamma * eg ) const
pure virtual

◆ calculate() [2/5]

virtual double IAsgElectronLikelihoodTool::calculate ( const EventContext & ctx,
const xAOD::Egamma * eg,
double mu ) const
pure virtual

calculate method: for pointer to egamma when mu not in EventInfo for online

Implemented in AsgElectronChargeIDSelectorTool, AsgElectronLikelihoodTool, AsgElectronSelectorTool, and AsgForwardElectronLikelihoodTool.

◆ calculate() [3/5]

virtual double IAsgElectronLikelihoodTool::calculate ( const EventContext & ctx,
const xAOD::Electron * eg ) const
pure virtual

◆ calculate() [4/5]

virtual double IAsgElectronLikelihoodTool::calculate ( const EventContext & ctx,
const xAOD::Electron * eg,
double mu ) const
pure virtual

calculate method: for pointer to electron when mu not in EventInfo for online

Implemented in AsgElectronChargeIDSelectorTool, AsgElectronLikelihoodTool, AsgElectronSelectorTool, and AsgForwardElectronLikelihoodTool.

◆ calculate() [5/5]

virtual double IAsgElectronLikelihoodTool::calculate ( const EventContext & ctx,
const xAOD::IParticle * part ) const
pure virtual

◆ calculateMultipleOutputs()

virtual std::vector< float > IAsgElectronLikelihoodTool::calculateMultipleOutputs ( const EventContext & ctx,
const xAOD::Electron * eg,
double mu = -99 ) const
pure virtual

calculate all outputs of the underlying method (MVA) if it produces multiple outputs

Implemented in AsgElectronChargeIDSelectorTool, AsgElectronLikelihoodTool, AsgElectronSelectorTool, and AsgForwardElectronLikelihoodTool.

◆ getAcceptInfo()

◆ getOperatingPointName()

virtual std::string IAsgElectronLikelihoodTool::getOperatingPointName ( ) const
pure virtual

◆ print()


The documentation for this class was generated from the following file: