HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
DecayChannelProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 
6 
9 class DecayChannelProducer: public ProducerBase<HttTypes> {
10 public:
11 
12  virtual std::string GetProducerId() const override {
13  return "DecayChannelProducer";
14  }
15 
16  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
17 
18  virtual void Produce(event_type const& event, product_type& product,
19  setting_type const& settings, metadata_type const& metadata) const override;
20 
21 protected:
23 
24  void FillGenLeptonCollections(product_type& product) const;
25 };
26 
27 
32 public:
33 
34  virtual std::string GetProducerId() const override {
35  return "TTHDecayChannelProducer";
36  }
37 
38  virtual void Produce(event_type const& event, product_type& product,
39  setting_type const& settings, metadata_type const& metadata) const override;
40 };
41 
43 public:
44  virtual std::string GetProducerId() const override {
45  return "Run2DecayChannelProducer";
46  }
47 
48  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
49 
50  virtual void Produce(event_type const& event, product_type& product,
51  setting_type const& settings, metadata_type const& metadata) const override;
52 };
53 
HttEnumTypes::DecayChannel m_decayChannel
Definition: DecayChannelProducer.h:22
virtual std::string GetProducerId() const override
Definition: DecayChannelProducer.h:34
void FillGenLeptonCollections(product_type &product) const
Definition: DecayChannelProducer.cc:912
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: DecayChannelProducer.cc:949
Definition: DecayChannelProducer.h:42
virtual std::string GetProducerId() const override
Definition: DecayChannelProducer.h:12
Definition: DecayChannelProducer.h:31
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: DecayChannelProducer.cc:1024
Definition: DecayChannelProducer.h:9
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: DecayChannelProducer.cc:17
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: DecayChannelProducer.cc:1040
DecayChannel
Definition: HttEnumTypes.h:16
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: DecayChannelProducer.cc:802
virtual std::string GetProducerId() const override
Definition: DecayChannelProducer.h:44