ATLAS Offline Software
PhysicsAnalysis
Algorithms
AsgAnalysisAlgorithms
Root
IOStatsAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
#include <
AsgAnalysisAlgorithms/IOStatsAlg.h
>
8
9
#include "
xAODCore/tools/IOStats.h
"
10
#include "
xAODCore/tools/ReadStats.h
"
11
12
namespace
CP
{
13
14
StatusCode
IOStatsAlg::finalize
() {
15
16
xAOD::IOStats::instance
().
merged
().
Print
(
m_printOption
.value().c_str());
17
18
return
StatusCode::SUCCESS;
19
}
20
21
}
// namespace
xAOD::ReadStats::Print
void Print(::Option_t *option="") const
Print information about the collected statistics.
IOStats.h
CP
Select isolated Photons, Electrons and Muons.
Definition:
Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
ReadStats.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAOD::IOStats::instance
static IOStats & instance()
Singleton object accessor.
Definition:
IOStats.cxx:11
CP::IOStatsAlg::m_printOption
Gaudi::Property< std::string > m_printOption
Definition:
IOStatsAlg.h:25
IOStatsAlg.h
xAOD::IOStats::merged
ReadStats merged() const
Access the statistics object, merging information from all threads.
Definition:
IOStats.cxx:34
CP::IOStatsAlg::finalize
virtual StatusCode finalize() override
Definition:
IOStatsAlg.cxx:14
Generated on Thu Nov 7 2024 21:17:16 for ATLAS Offline Software by
1.8.18