48 <<
"CustomPhysicsListSS: adding CustomPhysics processes";
51 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
53 aParticleIterator->reset();
54 G4ParticleDefinition* particle;
56 while((*aParticleIterator)()) {
57 particle = aParticleIterator->value();
60 G4ProcessManager* pmanager = particle->GetProcessManager();
62 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
63 <<
" PDGcode= " << particle->GetPDGEncoding()
64 <<
" Mass= " << particle->GetPDGMass()/
GeV <<
" GeV.";
66 if(particle->GetPDGCharge() != 0.0) {
67 ph->RegisterProcess(
new G4hMultipleScattering, particle);
68 ph->RegisterProcess(
new G4hIonisation, particle);
76 <<
"CustomPhysicsListSS: " << particle->GetParticleName()
78 <<
" GeV; SpectatorMass= " << cp->
GetSpectator()->GetPDGMass()/
GeV <<
" GeV.";
81 pmanager->AddDiscreteProcess(
new FullModelHadronicProcess(
myHelper));
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)