HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ZPtReweightProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <TH2.h>
5 #include "Artus/Core/interface/ProducerBase.h"
6 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
7 #include <boost/regex.hpp>
8 
16 class ZPtReweightProducer: public ProducerBase<HttTypes> {
17 public:
18 
19  virtual ~ZPtReweightProducer();
20 
21  std::string GetProducerId() const;
22 
23  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
24 
25  virtual void Produce(event_type const& event, product_type & product,
26  setting_type const& settings, metadata_type const& metadata) const override;
27 private:
28  TH2D* m_zPtHist = nullptr;
29  bool m_applyReweighting;
30 };
virtual ~ZPtReweightProducer()
Definition: ZPtReweightProducer.cc:5
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: ZPtReweightProducer.cc:30
ZPtReweightProducer Config tags:
Definition: ZPtReweightProducer.h:16
std::string GetProducerId() const
Definition: ZPtReweightProducer.cc:13
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: ZPtReweightProducer.cc:18