46 ROOT::Math::XYZVector shift =
m_Initial.updateVertex();
47 if (shift == ROOT::Math::XYZVector(0, 0, 0))
return;
50 mcParticle.setProductionVertex(mcParticle.getProductionVertex() + shift);
52 if (mcParticle.getNDaughters() > 0)
53 mcParticle.setDecayVertex(mcParticle.getDecayVertex() + shift);
A Class to store the Monte Carlo particle information.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.