ATLAS Offline Software
Public Member Functions | List of all members
IObservableTool Class Referenceabstract

Interface for tools that want to calculate a quantity from an xAOD::IParticle. More...

#include <IObservableTool.h>

Inheritance diagram for IObservableTool:
Collaboration diagram for IObservableTool:

Public Member Functions

virtual ~IObservableTool ()
 Declare the interface that this class provides. More...
 
virtual double evaluate (const xAOD::IParticle *) const =0
 returns: the value that was calculated from the xAOD::IParticle More...
 
virtual void print () const =0
 Print the state of the tool. More...
 

Detailed Description

Interface for tools that want to calculate a quantity from an xAOD::IParticle.

Author
Karsten Koeneke karst.nosp@m.en.k.nosp@m.oenek.nosp@m.e@ce.nosp@m.rn.ch Main tools implementing this interface: GenericParticleScaleFactorTool (source code: PhysicsAnalysis/AnalysisCommon/ReweightUtils) McEventWeight (source code: PhysicsAnalysis/AnalysisCommon/ReweightUtils)

Definition at line 32 of file IObservableTool.h.

Constructor & Destructor Documentation

◆ ~IObservableTool()

virtual IObservableTool::~IObservableTool ( )
inlinevirtual

Declare the interface that this class provides.

Virtual destructor

Definition at line 40 of file IObservableTool.h.

40 {};

Member Function Documentation

◆ evaluate()

virtual double IObservableTool::evaluate ( const xAOD::IParticle ) const
pure virtual

returns: the value that was calculated from the xAOD::IParticle

Implemented in ParticleScaleFactorTool, SUSYIDWeight, WeightsAgregator, PDFWeight, and McEventWeight.

◆ print()

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

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