ATLAS Offline Software
Loading...
Searching...
No Matches
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.
virtual double evaluate (const xAOD::IParticle *) const =0
 returns: the value that was calculated from the xAOD::IParticle
virtual void print () const =0
 Print the state of the tool.

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 McEventWeight, ParticleScaleFactorTool, PDFWeight, SUSYIDWeight, and WeightsAgregator.

◆ print()


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