12#include <framework/core/Module.h>
14#include <analysis/dbobjects/ParticleWeightingLookUpTable.h>
15#include <framework/database/DBObjPtr.h>
16#include <analysis/dataobjects/Particle.h>
17#include <analysis/DecayDescriptor/DecayDescriptor.h>
49 virtual void event()
override;
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Class to store reconstructed particles.
Adds Pi0Veto Efficiency Data/MC ratios To Particle List.
std::vector< std::string > m_ParticleLists
input particle lists
virtual void initialize() override
Initializes the module.
virtual void event() override
Function to be executed at each event.
std::string m_decayString
Decay string to select primary photon.
double m_threshold
Threshold of pi0 veto.
WeightInfo getInfo(const Particle *particle)
Get LookUp information for the particle.
std::string m_suffix
Suffix of extrainfo name.
std::unique_ptr< DBObjPtr< ParticleWeightingLookUpTable > > m_ParticleWeightingLookUpTable
Pointer to the table in DB.
DecayDescriptor m_decayDescriptor
decay descriptor which specifies the primary photon
std::string m_tableName
Table name of the payloads.
Pi0VetoEfficiencySystematicsModule()
Constructor: Sets the description, the properties and the parameters of the module.
void addPi0VetoEfficiencyRatios(Particle *B, const Particle *hardPhoton)
function to add appropriate data/mc ratio weight to a particle
std::string m_mode
Mode of pi0 veto.
std::map< std::string, double > WeightInfo
Weight information: a line from the weight lookup table.
Abstract base class for different kinds of events.