ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12G4WorkerRunManager* G4AtlasUserWorkerThreadInitialization::
13CreateWorkerRunManager() 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