#include "Monopole/MonopolePhysicsTool.h"
- Author
- Edoardo Farina
- Date
- 14-05-2015
Definition at line 20 of file MonopolePhysicsTool.h.
◆ MonopolePhysicsTool()
MonopolePhysicsTool::MonopolePhysicsTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~MonopolePhysicsTool()
MonopolePhysicsTool::~MonopolePhysicsTool |
( |
| ) |
|
|
virtual |
◆ ConstructParticle()
void MonopolePhysicsTool::ConstructParticle |
( |
| ) |
|
|
finaloverridevirtual |
◆ ConstructProcess()
void MonopolePhysicsTool::ConstructProcess |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 74 of file MonopolePhysicsTool.cxx.
87 G4ProcessManager* pmanager =
particle->GetProcessManager();
89 G4double magnCharge =
particle->MagneticCharge();
92 pmanager->RemoveProcess(0);
95 if (magnCharge != 0.0){
96 pmanager->AddProcess(
new G4mplAtlasIonisation(magnCharge, G4String(
"mplAtlasIonisation")), -1, 1, 1);
101 if(
particle->GetPDGCharge() != 0.0) {
102 pmanager->AddProcess(
new G4hIonisation(), -1, 2, 2);
104 pmanager->DumpInfo();
◆ GetPhysicsOption()
◆ initialize()
StatusCode MonopolePhysicsTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
The documentation for this class was generated from the following files:
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses