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);
75 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
76 <<
" CloudMass= " <<
cp->GetCloud()->GetPDGMass() / GeV
77 <<
" GeV; SpectatorMass= " <<
cp->GetSpectator()->GetPDGMass() / GeV <<
" GeV.";
84 if (particle->GetParticleType() ==
"darkpho") {
86 pmanager->AddDiscreteProcess(darkGamma);
Log< level::Info, true > LogVerbatim
std::unique_ptr< CustomParticleFactory > fParticleFactory
static bool s_isgluinoHadron(int pdg)
bool fHadronicInteraction
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
edm::ParameterSet myConfig
static bool s_issbottomHadron(int pdg)
static bool s_isstopHadron(int pdg)