HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
BTagEffConsumer.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <TH1.h>
5 #include <TH2.h>
6 #include "TROOT.h"
7 
8 #include "Artus/Core/interface/ConsumerBase.h"
9 #include "Artus/Utility/interface/RootFileHelper.h"
10 
11 #include "HiggsAnalysis/KITHiggsToTauTau/interface/HttTypes.h"
12 
13 class BTagEffConsumer : public ConsumerBase<HttTypes> {
14 public:
15 
16  virtual std::string GetConsumerId() const override;
17  virtual void Init(setting_type const& settings, metadata_type& metadata) override;
18  virtual void ProcessFilteredEvent(event_type const& event, product_type const& product, setting_type const& settings, metadata_type const& metadata) override;
19  virtual void Finish(setting_type const& settings, metadata_type const& metadata) override;
20 
21 private:
22  TH2D* m_BTaggingEff_Denom_b;
23  TH2D* m_BTaggingEff_Denom_c;
24  TH2D* m_BTaggingEff_Denom_udsg;
25  TH2D* m_BTaggingEff_Num_b;
26  TH2D* m_BTaggingEff_Num_c;
27  TH2D* m_BTaggingEff_Num_udsg;
28  TH2D* m_BTaggingEff_Denom_undef;
29  TH2D* m_BTaggingEff_Num_undef;
30 };
virtual void ProcessFilteredEvent(event_type const &event, product_type const &product, setting_type const &settings, metadata_type const &metadata) override
Definition: BTagEffConsumer.cc:34
virtual std::string GetConsumerId() const override
Definition: BTagEffConsumer.cc:85
virtual void Init(setting_type const &settings, metadata_type &metadata) override
Definition: BTagEffConsumer.cc:6
Definition: BTagEffConsumer.h:13
virtual void Finish(setting_type const &settings, metadata_type const &metadata) override
Definition: BTagEffConsumer.cc:72