ATLAS Offline Software
Event
xAOD
xAODEventInfoCnv
src
EventInfoSelectorTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENTINFOSELECTORTOOL_H
6
#define EVENTINFOSELECTORTOOL_H
7
13
#include "
AthenaKernel/IAthenaSelectorTool.h
"
14
//#include "AthenaBaseComps/AthAlgTool.h"
15
#include "
EventInfoCnvTool.h
"
16
17
#include <string>
18
22
namespace
xAODMaker
{
23
24
class
EventInfoSelectorTool
:
public
xAODMaker::EventInfoCnvTool
,
virtual
public
IAthenaSelectorTool
{
25
public
:
// Constructor and Destructor
27
EventInfoSelectorTool
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
29
virtual
~EventInfoSelectorTool
();
30
31
public
:
33
virtual
StatusCode
initialize
();
34
virtual
StatusCode
postInitialize
();
35
virtual
StatusCode
preNext
()
const
;
36
virtual
StatusCode
postNext
()
const
;
37
virtual
StatusCode
preFinalize
();
38
virtual
StatusCode
finalize
();
39
private
:
41
std::string
m_aodKey
;
43
std::string
m_xaodKey
;
44
45
};
46
47
inline
StatusCode
EventInfoSelectorTool::initialize
() {
return
EventInfoCnvTool::initialize
();}
48
inline
StatusCode
EventInfoSelectorTool::postInitialize
() {
return
StatusCode::SUCCESS;}
49
inline
StatusCode
EventInfoSelectorTool::preFinalize
() {
return
StatusCode::SUCCESS;}
50
inline
StatusCode
EventInfoSelectorTool::finalize
() {
return
StatusCode::SUCCESS;}
51
}
52
53
#endif
xAODMaker::EventInfoSelectorTool::m_xaodKey
std::string m_xaodKey
StoreGate key for the output object.
Definition:
EventInfoSelectorTool.h:43
xAODMaker::EventInfoSelectorTool::preFinalize
virtual StatusCode preFinalize()
Called at the beginning of finalize.
Definition:
EventInfoSelectorTool.h:49
IAthenaSelectorTool.h
This file contains the class definition for the IAthenaSelectorTool class.
xAODMaker::EventInfoCnvTool::initialize
virtual StatusCode initialize() override
Function initialising the tool.
Definition:
EventInfoCnvTool.cxx:61
xAODMaker
Definition:
StoreGateSvc.h:72
EventInfoCnvTool.h
xAODMaker::EventInfoSelectorTool::postInitialize
virtual StatusCode postInitialize()
Called at the end of initialize.
Definition:
EventInfoSelectorTool.h:48
xAODMaker::EventInfoSelectorTool::postNext
virtual StatusCode postNext() const
Called at the end of next.
Definition:
EventInfoSelectorTool.cxx:30
xAODMaker::EventInfoCnvTool
Implementation for the IEventInfoCnvTool interface.
Definition:
EventInfoCnvTool.h:43
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::EventInfoSelectorTool::~EventInfoSelectorTool
virtual ~EventInfoSelectorTool()
Destructor.
Definition:
EventInfoSelectorTool.cxx:26
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
xAODMaker::EventInfoSelectorTool::finalize
virtual StatusCode finalize()
Finalize AlgTool.
Definition:
EventInfoSelectorTool.h:50
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
xAODMaker::EventInfoSelectorTool::EventInfoSelectorTool
EventInfoSelectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Service Constructor.
Definition:
EventInfoSelectorTool.cxx:18
xAODMaker::EventInfoSelectorTool::initialize
virtual StatusCode initialize()
IAthenaSelectorTool Interface method implementations:
Definition:
EventInfoSelectorTool.h:47
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
xAODMaker::EventInfoSelectorTool::m_aodKey
std::string m_aodKey
StoreGate key for the input object.
Definition:
EventInfoSelectorTool.h:41
xAODMaker::EventInfoSelectorTool::preNext
virtual StatusCode preNext() const
Called at the beginning of next.
Definition:
EventInfoSelectorTool.cxx:61
xAODMaker::EventInfoSelectorTool
Definition:
EventInfoSelectorTool.h:24
IAthenaSelectorTool
This class provides the interface for AthenaSelectorTool classes used by AthenaEventSelector.
Definition:
IAthenaSelectorTool.h:20
Generated on Tue Jul 2 2024 21:15:21 for ATLAS Offline Software by
1.8.18