#include <QuirkPhysicsTool.h>
Definition at line 34 of file QuirkPhysicsTool.h.
◆ PhysicsConstructor()
QuirksPhysicsTool::PhysicsConstructor::PhysicsConstructor |
( |
const std::string & |
name, |
|
|
MSG::Level |
level, |
|
|
G4double |
mass, |
|
|
G4double |
charge, |
|
|
G4int |
pdgid, |
|
|
G4double |
stringForce, |
|
|
G4double |
firstStringLength, |
|
|
G4double |
maxBoost, |
|
|
G4double |
maxMergeT, |
|
|
G4double |
maxMergeMag |
|
) |
| |
|
inline |
◆ ConstructParticle()
void QuirksPhysicsTool::PhysicsConstructor::ConstructParticle |
( |
| ) |
|
|
overridevirtual |
◆ ConstructProcess()
void QuirksPhysicsTool::PhysicsConstructor::ConstructProcess |
( |
| ) |
|
|
overridevirtual |
Definition at line 125 of file QuirkPhysicsTool.cxx.
131 G4ProcessManager* pmanager =
particle->GetProcessManager();
136 while (pmanager->GetProcessListLength() != 0) pmanager->RemoveProcess(0);
138 pmanager->AddProcess(aTransportation);
139 pmanager->SetProcessOrderingToFirst(aTransportation, idxAlongStep);
140 pmanager->SetProcessOrderingToFirst(aTransportation, idxPostStep);
141 pmanager->AddProcess(
new G4hMultipleScattering,-1, 1, 1);
142 pmanager->AddProcess(
new G4hIonisation, -1, 2, 2);
143 pmanager->AddProcess(
new G4hBremsstrahlung, -1, 3, 3);
144 pmanager->AddProcess(
new G4hPairProduction, -1, 4, 4);
153 G4RunManager* runManager = G4RunManager::GetRunManager();
154 runManager->SetNumberOfAdditionalWaitingStacks(1);
155 G4UserStackingAction* defaultStackingAction = G4EventManager::GetEventManager()->GetUserStackingAction();
156 ATH_MSG_WARNING(
"This tool is interfering with the normal G4Atlas workflow, by forcing a differentcustom StackingAction instead of the default one. This is acceptable only as a temporary solution, and should be fixed asap.");
◆ 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_charge
G4double QuirksPhysicsTool::PhysicsConstructor::m_charge |
|
private |
◆ m_firstStringLength
G4double QuirksPhysicsTool::PhysicsConstructor::m_firstStringLength |
|
private |
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_mass
G4double QuirksPhysicsTool::PhysicsConstructor::m_mass |
|
private |
◆ m_maxBoost
G4double QuirksPhysicsTool::PhysicsConstructor::m_maxBoost |
|
private |
◆ m_maxMergeMag
G4double QuirksPhysicsTool::PhysicsConstructor::m_maxMergeMag |
|
private |
◆ m_maxMergeT
G4double QuirksPhysicsTool::PhysicsConstructor::m_maxMergeT |
|
private |
◆ 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 |
◆ m_pdgid
G4int QuirksPhysicsTool::PhysicsConstructor::m_pdgid |
|
private |
◆ m_stringForce
G4double QuirksPhysicsTool::PhysicsConstructor::m_stringForce |
|
private |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses