56 edm::LogVerbatim(
"SimG4CoreCustomPhysics") <<
"CustomPhysicsList: adding CustomPhysics processes " 57 <<
"for the list of particles";
59 G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
62 if (particle->GetParticleType() ==
"simp") {
63 G4ProcessManager* pmanager = particle->GetProcessManager();
67 theQGSPSIMPB->
Build(simpInelPr);
68 pmanager->AddDiscreteProcess(simpInelPr);
75 G4ProcessManager* pmanager = particle->GetProcessManager();
77 <<
"CustomPhysicsList: " << particle->GetParticleName() <<
" PDGcode= " << particle->GetPDGEncoding()
78 <<
" Mass= " << particle->GetPDGMass() / GeV <<
" GeV.";
80 if (particle->GetPDGCharge() != 0.0) {
81 ph->RegisterProcess(
new G4hMultipleScattering, particle);
82 ph->RegisterProcess(
new G4hIonisation, particle);
89 <<
"CustomPhysicsList: " << particle->GetParticleName()
90 <<
" CloudMass= " <<
cp->GetCloud()->GetPDGMass() / GeV
91 <<
" GeV; SpectatorMass= " <<
cp->GetSpectator()->GetPDGMass() / GeV <<
" GeV.";
98 if (particle->GetParticleType() ==
"darkpho") {
100 pmanager->AddDiscreteProcess(darkGamma);
Log< level::Info, true > LogVerbatim
void Build(CMSSIMPInelasticProcess *aP)
static bool s_isgluinoHadron(int pdg)
edm::ParameterSet myConfig
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
bool fHadronicInteraction
std::unique_ptr< CustomParticleFactory > fParticleFactory
static bool s_issbottomHadron(int pdg)
static bool s_isstopHadron(int pdg)