Kills Monopoles and QBalls with energy < 1 MeV.
More...
#include <G4LooperThresholdSet.h>
Kills Monopoles and QBalls with energy < 1 MeV.
Definition at line 17 of file G4LooperThresholdSet.h.
◆ LooperThresholdSet() [1/2]
G4UA::LooperThresholdSet::LooperThresholdSet |
( |
| ) |
|
◆ LooperThresholdSet() [2/2]
G4UA::LooperThresholdSet::LooperThresholdSet |
( |
const Config & |
config | ) |
|
◆ BeginOfRunAction() [1/2]
virtual void G4UA::LooperThresholdSet::BeginOfRunAction |
( |
const G4Run * |
| ) |
|
|
overridevirtual |
◆ BeginOfRunAction() [2/2]
void G4UA::LooperThresholdSet::BeginOfRunAction |
( |
const G4Run * |
aRun | ) |
|
|
overridevirtual |
◆ ChangeLooperParameters() [1/2]
void G4UA::LooperThresholdSet::ChangeLooperParameters |
( |
const G4ParticleDefinition * |
particleDef | ) |
|
|
private |
Definition at line 33 of file LooperThresholdSet.cxx.
35 if( particleDef ==
nullptr )
38 auto transport = transportPair.first;
39 auto coupledTransport = transportPair.second;
41 if( transport !=
nullptr )
44 ATH_MSG_INFO(
"Setting looper values of G4Transportation process...");
66 #if G4VERSION_NUMBER > 1049
67 transport->ReportLooperThresholds();
70 else if( coupledTransport !=
nullptr )
73 ATH_MSG_INFO(
"Setting looper values of G4CoupledTransportation process...");
95 #if G4VERSION_NUMBER > 1049
96 coupledTransport->ReportLooperThresholds();
◆ ChangeLooperParameters() [2/2]
void G4UA::LooperThresholdSet::ChangeLooperParameters |
( |
const G4ParticleDefinition * |
particleDef | ) |
|
|
private |
◆ findTransportation() [1/2]
std::pair< G4Transportation *, G4CoupledTransportation * > G4UA::LooperThresholdSet::findTransportation |
( |
const G4ParticleDefinition * |
particleDef | ) |
|
|
private |
Definition at line 102 of file LooperThresholdSet.cxx.
104 const auto *partPM = particleDef->GetProcessManager();
106 G4VProcess* partTransport = partPM->GetProcess(
"Transportation");
107 auto transport =
dynamic_cast<G4Transportation*
>(partTransport);
109 partTransport = partPM->GetProcess(
"CoupledTransportation");
110 auto coupledTransport=
111 dynamic_cast<G4CoupledTransportation*
>(partTransport);
113 return std::make_pair( transport, coupledTransport );
◆ findTransportation() [2/2]
std::pair<G4Transportation*, G4CoupledTransportation*> G4UA::LooperThresholdSet::findTransportation |
( |
const G4ParticleDefinition * |
particleDef, |
|
|
bool |
reportError |
|
) |
| |
|
private |
◆ initMessaging()
void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ msg() [1/2]
MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_config
Config G4UA::LooperThresholdSet::m_config |
|
private |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_nm
std::string AthMessaging::m_nm |
|
privateinherited |
The documentation for this class was generated from the following files: