ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
tools
TEventFormatRegistry.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODROOTACCESS_TOOLS_TEVENTFORMATREGISTRY_H
8
#define XAODROOTACCESS_TOOLS_TEVENTFORMATREGISTRY_H
9
10
// EDM include(s):
11
#include "
xAODEventFormat/EventFormat.h
"
12
13
// Forward declaration(s):
14
class
TFile;
15
16
namespace
xAOD
{
17
26
class
TEventFormatRegistry
{
27
28
public
:
30
static
const
TEventFormatRegistry
&
instance
();
31
33
EventFormat
&
getEventFormat
(
const
TFile*
file
)
const
;
34
36
void
merge
(
const
TFile*
file
,
const
EventFormat
& ef );
37
38
protected
:
40
TEventFormatRegistry
();
41
43
std::map< const TFile*, EventFormat >
m_eventFormats
;
44
45
};
// class TEventFormatRegistry
46
47
}
// namespace xAOD
48
49
#endif
// XAODROOTACCESS_TOOLS_TEVENTFORMATREGISTRY_H
EventFormat.h
xAOD::TEventFormatRegistry::m_eventFormats
std::map< const TFile *, EventFormat > m_eventFormats
The process-wide event format object.
Definition
TEventFormatRegistry.h:43
xAOD::TEventFormatRegistry::instance
static const TEventFormatRegistry & instance()
Access the only instance of the object in memory.
Definition
TEventFormatRegistry.cxx:14
xAOD::TEventFormatRegistry::getEventFormat
EventFormat & getEventFormat(const TFile *file) const
Access the managed EventFormat object.
Definition
TEventFormatRegistry.cxx:20
xAOD::TEventFormatRegistry::TEventFormatRegistry
TEventFormatRegistry()
Hidden constructor.
Definition
TEventFormatRegistry.cxx:45
merge
Definition
merge.py:1
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::EventFormat
EventFormat_v1 EventFormat
Definition of the current event format version.
Definition
EventFormat.h:16
file
TFile * file
Definition
tile_monitor.h:29
Generated on
for ATLAS Offline Software by
1.17.0