#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 53 of file CustomPhysicsListSS.cc.
54 edm::LogVerbatim(
"SimG4CoreCustomPhysicsSS") <<
"CustomPhysicsListSS: adding CustomPhysics processes";
56 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
61 G4ProcessManager* pmanager = particle->GetProcessManager();
63 <<
"CustomPhysicsListSS: " << particle->GetParticleName() <<
" PDGcode= " << particle->GetPDGEncoding()
64 <<
" Mass= " << particle->GetPDGMass() /
GeV <<
" GeV.";
66 if (particle->GetPDGCharge() != 0.0) {
67 ph->RegisterProcess(
new G4CoulombScattering, particle);
68 ph->RegisterProcess(
new G4hIonisation, particle);
72 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
73 <<
" CloudMass= " <<
cp->GetCloud()->GetPDGMass() /
GeV
74 <<
" GeV; SpectatorMass= " <<
cp->GetSpectator()->GetPDGMass() /
GeV <<
" GeV.";
81 if (particle->GetParticleType() ==
"darkpho") {
83 pmanager->AddDiscreteProcess(darkGamma);
References 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 |