52 <<
"CustomPhysicsListSS: adding CustomPhysics processes";
56 aParticleIterator->reset();
58 while((*aParticleIterator)()) {
59 G4ParticleDefinition* particle = aParticleIterator->value();
62 G4ProcessManager* pmanager = particle->GetProcessManager();
64 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
65 <<
" PDGcode= " << particle->GetPDGEncoding()
66 <<
" Mass= " << particle->GetPDGMass()/
GeV <<
" GeV.";
68 if(particle->GetPDGCharge()/eplus != 0) {
69 pmanager->AddProcess(
new G4CoulombScattering, -1,-1, 1);
70 pmanager->AddProcess(
new G4hIonisation, -1, 1, 2);
73 pmanager->AddProcess(
new G4Decay, 0, -1, 3);
78 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
80 <<
" GeV; SpectatorMass= " << cp->
GetSpectator()->GetPDGMass()/
GeV <<
" GeV.";
83 pmanager->AddDiscreteProcess(
new FullModelHadronicProcess(
myHelper));
static G4ThreadLocal bool fInitialized
G4ParticleDefinition * GetCloud()
static G4ThreadLocal G4ProcessHelper * myHelper
static G4ThreadLocal G4Decay * fDecayProcess
bool fHadronicInteraction
G4ParticleDefinition * GetSpectator()
edm::ParameterSet myConfig
static bool s_isRHadron(int pdg)
static bool isCustomParticle(G4ParticleDefinition *particle)