#ifndef __JAANET_JEVTWEIGHTSUPPORTKIT__ #define __JAANET_JEVTWEIGHTSUPPORTKIT__ #include "JLang/JUUID.hh" /** * \author bjjung */ namespace JAANET {} namespace JPP { using namespace JAANET; } namespace JAANET { using JLANG::JUUID; /** * Auxiliary data structure for storing pairs of header UUIDs and event-weight normalisations. */ struct JEvtWeightNormalisation { /** * Default constructor. */ JEvtWeightNormalisation() : UUID(), normalisation() {} /** * Constructor. * * \param UUID header UUID * \param normalisation event-weight normalisation */ JEvtWeightNormalisation(const JUUID& UUID, const double normalisation) : UUID(UUID), normalisation(normalisation) {} JUUID UUID; //!< header UUID double normalisation; //!< event-weight normalisation }; } #endif