ATLAS Offline Software
Loading...
Searching...
No Matches
ITauSelectionTool.h File Reference
#include "AsgTools/IAsgTool.h"
#include "PATCore/AcceptInfo.h"
#include "PATCore/AcceptData.h"
#include "ColumnarMode/ColumnarMode.h"
#include "xAODTau/TauJet.h"
#include "TFile.h"
Include dependency graph for ITauSelectionTool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

namespace ADD_CMODE (TauAnalysisTools)

Function Documentation

◆ ADD_CMODE()

namespace ADD_CMODE ( TauAnalysisTools )

Interface for tau selector tool

Declare the interface that the class provides

Function initialising the tool

Get an object describing the "selection steps" of the tool

Get the decision using a generic IParticle pointer

Get the decision for a specific TauJet object

Set output file for histograms

Write control histograms to output file

Definition at line 1 of file ITauSelectionTool.h.

29{
30
33class ITauSelectionTool : public virtual asg::IAsgTool
34{
35
37 ASG_TOOL_INTERFACE( TauAnalysisTools::ITauSelectionTool )
38
39public:
41 virtual StatusCode initialize() = 0;
42
44 virtual const asg::AcceptInfo& getAcceptInfo() const = 0;
45
47 virtual asg::AcceptData accept( const xAOD::IParticle* p ) const = 0;
48
50 virtual asg::AcceptData accept( const xAOD::TauJet& tau ) const = 0;
51
53 virtual void setOutFile( TFile* fOutFile ) = 0;
54
56 virtual void writeControlHistograms() = 0;
57}; // class ITauSelectionTool
58
59} // namespace ADD_CMODE(TauAnalysisTools)
#define ASG_TOOL_INTERFACE(CLASSNAME)
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
StatusCode accept(const xAOD::Muon *mu)
::StatusCode StatusCode
StatusCode definition for legacy code.
TauJet_v3 TauJet
Definition of the current "tau version".
Definition TauJet.h:17
void initialize()