ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
tools
TFileAccessTracer.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
6
#define XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
7
8
// System include(s):
9
#include <memory>
10
#include <string>
11
#include <string_view>
12
13
namespace
xAOD
{
14
37
class
TFileAccessTracer
{
38
39
public
:
41
~TFileAccessTracer
();
42
44
static
TFileAccessTracer
&
instance
();
45
47
void
add
(std::string_view fileName);
48
50
const
std::string&
serverAddress
()
const
;
52
void
setServerAddress
(
const
std::string& addr);
53
55
double
monitoredFraction
()
const
;
57
void
setMonitoredFraction
(
double
value);
58
60
void
enableDataSubmission
(
bool
value);
61
62
private
:
64
TFileAccessTracer
();
65
67
struct
Impl
;
69
std::unique_ptr<Impl>
m_impl
;
70
71
};
// class TFileAccessTracer
72
73
}
// namespace xAOD
74
75
#endif
// XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
xAOD::TFileAccessTracer::monitoredFraction
double monitoredFraction() const
Fraction of jobs that should send monitoring information.
Definition
TFileAccessTracer.cxx:301
xAOD::TFileAccessTracer::enableDataSubmission
void enableDataSubmission(bool value)
Function for turning data submission on/off.
Definition
TFileAccessTracer.cxx:322
xAOD::TFileAccessTracer::setMonitoredFraction
void setMonitoredFraction(double value)
Set the fraction of jobs that should send monitoring information.
Definition
TFileAccessTracer.cxx:309
xAOD::TFileAccessTracer::serverAddress
const std::string & serverAddress() const
The address of the server that information is sent to.
Definition
TFileAccessTracer.cxx:284
xAOD::TFileAccessTracer::add
void add(std::string_view fileName)
Add information about a new file that got accessed.
Definition
TFileAccessTracer.cxx:274
xAOD::TFileAccessTracer::~TFileAccessTracer
~TFileAccessTracer()
Destructor.
Definition
TFileAccessTracer.cxx:81
xAOD::TFileAccessTracer::TFileAccessTracer
TFileAccessTracer()
Default constructor.
Definition
TFileAccessTracer.cxx:327
xAOD::TFileAccessTracer::setServerAddress
void setServerAddress(const std::string &addr)
Set the address of the server that information is sent to.
Definition
TFileAccessTracer.cxx:292
xAOD::TFileAccessTracer::instance
static TFileAccessTracer & instance()
Access the singleton instance of this class.
Definition
TFileAccessTracer.cxx:263
xAOD::TFileAccessTracer::m_impl
std::unique_ptr< Impl > m_impl
Pointer to the implementation of the class.
Definition
TFileAccessTracer.h:69
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::TFileAccessTracer::Impl
Definition
TFileAccessTracer.cxx:28
Generated on
for ATLAS Offline Software by
1.17.0