4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttEnumTypes.h"
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/Utility/SvfitTools.h"
11 #include "ZZMatrixElement/MELA/interface/Mela.h"
20 SvfitResults product_type::*m_svfitResultsMember=&product_type::m_svfitResults,
22 float product_type::*m_melaProbCPEvenGGHMember = &product_type::m_melaProbCPEvenGGH,
23 float product_type::*m_melaProbCPOddGGHMember = &product_type::m_melaProbCPOddGGH,
24 float product_type::*m_melaProbCPMixGGHMember = &product_type::m_melaProbCPMixGGH,
25 float product_type::*m_melaDiscriminatorD0MinusGGHMember = &product_type::m_melaDiscriminatorD0MinusGGH,
26 float product_type::*m_melaDiscriminatorDCPGGHMember = &product_type::m_melaDiscriminatorDCPGGH,
28 float product_type::*m_melaProbCPEvenVBFMember = &product_type::m_melaProbCPEvenVBF,
29 float product_type::*m_melaProbCPOddVBFMember = &product_type::m_melaProbCPOddVBF,
30 float product_type::*m_melaProbCPMixVBFMember = &product_type::m_melaProbCPMixVBF,
31 float product_type::*m_melaDiscriminatorD0MinusVBFMember = &product_type::m_melaDiscriminatorD0MinusVBF,
32 float product_type::*m_melaDiscriminatorDCPVBFMember = &product_type::m_melaDiscriminatorDCPVBF
63 virtual void Init(setting_type
const& settings, metadata_type& metadata)
override;
65 virtual void Produce(event_type
const& event, product_type& product,
66 setting_type
const& settings, metadata_type
const& metadata)
const override;
70 std::string m_name =
"";
73 float product_type::*m_melaProbCPEvenGGHMember;
74 float product_type::*m_melaProbCPOddGGHMember;
75 float product_type::*m_melaProbCPMixGGHMember;
76 float product_type::*m_melaDiscriminatorD0MinusGGHMember;
77 float product_type::*m_melaDiscriminatorDCPGGHMember;
79 float product_type::*m_melaProbCPEvenVBFMember;
80 float product_type::*m_melaProbCPOddVBFMember;
81 float product_type::*m_melaProbCPMixVBFMember;
82 float product_type::*m_melaDiscriminatorD0MinusVBFMember;
83 float product_type::*m_melaDiscriminatorDCPVBFMember;
111 std::unique_ptr<Mela> m_mela;
113 void CalculateProbabilitiesGGH(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
114 void CalculateProbabilitiesVBF(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
115 void CalculateProbabilitiesWlepH(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
116 void CalculateProbabilitiesWhadH(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
117 void CalculateProbabilitiesZlepH(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
118 void CalculateProbabilitiesZhadH(
float& probCPEven,
float& probCPOdd,
float& probCPMix)
const;
120 void CalculateDiscriminators(
float probCPEven,
float probCPOdd,
float probCPMix,
121 float& discriminatorD0Minus,
float& discriminatorDCP)
const;
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: MELAProducers.cc:239
tuple name
Definition: correlation_SampleProducer.py:359
virtual std::string GetProducerId() const override
Definition: MELAProducers.cc:463
Definition: MELAProducers.h:126
MELAProducer(std::string name="", SvfitResults product_type::*m_svfitResultsMember=&product_type::m_svfitResults, float product_type::*m_melaProbCPEvenGGHMember=&product_type::m_melaProbCPEvenGGH, float product_type::*m_melaProbCPOddGGHMember=&product_type::m_melaProbCPOddGGH, float product_type::*m_melaProbCPMixGGHMember=&product_type::m_melaProbCPMixGGH, float product_type::*m_melaDiscriminatorD0MinusGGHMember=&product_type::m_melaDiscriminatorD0MinusGGH, float product_type::*m_melaDiscriminatorDCPGGHMember=&product_type::m_melaDiscriminatorDCPGGH, float product_type::*m_melaProbCPEvenVBFMember=&product_type::m_melaProbCPEvenVBF, float product_type::*m_melaProbCPOddVBFMember=&product_type::m_melaProbCPOddVBF, float product_type::*m_melaProbCPMixVBFMember=&product_type::m_melaProbCPMixVBF, float product_type::*m_melaDiscriminatorD0MinusVBFMember=&product_type::m_melaDiscriminatorD0MinusVBF, float product_type::*m_melaDiscriminatorDCPVBFMember=&product_type::m_melaDiscriminatorDCPVBF)
Definition: MELAProducers.cc:9
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MELAProducers.cc:100
Definition: SvfitTools.h:145
virtual std::string GetProducerId() const override
Definition: MELAProducers.cc:95
MELAM125Producer()
Definition: MELAProducers.cc:416
Definition: MELAProducers.h:14