HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
HttTriggerSettingsProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttEnumTypes.h"
6 
7 
16 class HttTriggerSettingsProducer: public ProducerBase<HttTypes> {
17 public:
18 
20 
21  virtual std::string GetProducerId() const override;
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 
28 private:
29  HttEnumTypes::DecayChannel m_decayChannel;
30 
31  std::map<size_t, std::vector<std::string> > m_electronTriggerFiltersByIndex;
32  std::map<size_t, std::vector<std::string> > m_muonTriggerFiltersByIndex;
33  std::map<size_t, std::vector<std::string> > m_tauTriggerFiltersByIndex;
34  std::map<size_t, std::vector<std::string> > m_jetTriggerFiltersByIndex;
35 
36  std::map<std::string, std::vector<std::string> > m_electronTriggerFiltersByHltName;
37  std::map<std::string, std::vector<std::string> > m_muonTriggerFiltersByHltName;
38  std::map<std::string, std::vector<std::string> > m_tauTriggerFiltersByHltName;
39  std::map<std::string, std::vector<std::string> > m_jetTriggerFiltersByHltName;
40 };
41 
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: HttTriggerSettingsProducer.cc:34
HttTriggerSettingsProducer()
Definition: HttTriggerSettingsProducer.cc:11
DecayChannel
Definition: HttEnumTypes.h:16
virtual std::string GetProducerId() const override
Definition: HttTriggerSettingsProducer.cc:17
Definition: HttTriggerSettingsProducer.h:16
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: HttTriggerSettingsProducer.cc:22