19#include "BDSPhysicsMuonInelastic.hh"
21#include "G4AutoDelete.hh"
22#include "G4BaryonConstructor.hh"
23#include "G4BosonConstructor.hh"
24#include "G4IonConstructor.hh"
25#include "G4LeptonConstructor.hh"
26#include "G4MesonConstructor.hh"
27#include "G4MuonMinus.hh"
28#include "G4MuonNuclearProcess.hh"
29#include "G4MuonPlus.hh"
30#include "G4MuonVDNuclearModel.hh"
31#include "G4PhysicsListHelper.hh"
32#include "G4ShortLivedConstructor.hh"
35BDSPhysicsMuonInelastic::BDSPhysicsMuonInelastic():
36 G4VPhysicsConstructor(
"BDSPhysicsMuonInelastic")
39BDSPhysicsMuonInelastic::~BDSPhysicsMuonInelastic()
44 G4LeptonConstructor::ConstructParticle();
45 G4MesonConstructor::ConstructParticle();
46 G4BaryonConstructor::ConstructParticle();
47 G4BosonConstructor::ConstructParticle();
48 G4IonConstructor::ConstructParticle();
49 G4ShortLivedConstructor::ConstructParticle();
57 G4MuonNuclearProcess* muNucProcess =
new G4MuonNuclearProcess();
58 G4MuonVDNuclearModel* muNucModel =
new G4MuonVDNuclearModel();
59 muNucProcess->RegisterMe(muNucModel);
60 G4AutoDelete::Register(muNucProcess);
61 G4AutoDelete::Register(muNucModel);
63 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
64 ph->RegisterProcess(muNucProcess, G4MuonPlus::MuonPlus());
65 ph->RegisterProcess(muNucProcess, G4MuonMinus::MuonMinus());
virtual void ConstructProcess()
Construct and attach the process for muons.
virtual void ConstructParticle()
Construct all particles (could be produced from interaction).
G4bool Activated() const
Get whether this instance has been activated.
void SetActivated()
Flag this instance as activated for later querying.