ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
OutputStreamAthenaPool
src
EventInfoAttListTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENTINFOATTLISTTOOL_H
6
#define EVENTINFOATTLISTTOOL_H
7
8
/*****************************************************************************
9
Name : EventInfoAttListTool.h
10
Purpose : Tool to buid the Global Event Tags
11
*****************************************************************************/
12
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
#include "
xAODEventInfo/EventInfo.h
"
//typedef
15
16
#include <memory>
17
18
class
AthenaAttributeList
;
19
namespace
coral
{
20
class
AttributeListSpecification;
21
}
22
23
24
class
EventInfoAttListTool
:
public
AthAlgTool
{
25
26
public
:
27
29
using
AthAlgTool::AthAlgTool
;
30
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
finalize
()
override
;
34
35
// interface
36
bool
isValid
()
const
;
37
const
coral::AttributeListSpecification&
getAttributeSpecification
()
const
;
38
std::unique_ptr<AthenaAttributeList>
getAttributeListPtr
(
const
xAOD::EventInfo
& einfo)
const
;
39
40
protected
:
41
43
StatusCode
eventTag
(
AthenaAttributeList
& eventTagCol,
const
xAOD::EventInfo
& eventInfo)
const
;
44
45
coral::AttributeListSpecification*
m_attribListSpec
{};
46
47
};
48
49
#endif
// EVENTINFOATTLISTTOOL_H
AthAlgTool.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table.
Definition
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:46
EventInfoAttListTool
Definition
EventInfoAttListTool.h:24
EventInfoAttListTool::m_attribListSpec
coral::AttributeListSpecification * m_attribListSpec
Definition
EventInfoAttListTool.h:45
EventInfoAttListTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition
AthAlgTool.cxx:16
EventInfoAttListTool::getAttributeSpecification
const coral::AttributeListSpecification & getAttributeSpecification() const
EventInfoAttListTool::isValid
bool isValid() const
EventInfoAttListTool::initialize
virtual StatusCode initialize() override
Overriding initialize, finalize and execute.
Definition
EventInfoAttListTool.cxx:22
EventInfoAttListTool::eventTag
StatusCode eventTag(AthenaAttributeList &eventTagCol, const xAOD::EventInfo &eventInfo) const
the various components to build their own fragments of tag
Definition
EventInfoAttListTool.cxx:65
EventInfoAttListTool::finalize
virtual StatusCode finalize() override
finalize - called once at the end
Definition
EventInfoAttListTool.cxx:112
EventInfoAttListTool::getAttributeListPtr
std::unique_ptr< AthenaAttributeList > getAttributeListPtr(const xAOD::EventInfo &einfo) const
Definition
EventInfoAttListTool.cxx:47
coral
Definition
ISecondaryEventSelector.h:19
xAOD::EventInfo
EventInfo_v1 EventInfo
Definition of the latest event info version.
Definition
IEventInfoCnvTool.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0