5#ifndef RATESANALYSIS_PILEUPPROFILEWEIGHT_H
6#define RATESANALYSIS_PILEUPPROFILEWEIGHT_H 1
11#include "GaudiKernel/PropertyHolder.h"
13#include <nlohmann/json.hpp>
21 using extends::extends;
24 virtual StatusCode
getValue(
double& value)
const override;
27 Gaudi::Property<std::string>
m_weightsFile {
this,
"WeightsFile",
"",
"Path to the weights file"};
This class provides the weight used to reweight pileup (mu) distribution by querying JSON.
Gaudi::Property< std::string > m_weightsFile
nlohmann::json m_weightsMap
virtual StatusCode initialize() override
virtual StatusCode getValue(double &value) const override