ATLAS Offline Software
Loading...
Searching...
No Matches
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):
11extern "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
21namespace xAOD {
22
36
37 public:
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;
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
Class describing one branch of the ROOT file.
sgkey_t m_hash
The hash belonging to this branch/key.
std::string m_branchName
The branch/key name.
sgkey_t hash() const
Get the hash belonging to this branch/key.
std::string m_parentName
The name of the parent auxiliary object.
const std::string & branchName() const
Get the branch/key name.
EventFormatElement(const std::string &branchName="", const std::string &className="", const std::string &parentName="", sgkey_t hash=0)
Constructor with all members specified.
std::string m_className
The class name belonging to this branch/key.
const std::string & parentName() const
Get the name of the parent auxiliary object.
const std::string & className() const
Get the class name of this branch/key.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition sgkey_t.h:32
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.