HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
MadGraphReweightingProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 #include "CMSAachen3B/MadGraphReweighting/interface/MadGraphTools.h"
6 
7 
8 class MadGraphReweightingProducer: public ProducerBase<HttTypes>
9 {
10 public:
11 
12  virtual std::string GetProducerId() const override;
13 
14  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
15 
16  virtual void Produce(event_type const& event, product_type& product,
17  setting_type const& settings, metadata_type const& metadata) const override;
18 
19 private:
20  std::map<std::string, std::vector<std::string> > m_madGraphProcessDirectoriesByName;
21  std::map<std::string, std::map<int, MadGraphTools*> > m_madGraphTools;
22  TDatabasePDG* m_databasePDG = nullptr;
23 
24  //std::map<int, MadGraphTools*> m_madGraphTools;
25 
26  static int GetMixingAngleKey(float mixingAngleOverPiHalf);
27  static std::string GetLabelForWeightsMap(float mixingAngleOverPiHalf);
28 };
Definition: MadGraphReweightingProducer.h:8
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: MadGraphReweightingProducer.cc:145
virtual std::string GetProducerId() const override
Definition: MadGraphReweightingProducer.cc:18
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: MadGraphReweightingProducer.cc:23