Skip to content
Snippets Groups Projects
Commit 64fe6a14 authored by Will Buttinger's avatar Will Buttinger Committed by Graeme Stewart
Browse files

'move IObservableTool interface to AsgAnalysisInterfaces package' (PATInterfaces-00-00-38)

        * relocated IObservableTool interface to PhysicsAnalysis/Interfaces/AsgAnalysisInterfaces
        * Tagging PATinterfaces-00-00-38
parent 31c60ca7
No related branches found
No related tags found
No related merge requests found
// Dear emacs, this is -*- c++ -*-
// $Id: IObservableTool.h $
#ifndef PATINTERFACES_IOBSERVABLETOOL_H
#define PATINTERFACES_IOBSERVABLETOOL_H
// System include(s):
// Framework include(s):
#include "AsgTools/IAsgTool.h"
// Forward declaration
namespace xAOD{
class IParticle;
}
/// Interface for tools that want to calculate a quantity
/// from an xAOD::IParticle
/// @author Karsten Koeneke <karsten.koeneke@cern.ch>
///
class IObservableTool : public virtual asg::IAsgTool {
/// Declare the interface that this class provides
ASG_TOOL_INTERFACE( IObservableTool )
public:
/// Virtual destructor
virtual ~IObservableTool(){};
/// returns: the value that was calculated from the xAOD::IParticle
virtual double
evaluate( const xAOD::IParticle* ) const = 0;
}; // class IObservableTool
#endif // PATINTERFACES_IOBSERVABLETOOL_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment