13 #include <framework/core/Module.h>
15 #include <analysis/dataobjects/EventKinematics.h>
17 #include <framework/datastore/StoreObjPtr.h>
46 virtual void event()
override;
Module to compute global quantities related to the event kinematics, like total missing energy and ma...
float getMissingEnergyCMS()
Calculate the missing energy in the CMS for this event.
EventKinematicsModule()
Constructor: Sets the description, the properties and the parameters of the module.
float getVisibleEnergyCMS()
Calculate the visible energy in the CMS for this event.
virtual void initialize() override
Define the physical parameters.
void getParticleMomentumLists(std::vector< std::string > particleLists)
Fill the lists of particles' momenta.
std::vector< TLorentzVector > m_particleMomentumListCMS
A vector of the particles' 4-momenta in the CMS.
virtual void event() override
Define event parameters.
bool m_usingMC
Is from MC.
TVector3 getMissingMomentum()
Calculate the missing momentum in the lab system for this event.
virtual void terminate() override
finish the execution
float getTotalPhotonsEnergy()
Calculate the energy for the photons in this event.
StoreObjPtr< EventKinematics > m_eventKinematics
event kinematics object pointer
virtual ~EventKinematicsModule()
free memory
TVector3 getMissingMomentumCMS()
Calculate the missing momentum in the CMS for this event.
std::vector< TLorentzVector > m_particleMomentumList
A vector of the particles' 4-momenta in lab.
std::vector< std::string > m_particleLists
Name of the ParticleList.
std::vector< TLorentzVector > m_photonsMomentumList
A vector of the photons' 4-momenta in the lab.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.