ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventFormat
xAODEventFormat
EventFormatElement.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODEVENTFORMAT_EVENTFORMATELEMENT_H
8
#define XAODEVENTFORMAT_EVENTFORMATELEMENT_H
9
10
// System include(s):
11
extern
"C"
{
12
# include <stdint.h>
13
}
14
15
// STL include(s):
16
#include <string>
17
#include <iosfwd>
18
19
#include "
SGCore/sgkey_t.h
"
20
21
namespace
xAOD
{
22
35
class
EventFormatElement
{
36
37
public
:
38
using
sgkey_t
=
SG::sgkey_t
;
39
41
EventFormatElement
(
const
std::string&
branchName
=
""
,
42
const
std::string&
className
=
""
,
43
const
std::string&
parentName
=
""
,
44
sgkey_t
hash
= 0 );
45
47
const
std::string&
branchName
()
const
;
49
const
std::string&
className
()
const
;
51
const
std::string&
parentName
()
const
;
53
sgkey_t
hash
()
const
;
54
55
private
:
57
std::string
m_branchName
;
59
std::string
m_className
;
61
std::string
m_parentName
;
63
sgkey_t
m_hash
;
64
65
};
// class EventFormatElement_v1
66
68
std::ostream&
operator<<
( std::ostream& out,
69
const
EventFormatElement
& element );
70
71
}
// namespace xAOD
72
73
#endif
// XAODEVENTFORMAT_EVENTFORMATELEMENT_H
xAOD::EventFormatElement
Class describing one branch of the ROOT file.
Definition
EventFormatElement.h:35
xAOD::EventFormatElement::m_hash
sgkey_t m_hash
The hash belonging to this branch/key.
Definition
EventFormatElement.h:63
xAOD::EventFormatElement::m_branchName
std::string m_branchName
The branch/key name.
Definition
EventFormatElement.h:57
xAOD::EventFormatElement::hash
sgkey_t hash() const
Get the hash belonging to this branch/key.
Definition
EventFormatElement.cxx:48
xAOD::EventFormatElement::m_parentName
std::string m_parentName
The name of the parent auxiliary object.
Definition
EventFormatElement.h:61
xAOD::EventFormatElement::branchName
const std::string & branchName() const
Get the branch/key name.
Definition
EventFormatElement.cxx:30
xAOD::EventFormatElement::EventFormatElement
EventFormatElement(const std::string &branchName="", const std::string &className="", const std::string &parentName="", sgkey_t hash=0)
Constructor with all members specified.
Definition
EventFormatElement.cxx:20
xAOD::EventFormatElement::m_className
std::string m_className
The class name belonging to this branch/key.
Definition
EventFormatElement.h:59
xAOD::EventFormatElement::parentName
const std::string & parentName() const
Get the name of the parent auxiliary object.
Definition
EventFormatElement.cxx:42
xAOD::EventFormatElement::sgkey_t
SG::sgkey_t sgkey_t
Definition
EventFormatElement.h:38
xAOD::EventFormatElement::className
const std::string & className() const
Get the class name of this branch/key.
Definition
EventFormatElement.cxx:36
SG::sgkey_t
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition
sgkey_t.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::operator<<
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
Definition
RDataSource.cxx:53
sgkey_t.h
Generated on
for ATLAS Offline Software by
1.17.0