11#include <framework/core/Module.h>
49 void event()
override;
Class for accessing objects in the database.
Class for handling LookUp tables.
Class to store reconstructed particles.
std::vector< std::string > m_ParticleLists
input particle lists
void initialize() override
Initializes the modules and checks the validity of the input parameters.
void event() override
Function to be executed at each event.
std::string m_scalingFactorName
Name of the scale factor from table.
std::string m_payloadName
Name of the table.
std::unique_ptr< DBObjPtr< ParticleWeightingLookUpTable > > m_ParticleWeightingLookUpTable
Pointer to the table in DB.
void setMomentumScalingFactor(Particle *particle)
function to set momentum scaling factor
void beginRun() override
Function to be executed at each beginning of a run.
TrackingMomentumScaleFactorsModule()
Constructor: Sets the description, the properties and the parameters of the module.
double m_scale
input momentum scale modifier
double getSmearingFactor(Particle *particle)
Returns the needed smearing factor for particle based on payloadName and smearingFactorName.
std::string m_smearingFactorName
Name of the smear factor from table.
double getScalingFactor(Particle *particle)
Returns the needed scale factor for particle based on payloadName and scalingFactorName.
void setMomentumSmearingFactor(Particle *particle)
function to set momentum scaling factor
Abstract base class for different kinds of events.