Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 3d466f4d authored by ext-calvo_p's avatar ext-calvo_p
Browse files

remove unused CCollimator parmatint type

parent 5ae130c2
No related branches found
No related tags found
1 merge request!466Resolve "Verifying particle matter interaction type"
...@@ -126,9 +126,7 @@ void ParticleMatterInteraction::initParticleMatterInteractionHandler(ElementBase ...@@ -126,9 +126,7 @@ void ParticleMatterInteraction::initParticleMatterInteractionHandler(ElementBase
if (type.empty()) { if (type.empty()) {
throw OpalException("ParticleMatterInteraction::initParticleMatterInteractionHandler", throw OpalException("ParticleMatterInteraction::initParticleMatterInteractionHandler",
"TYPE is not defined for PARTICLEMATTERINTERACTION"); "TYPE is not defined for PARTICLEMATTERINTERACTION");
} else if (type == "CCOLLIMATOR" || } else if (type == "COLLIMATOR" || type == "DEGRADER") {
type == "COLLIMATOR" ||
type == "DEGRADER") {
handler_m = new CollimatorPhysics(getOpalName(), &element, material, enableRutherford); handler_m = new CollimatorPhysics(getOpalName(), &element, material, enableRutherford);
*gmsg << *this << endl; *gmsg << *this << endl;
} else if (type == "BEAMSTRIPPING") { } else if (type == "BEAMSTRIPPING") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment