HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
PolarisationQuantitiesProducers.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 
6 #include <TLorentzVector.h>
7 
8 
11 class PolarisationQuantitiesProducerBase: public ProducerBase<HttTypes> {
12 public:
13 
15  std::string name,
16  std::map<KLepton*, RMFLV> product_type::*fittedTausMember,
17  std::map<KLepton*, float> product_type::*polarisationOmegasMember,
18  std::map<KLepton*, float> product_type::*polarisationOmegaBarsMember,
19  std::map<KLepton*, float> product_type::*polarisationOmegaVisiblesMember,
20  float product_type::*polarisationCombinedOmegaMember,
21  float product_type::*polarisationCombinedOmegaBarMember,
22  float product_type::*polarisationCombinedOmegaVisibleMember,
23  bool genMatched = false
24  );
25 
26  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
27 
28  virtual void Produce(event_type const& event, product_type& product,
29  setting_type const& settings, metadata_type const& metadata) const override;
30 
31 private:
32  std::string m_name;
33  std::map<KLepton*, RMFLV> product_type::*m_fittedTausMember;
34  std::map<KLepton*, float> product_type::*m_polarisationOmegasMember;
35  std::map<KLepton*, float> product_type::*m_polarisationOmegaBarsMember;
36  std::map<KLepton*, float> product_type::*m_polarisationOmegaVisiblesMember;
37  float product_type::*m_polarisationCombinedOmegaMember;
38  float product_type::*m_polarisationCombinedOmegaBarMember;
39  float product_type::*m_polarisationCombinedOmegaVisibleMember;
40  bool m_genMatched = false;
41 
42  std::vector<TLorentzVector> GetInputLepton(product_type& product, KLepton* lepton, bool genMatched=false) const;
43  std::vector<TLorentzVector> GetInputPion(product_type& product, KLepton* lepton, bool genMatched=false) const;
44  std::vector<TLorentzVector> GetInputRho(product_type& product, KLepton* lepton, bool genMatched=false) const;
45  std::vector<TLorentzVector> GetInputA1(product_type& product, KLepton* lepton, bool genMatched=false) const;
46 
47 };
48 
49 
51 public:
52 
54  virtual std::string GetProducerId() const override;
55 };
56 
57 
59 public:
60 
62  virtual std::string GetProducerId() const override;
63 };
64 
66 public:
67 
69  virtual std::string GetProducerId() const override;
70 };
71 
73 public:
74 
76  virtual std::string GetProducerId() const override;
77 };
78 
79 /*
80 class PolarisationQuantitiesHHKinFitProducer: public PolarisationQuantitiesProducerBase {
81 public:
82 
83  PolarisationQuantitiesHHKinFitProducer();
84  virtual std::string GetProducerId() const override;
85 };
86 */
GenMatchedPolarisationQuantitiesProducer()
Definition: PolarisationQuantitiesProducers.cc:347
Definition: PolarisationQuantitiesProducers.h:72
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: PolarisationQuantitiesProducers.cc:74
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: PolarisationQuantitiesProducers.cc:39
Definition: PolarisationQuantitiesProducers.h:11
virtual std::string GetProducerId() const override
Definition: PolarisationQuantitiesProducers.cc:425
PolarisationQuantitiesProducerBase(std::string name, std::map< KLepton *, RMFLV > product_type::*fittedTausMember, std::map< KLepton *, float > product_type::*polarisationOmegasMember, std::map< KLepton *, float > product_type::*polarisationOmegaBarsMember, std::map< KLepton *, float > product_type::*polarisationOmegaVisiblesMember, float product_type::*polarisationCombinedOmegaMember, float product_type::*polarisationCombinedOmegaBarMember, float product_type::*polarisationCombinedOmegaVisibleMember, bool genMatched=false)
Definition: PolarisationQuantitiesProducers.cc:16
virtual std::string GetProducerId() const override
Definition: PolarisationQuantitiesProducers.cc:383
tuple name
Definition: correlation_SampleProducer.py:359
PolarisationQuantitiesSvfitProducer()
Definition: PolarisationQuantitiesProducers.cc:368
PolarisationQuantitiesSimpleFitProducer()
Definition: PolarisationQuantitiesProducers.cc:410
virtual std::string GetProducerId() const override
Definition: PolarisationQuantitiesProducers.cc:404
virtual std::string GetProducerId() const override
Definition: PolarisationQuantitiesProducers.cc:362
PolarisationQuantitiesSvfitM91Producer()
Definition: PolarisationQuantitiesProducers.cc:389
Definition: PolarisationQuantitiesProducers.h:65
Definition: PolarisationQuantitiesProducers.h:50
Definition: PolarisationQuantitiesProducers.h:58