HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
SvfitProducers.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/Utility/SvfitTools.h"
6 
7 
10 class SvfitProducer: public ProducerBase<HttTypes> {
11 public:
12 
14  std::string name="",
15  float diTauMassConstraint=-1.0,
16  SvfitEventKey product_type::*svfitEventKeyMember=&product_type::m_svfitEventKey,
17  SvfitResults product_type::*svfitResultsMember=&product_type::m_svfitResults,
18  std::map<KLepton*, RMFLV> product_type::*svfitTausMember=&product_type::m_svfitTaus,
19  std::string (setting_type::*GetSvfitCacheFileMember)(void) const=&setting_type::GetSvfitCacheFile
20  );
21 
22  virtual std::string GetProducerId() const override;
23 
24  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
25 
26  virtual void Produce(event_type const& event, product_type& product,
27  setting_type const& settings, metadata_type const& metadata) const override;
28 
29 private:
30  std::string m_name = "";
31  float m_diTauMassConstraint = -1.0;
32  mutable SvfitEventKey product_type::*m_svfitEventKeyMember;
33  mutable SvfitResults product_type::*m_svfitResultsMember;
34  std::map<KLepton*, RMFLV> product_type::*m_svfitTausMember;
35  std::string (setting_type::*GetSvfitCacheFileMember)(void) const;
36 
37  HttEnumTypes::SvfitCacheMissBehaviour m_svfitCacheMissBehaviour;
38  mutable SvfitTools svfitTools;
39 
40 };
41 
42 
44 public:
45 
47 
48  virtual std::string GetProducerId() const override;
49 
50 };
51 
52 
54 public:
55 
57 
58  virtual std::string GetProducerId() const override;
59 
60 };
61 
SvfitCacheMissBehaviour
Definition: HttEnumTypes.h:92
Definition: SvfitProducers.h:10
virtual std::string GetProducerId() const override
Definition: SvfitProducers.cc:217
virtual std::string GetProducerId() const override
Definition: SvfitProducers.cc:198
tuple name
Definition: correlation_SampleProducer.py:359
Definition: SvfitProducers.h:43
Definition: SvfitProducers.h:53
SvfitProducer(std::string name="", float diTauMassConstraint=-1.0, SvfitEventKey product_type::*svfitEventKeyMember=&product_type::m_svfitEventKey, SvfitResults product_type::*svfitResultsMember=&product_type::m_svfitResults, std::map< KLepton *, RMFLV > product_type::*svfitTausMember=&product_type::m_svfitTaus, std::string(setting_type::*GetSvfitCacheFileMember)(void) const =&setting_type::GetSvfitCacheFile)
Definition: SvfitProducers.cc:16
virtual std::string GetProducerId() const override
Definition: SvfitProducers.cc:34
Definition: SvfitTools.h:66
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: SvfitProducers.cc:39
SvfitM125Producer()
Definition: SvfitProducers.cc:204
Definition: SvfitTools.h:186
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: SvfitProducers.cc:103
SvfitM91Producer()
Definition: SvfitProducers.cc:185
Definition: SvfitTools.h:145