 |
Belle II Software
release-05-02-19
|
15 #include <framework/core/Module.h>
28 class EventKinematicsModule :
public Module {
47 virtual void event()
override;
50 virtual void endRun()
override;
std::vector< std::string > m_particleLists
Name of the ParticleList.
std::vector< TLorentzVector > m_particleMomentumList
A vector of the particles' 4-momenta in lab.
virtual void beginRun() override
Define run parameters.
std::vector< TLorentzVector > m_particleMomentumListCMS
A vector of the particles' 4-momenta in the CMS.
float getVisibleEnergyCMS()
Calculate the visible energy in the CMS for this event.
EventKinematicsModule()
Constructor: Sets the description, the properties and the parameters of the module.
float getTotalPhotonsEnergy()
Calculate the energy for the photons in this event.
std::vector< TLorentzVector > m_photonsMomentumList
A vector of the photons' 4-momenta in the lab.
void getParticleMomentumLists(std::vector< std::string > particleLists)
Fill the lists of particles' momenta.
Abstract base class for different kinds of events.
virtual void terminate() override
finish the execution
virtual void event() override
Define event parameters.
TVector3 getMissingMomentum()
Calculate the missing momentum in the lab system for this event.
virtual void endRun() override
Finish the run.
TVector3 getMissingMomentumCMS()
Calculate the missing momentum in the CMS for this event.
float getMissingEnergyCMS()
Calculate the missing energy in the CMS for this event.
virtual ~EventKinematicsModule()
free memory
virtual void initialize() override
Define the physical parameters.