ATLAS Offline Software
Simulation
G4Atlas
G4AtlasAlg
src
G4AtlasUserWorkerThreadInitialization.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Hide multi-threading classes from builds without G4MT
6
#include "G4Types.hh"
7
#ifdef G4MULTITHREADED
8
9
#include "
G4AtlasAlg/G4AtlasUserWorkerThreadInitialization.h
"
10
#include "
G4AtlasAlg/G4AtlasWorkerRunManager.h
"
11
12
G4WorkerRunManager* G4AtlasUserWorkerThreadInitialization::
13
CreateWorkerRunManager()
const
14
{
15
// TODO: maybe better to just use the pseudo-singleton mechanism
16
auto
* workerRunManager = G4AtlasWorkerRunManager::GetG4AtlasWorkerRunManager();
17
workerRunManager->SetQuietMode(m_quietMode);
18
return
workerRunManager;
19
}
20
21
#endif // G4MULTITHREADED
G4AtlasUserWorkerThreadInitialization.h
G4AtlasWorkerRunManager.h
Generated on Mon Sep 29 2025 21:10:37 for ATLAS Offline Software by
1.8.18