HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
JetToTauFakesProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 #include "Artus/KappaAnalysis/interface/KappaProducerBase.h"
6 #include "HTTutilities/Jet2TauFakes/interface/FakeFactor.h"
7 #include <boost/regex.hpp>
8 
9 
10 #if ROOT_VERSION_CODE < ROOT_VERSION(6,0,0)
11 #include <TROOT.h>
12 #endif
13 
22 class JetToTauFakesProducer : public ProducerBase<HttTypes> {
23 public:
24 
25  virtual ~JetToTauFakesProducer();
26 
27  virtual std::string GetProducerId() const override;
28 
29  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
30 
31  void Produce(event_type const& event, product_type& product,
32  setting_type const& settings, metadata_type const& metadata) const override;
33 private:
34 
35  std::map<std::string,std::shared_ptr<FakeFactor>> m_ffComb;
36  bool m_applyFakeFactors;
37  bool m_isET;
38  bool m_isMT;
39  bool m_isTT;
40 };
virtual std::string GetProducerId() const override
Definition: JetToTauFakesProducer.cc:11
void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: JetToTauFakesProducer.cc:50
virtual ~JetToTauFakesProducer()
Definition: JetToTauFakesProducer.cc:7
JetToTauFakesProducer Config tags:
Definition: JetToTauFakesProducer.h:22
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: JetToTauFakesProducer.cc:16