51 <<
"CustomPhysicsList: adding CustomPhysics processes " 52 <<
"for the list of particles";
54 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
59 G4ProcessManager* pmanager = particle->GetProcessManager();
61 <<
"CustomPhysicsList: " << particle->GetParticleName()
62 <<
" 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);
72 <<
"CustomPhysicsList: " << particle->GetParticleName()
74 <<
" GeV; SpectatorMass= " << cp->
GetSpectator()->GetPDGMass()/
GeV<<
" GeV.";
77 pmanager->AddDiscreteProcess(
new FullModelHadronicProcess(
myHelper.get()));
79 if(particle->GetParticleType()==
"darkpho"){
80 CMSDarkPairProductionProcess * darkGamma =
new CMSDarkPairProductionProcess(
dfactor);
81 pmanager->AddDiscreteProcess(darkGamma);
edm::ParameterSet myConfig
G4ParticleDefinition * GetCloud()
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
bool fHadronicInteraction
G4ParticleDefinition * GetSpectator()
static bool s_isRHadron(int pdg)
std::unique_ptr< CustomParticleFactory > fParticleFactory