ATLAS Offline Software
AlgorithmTimerModule.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 //
10 // includes
11 //
12 
14 
15 #include <EventLoop/ModuleData.h>
17 
18 //
19 // method implementations
20 //
21 
22 namespace EL
23 {
24  namespace Detail
25  {
28  {
29  for (auto& alg : data.m_algs)
30  alg.m_algorithm = std::make_unique<AlgorithmTimerWrapper>(std::move (alg.m_algorithm));
31  return StatusCode::SUCCESS;
32  }
33  }
34 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
SGout2dot.alg
alg
Definition: SGout2dot.py:243
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
AlgorithmTimerWrapper.h
AlgorithmTimerModule.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::AlgorithmTimerModule::firstInitialize
virtual StatusCode firstInitialize(ModuleData &data) override
action at the the very beginning of the worker job
Definition: AlgorithmTimerModule.cxx:27
ModuleData.h