50 <<
"CustomPhysicsList: adding CustomPhysics processes " 51 <<
"for the list of particles";
55 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
60 G4ProcessManager* pmanager = particle->GetProcessManager();
62 <<
"CustomPhysicsList: " << 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 <<
"CustomPhysicsList: " << particle->GetParticleName()
78 <<
" GeV; SpectatorMass= " << cp->
GetSpectator()->GetPDGMass()/
GeV<<
" GeV.";
81 pmanager->AddDiscreteProcess(
new FullModelHadronicProcess(
myHelper));
83 if(particle->GetParticleType()==
"darkpho"){
84 CMSDarkPairProductionProcess * darkGamma =
new CMSDarkPairProductionProcess(
dfactor);
85 pmanager->AddDiscreteProcess(darkGamma);
static G4ThreadLocal G4Decay * fDecayProcess
edm::ParameterSet myConfig
G4ParticleDefinition * GetCloud()
static G4ThreadLocal G4ProcessHelper * myHelper
bool fHadronicInteraction
G4ParticleDefinition * GetSpectator()
static bool s_isRHadron(int pdg)
static const std::vector< G4ParticleDefinition * > & GetCustomParticles()