|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
6 #define XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
15 #include <TInetAddress.h>
55 void add( const ::TFile&
file );
105 #endif // XAODROOTACCESS_TOOLS_TFILEACCESSTRACER_H
void setMonitoredFraction(::Double_t value)
Set the fraction of jobs that should send monitoring information.
::TString fileName
The name of the file.
std::string m_serverAddress
Address of the server to send monitoring information to.
static void enableDataSubmission(::Bool_t value)
Function for turning data submission on/off.
void add(const ::TFile &file)
Add information about a new file that got accessed.
~TFileAccessTracer()
Destructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
::Double_t monitoredFraction() const
Fraction of jobs that should send monitoring information.
Helper class storing information about the accessed files.
std::mutex m_mutex
Mutex for modifying the object.
::TString filePath
The full path to the file.
TFileAccessTracer()
Default constructor.
::TInetAddress m_serverInetAddress
Technical address of the server.
::Double_t m_monitoredFraction
Fraction of jobs that should send monitoring information.
void setServerAddress(const std::string &addr)
Set the address of the server that information is sent to.
Helper class keeping track of the files that got accessed.
std::set< AccessedFile > m_accessedFiles
List of all the input files that were accessed in the job.
bool operator<(const AccessedFile &rhs) const
Operator to be able to put this into an std::set.
const std::string & serverAddress() const
The address of the server that information is sent to.
Class describing the access statistics of a collection of branches.
::TString fullFilePath() const
Function returning the full file path.
ReadStats * m_readStats
Object describing the job's xAOD access statistics.