Computes k factor for gluon fusion production. More...
#include <KFactorCorrection.h>
Public Member Functions | |
KFactorCorrection (Dataset &dataset, Options const &options) | |
double | HiggsMass () const |
Computes mass of generator-level Higgs boson. | |
virtual double | NominalWeight () const override |
Computes and returns the k factor for the current event. | |
Private Attributes | |
bool | enabled_ |
std::unique_ptr< TGraph > | kfactorGraph_ |
The k factor as a function of the mass of the Higgs boson. | |
TTreeReaderArray< float > | genPartPt_ |
TTreeReaderArray< float > | genPartEta_ |
TTreeReaderArray< float > | genPartPhi_ |
TTreeReaderArray< float > | genPartMass_ |
TTreeReaderArray< int > | genPartStatus_ |
TTreeReaderArray< int > | genPartStatusFlags_ |
Computes k factor for gluon fusion production.
The k factor is computed if the per-dataset configuration contains parameter "k_factor" and its value is "ggF". Otherwise a weight of 1 is returned for every event.
double KFactorCorrection::HiggsMass | ( | ) | const |
Computes mass of generator-level Higgs boson.
The Higgs boson is reconstructed from generarol-level leptons.
virtual double KFactorCorrection::NominalWeight | ( | ) | const [override, virtual] |
Computes and returns the k factor for the current event.
The k factor is 1. if the correction is disabled.
Implements WeightBase.