52 edm::LogVerbatim(
"SimG4CoreCustomPhysics") <<
"CustomPhysicsList: adding CustomPhysics processes " 53 <<
"for the list of particles";
55 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
60 G4ProcessManager* pmanager = particle->GetProcessManager();
62 <<
"CustomPhysicsList: " << particle->GetParticleName() <<
" PDGcode= " << particle->GetPDGEncoding()
63 <<
" Mass= " << particle->GetPDGMass() /
GeV <<
" GeV.";
65 if (particle->GetPDGCharge() != 0.0) {
66 ph->RegisterProcess(
new G4hMultipleScattering, particle);
67 ph->RegisterProcess(
new G4hIonisation, particle);
74 <<
"CustomPhysicsList: " << particle->GetParticleName()
75 <<
" CloudMass= " << cp->
GetCloud()->GetPDGMass() /
GeV 76 <<
" GeV; SpectatorMass= " << cp->
GetSpectator()->GetPDGMass() /
GeV <<
" GeV.";
83 if (particle->GetParticleType() ==
"darkpho") {
85 pmanager->AddDiscreteProcess(darkGamma);
static bool s_isgluinoHadron(int pdg)
edm::ParameterSet myConfig
G4ParticleDefinition * GetCloud()
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
bool fHadronicInteraction
G4ParticleDefinition * GetSpectator()
std::unique_ptr< CustomParticleFactory > fParticleFactory
static bool s_issbottomHadron(int pdg)
static bool s_isstopHadron(int pdg)