ATLAS Offline Software
DiTauToolBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DITAUREC_DITAUTOOLBASE_H
6 #define DITAUREC_DITAUTOOLBASE_H
7 
8 #include <string>
9 
12 
20 {
21  public:
22  DiTauToolBase( const std::string &type,
23  const std::string &name,
24  const IInterface *parent );
25  virtual ~DiTauToolBase();
26 
27  //-----------------------------------------------------------------
29  //-----------------------------------------------------------------
30  static const InterfaceID& interfaceID();
31 
32  //-----------------------------------------------------------------
34  //-----------------------------------------------------------------
35  virtual StatusCode initialize();
36 
37  //-----------------------------------------------------------------
39  //-----------------------------------------------------------------
41 
42  //-----------------------------------------------------------------
44  //-----------------------------------------------------------------
46  const EventContext& ctx) const;
47 
48  //-----------------------------------------------------------------
50  //-----------------------------------------------------------------
51  virtual StatusCode finalize();
52 
53  //-------------------------------------------------------------
55  //-------------------------------------------------------------
56  template <class T>
57  bool retrieveTool(T &tool);
58 
59 };
60 
61 #endif // DITAUREC_DITAUTOOLBASE_H
DiTauToolBase::DiTauToolBase
DiTauToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: DiTauToolBase.cxx:14
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
DiTauToolBase::finalize
virtual StatusCode finalize()
Finalizer.
Definition: DiTauToolBase.cxx:45
DiTauCandidateData.h
DiTauToolBase::eventInitialize
virtual StatusCode eventInitialize(DiTauCandidateData *data)
Event initializer - called at the beginning of each event.
Definition: DiTauToolBase.cxx:32
DiTauToolBase::~DiTauToolBase
virtual ~DiTauToolBase()
DiTauToolBase::interfaceID
static const InterfaceID & interfaceID()
InterfaceID implementation needed for ToolHandle.
Definition: DiTauToolBase.cxx:9
DiTauToolBase::retrieveTool
bool retrieveTool(T &tool)
Convenience functions to handle storegate objects.
Definition: DiTauToolBase.cxx:54
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
DiTauToolBase
The base class for all tau tools.
Definition: DiTauToolBase.h:20
DiTauToolBase::initialize
virtual StatusCode initialize()
Tool initializer.
Definition: DiTauToolBase.cxx:26
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
DiTauToolBase::execute
virtual StatusCode execute(DiTauCandidateData *data, const EventContext &ctx) const
Execute - called for each Ditau candidate.
Definition: DiTauToolBase.cxx:38
DiTauCandidateData
Definition: DiTauCandidateData.h:15
AthAlgTool
Definition: AthAlgTool.h:26
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35