ATLAS Offline Software
Public Member Functions | List of all members
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. More...
 
virtual const asg::AcceptInfogetAcceptInfo () const =0
 Declare the interface ID for this pure-virtual interface class to the Athena framework. More...
 
virtual void print () const =0
 Print the state of the tool. More...
 
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 More...
 
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 More...
 
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 More...
 
virtual asg::AcceptData accept (const EventContext &ctx, const xAOD::Egamma *part) const =0
 accept method with pointer to egamma More...
 
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 More...
 
virtual double calculate (const EventContext &ctx, const xAOD::IParticle *part) const =0
 calculate method: for pointer to IParticle More...
 
virtual double calculate (const EventContext &ctx, const xAOD::Electron *eg) const =0
 calculate method: for pointer to electron More...
 
virtual double calculate (const EventContext &ctx, const xAOD::Egamma *eg) const =0
 calculate method: for pointer to egamma More...
 
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 More...
 
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 More...
 
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 More...
 
virtual std::string getOperatingPointName () const =0
 Method to get the operating point. More...
 

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 AsgElectronLikelihoodTool, AsgElectronChargeIDSelectorTool, AsgForwardElectronLikelihoodTool, and AsgElectronSelectorTool.

◆ 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 AsgElectronLikelihoodTool, AsgElectronChargeIDSelectorTool, AsgForwardElectronLikelihoodTool, and AsgElectronSelectorTool.

◆ 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 AsgElectronLikelihoodTool, AsgElectronChargeIDSelectorTool, AsgForwardElectronLikelihoodTool, and AsgElectronSelectorTool.

◆ 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 AsgElectronLikelihoodTool, AsgElectronChargeIDSelectorTool, AsgForwardElectronLikelihoodTool, and AsgElectronSelectorTool.

◆ 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 AsgElectronLikelihoodTool, AsgElectronChargeIDSelectorTool, AsgForwardElectronLikelihoodTool, and AsgElectronSelectorTool.

◆ getAcceptInfo()

virtual const asg::AcceptInfo& IAsgSelectionTool::getAcceptInfo ( ) const
pure virtualinherited

◆ getOperatingPointName()

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

◆ print()

virtual void asg::IAsgTool::print ( ) const
pure virtualinherited

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