ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace xAOD {
14
38
39 public:
42
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:
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
double monitoredFraction() const
Fraction of jobs that should send monitoring information.
void enableDataSubmission(bool value)
Function for turning data submission on/off.
void setMonitoredFraction(double value)
Set the fraction of jobs that should send monitoring information.
const std::string & serverAddress() const
The address of the server that information is sent to.
void add(std::string_view fileName)
Add information about a new file that got accessed.
TFileAccessTracer()
Default constructor.
void setServerAddress(const std::string &addr)
Set the address of the server that information is sent to.
static TFileAccessTracer & instance()
Access the singleton instance of this class.
std::unique_ptr< Impl > m_impl
Pointer to the implementation of the class.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.