ATLAS Offline Software
Loading...
Searching...
No Matches
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):
12
13// Forward declaration(s):
14class TFile;
15
16namespace xAOD {
17
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:
41
43 std::map< const TFile*, EventFormat > m_eventFormats;
44
45 }; // class TEventFormatRegistry
46
47} // namespace xAOD
48
49#endif // XAODROOTACCESS_TOOLS_TEVENTFORMATREGISTRY_H
std::map< const TFile *, EventFormat > m_eventFormats
The process-wide event format object.
static const TEventFormatRegistry & instance()
Access the only instance of the object in memory.
EventFormat & getEventFormat(const TFile *file) const
Access the managed EventFormat object.
TEventFormatRegistry()
Hidden constructor.
Definition merge.py:1
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
EventFormat_v1 EventFormat
Definition of the current event format version.
Definition EventFormat.h:16
TFile * file