HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
DiJetQuantitiesProducer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
5 
6 
7 class DiJetQuantitiesProducer: public ProducerBase<HttTypes> {
8 public:
9 
10  typedef std::function<double(RMDLV const&)> dijet_extractor_lambda;
11 
12  static double GetDiJetQuantity(product_type const& product,
13  dijet_extractor_lambda dijetQuantity);
14 
15  virtual std::string GetProducerId() const override {
16  return "DiJetQuantitiesProducer";
17  }
18 
19  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
20 
21  virtual void Produce(event_type const& event, product_type& product,
22  setting_type const& settings, metadata_type const& metadata) const override;
23 };
24 
static double GetDiJetQuantity(product_type const &product, dijet_extractor_lambda dijetQuantity)
Definition: DiJetQuantitiesProducer.cc:8
virtual void Produce(event_type const &event, product_type &product, setting_type const &settings, metadata_type const &metadata) const override
Definition: DiJetQuantitiesProducer.cc:67
virtual std::string GetProducerId() const override
Definition: DiJetQuantitiesProducer.h:15
std::function< double(RMDLV const &)> dijet_extractor_lambda
Definition: DiJetQuantitiesProducer.h:10
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: DiJetQuantitiesProducer.cc:14
Definition: DiJetQuantitiesProducer.h:7