Commit 383b8e0b authored by Warren's avatar Warren
Browse files

TACTIC: Removed repertition of data when using scat reaction

parent 04df85d3
Pipeline #107373 passed with stages
in 15 minutes and 20 seconds
......@@ -404,11 +404,12 @@ void TACTIC::InitializeScorers() {
*/
LightFilter->addIon(m_Reaction.GetParticle3()->GetZ(),m_Reaction.GetParticle3()->GetA());
HeavyFilter->addIon(m_Reaction.GetParticle4()->GetZ(),m_Reaction.GetParticle4()->GetA());
BeamFilter->addIon(m_Reaction.GetParticle1()->GetZ(),m_Reaction.GetParticle1()->GetA());
LightScorer->SetFilter(LightFilter);
HeavyScorer->SetFilter(HeavyFilter);
if(m_Reaction.GetParticle1()->GetZ() == m_Reaction.GetParticle4()->GetZ()) BeamFilter->add("geantino");
else BeamFilter->addIon(m_Reaction.GetParticle1()->GetZ(),m_Reaction.GetParticle1()->GetA());
BeamScorer->SetFilter(BeamFilter);
m_Scorer->RegisterPrimitive(LightScorer);
m_Scorer->RegisterPrimitive(HeavyScorer);
m_Scorer->RegisterPrimitive(BeamScorer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment