11#include <framework/core/Module.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <analysis/dataobjects/ParticleList.h>
14#include <analysis/DecayDescriptor/DecayDescriptor.h>
37 void event()
override;
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Calculates 4-momentum of a neutral hadron in a given decay chain e.g.
bool m_allowAnyParticleSource
Whether allow the selected particle to be from any ParticleSource.
void initialize() override
Initialization.
void event() override
Action to perform for each event.
std::string m_decayString
Decay string for which one wants to perform the calculation.
int m_iNeutral
Index of the neutral hadron in the decay string.
NeutralHadron4MomentumCalculatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
DecayDescriptor m_decayDescriptor
Decay Descriptor to be initialized with m_decayString.
bool m_allowGamma
Whether allow the selected particle to be gamma.
StoreObjPtr< ParticleList > m_plist
ParticleList that one wants to perform the calculation.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.