#include <CustomPhysicsListSS.h>
Definition at line 11 of file CustomPhysicsListSS.h.
◆ CustomPhysicsListSS()
CustomPhysicsListSS::CustomPhysicsListSS |
( |
const std::string & |
name, |
|
|
const edm::ParameterSet & |
p, |
|
|
bool |
useuni = false |
|
) |
| |
◆ ~CustomPhysicsListSS()
CustomPhysicsListSS::~CustomPhysicsListSS |
( |
| ) |
|
|
override |
◆ ConstructParticle()
void CustomPhysicsListSS::ConstructParticle |
( |
| ) |
|
|
override |
◆ ConstructProcess()
void CustomPhysicsListSS::ConstructProcess |
( |
| ) |
|
|
override |
Definition at line 51 of file CustomPhysicsListSS.cc.
52 edm::LogVerbatim(
"SimG4CoreCustomPhysicsSS") <<
"CustomPhysicsListSS: adding CustomPhysics processes";
54 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
59 G4ProcessManager* pmanager = particle->GetProcessManager();
61 <<
"CustomPhysicsListSS: " << particle->GetParticleName() <<
" PDGcode= " << particle->GetPDGEncoding()
62 <<
" Mass= " << particle->GetPDGMass() /
GeV <<
" GeV.";
64 if (particle->GetPDGCharge() != 0.0) {
65 ph->RegisterProcess(
new G4CoulombScattering, particle);
66 ph->RegisterProcess(
new G4hIonisation, particle);
70 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
71 <<
" CloudMass= " <<
cp->GetCloud()->GetPDGMass() /
GeV
72 <<
" GeV; SpectatorMass= " <<
cp->GetSpectator()->GetPDGMass() /
GeV <<
" GeV.";
79 if (particle->GetParticleType() ==
"darkpho") {
81 pmanager->AddDiscreteProcess(darkGamma);
References CommonMethods::cp(), dfactor, fHadronicInteraction, fParticleFactory, GeV, myConfig, myHelper, and CustomPDGParser::s_isRHadron().
◆ dfactor
double CustomPhysicsListSS::dfactor |
|
private |
◆ fHadronicInteraction
bool CustomPhysicsListSS::fHadronicInteraction |
|
private |
◆ fParticleFactory
◆ myConfig
◆ myHelper
G4ThreadLocal std::unique_ptr< G4ProcessHelper > CustomPhysicsListSS::myHelper |
|
staticprivate |
◆ particleDefFilePath
std::string CustomPhysicsListSS::particleDefFilePath |
|
private |
◆ processDefFilePath
std::string CustomPhysicsListSS::processDefFilePath |
|
private |