This module replaces the momentum of the Particle in the target particle list by p(beam) - p(selected...
std::string m_decayStringDaughters
DecayString specifying the daughters used to update the momentum of the target particle.
virtual void initialize() override
Initialises the module.
virtual void event() override
Method called for each event.
ParticleMomentumUpdaterModule()
Constructor.
virtual void terminate() override
Write TTree to file, and close file if necessary.
DecayDescriptor m_pDDescriptorTarget
Decay descriptor of the target particles.
std::string m_particleList
name of input particle list.
DecayDescriptor m_pDDescriptorDaughters
Decay descriptor of the daughter particles.
std::string m_decayStringTarget
DecayString specifying the target Particle whose momentum will be updated.